Home
last modified time | relevance | path

Searched refs:RsaKey (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/km_openssl/
Drsa_key.cpp26 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
31 bool RsaKey::InternalToEvp(EVP_PKEY* pkey) const { in InternalToEvp()
35 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_padding_t padding) { in SupportedMode()
53 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest) { in SupportedMode()
Drsa_key_factory.cpp82 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(RSA_new()); in GenerateKey()
139 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(EVP_PKEY_get1_RSA(pkey.get())); in UpdateImportKeyDescription()
177 key->reset(new (std::nothrow) RsaKey(move(hw_enforced), move(sw_enforced), this)); in CreateEmptyKey()
Drsa_operation.cpp39 const RsaKey& rsa_key = static_cast<RsaKey&>(key); in GetRsaKey()
/system/keymaster/include/keymaster/km_openssl/
Drsa_key.h26 class RsaKey : public AsymmetricKey {
28 RsaKey(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, in RsaKey() function
45 RsaKey(RSA* rsa, AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, in RsaKey() function
/system/keymaster/include/keymaster/legacy_support/
Drsa_keymaster0_key.h60 class RsaKeymaster0Key : public RsaKey {
65 : RsaKey(rsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKeymaster0Key()
Drsa_keymaster1_key.h72 class RsaKeymaster1Key : public RsaKey {
77 : RsaKey(rsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKeymaster1Key()
/system/keymaster/ng/include/
Dauthorization_set.h243 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent);
267 inline AuthorizationSetBuilder& AuthorizationSetBuilder::RsaKey(uint32_t key_size, in RsaKey() function
294 RsaKey(key_size, public_exponent); in RsaSigningKey()
300 RsaKey(key_size, public_exponent); in RsaEncryptionKey()
/system/keymaster/include/keymaster/
Dauthorization_set.h525 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent);
566 inline AuthorizationSetBuilder& AuthorizationSetBuilder::RsaKey(uint32_t key_size, in RsaKey() function
598 RsaKey(key_size, public_exponent); in RsaSigningKey()
604 RsaKey(key_size, public_exponent); in RsaEncryptionKey()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp628 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaKey(256, 3).SigningKey().Digest( in TEST_P()