Home
last modified time | relevance | path

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

/system/keymaster/
Drsa_key.cpp27 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
32 bool RsaKey::InternalToEvp(EVP_PKEY* pkey) const { in InternalToEvp()
36 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.h26 class RsaKey : public AsymmetricKey {
28 RsaKey(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, in RsaKey() function
45 RsaKey(RSA* rsa, const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, in RsaKey() function
Drsa_keymaster0_key.h61 class RsaKeymaster0Key : public RsaKey {
65 : RsaKey(rsa_key, hw_enforced, sw_enforced, error) {} in RsaKeymaster0Key()
Drsa_keymaster1_key.h72 class RsaKeymaster1Key : public RsaKey {
76 : RsaKey(rsa_key, hw_enforced, sw_enforced, error) {} in RsaKeymaster1Key()
Drsa_key_factory.cpp78 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(RSA_new()); in GenerateKey()
135 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(EVP_PKEY_get1_RSA(pkey.get())); in UpdateImportKeyDescription()
174 key->reset(new (std::nothrow) RsaKey(hw_enforced, sw_enforced, &error)); in CreateEmptyKey()
Drsa_operation.cpp41 const RsaKey* rsa_key = static_cast<const RsaKey*>(&key); in GetRsaKey()
Dandroid_keymaster_test.cpp615 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaKey(256, 3).SigningKey().Digest( in TEST_P()
/system/keymaster/include/keymaster/
Dauthorization_set.h502 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent);
537 inline AuthorizationSetBuilder& AuthorizationSetBuilder::RsaKey(uint32_t key_size, in RsaKey() function
564 RsaKey(key_size, public_exponent); in RsaSigningKey()
570 RsaKey(key_size, public_exponent); in RsaEncryptionKey()