Searched refs:rsa_key (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/ |
D | rsa_key_factory.cpp | 84 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(RSA_new()); in GenerateKey() local 86 if (exponent.get() == NULL || rsa_key.get() == NULL || pkey.get() == NULL) in GenerateKey() 90 !RSA_generate_key_ex(rsa_key.get(), key_size, exponent.get(), NULL /* callback */)) in GenerateKey() 93 if (EVP_PKEY_set1_RSA(pkey.get(), rsa_key.get()) != 1) in GenerateKey() 141 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(EVP_PKEY_get1_RSA(pkey.get())); in UpdateImportKeyDescription() local 142 if (!rsa_key.get()) in UpdateImportKeyDescription() 147 *public_exponent = BN_get_word(rsa_key->e); in UpdateImportKeyDescription() 152 if (*public_exponent != BN_get_word(rsa_key->e)) { in UpdateImportKeyDescription() 154 *public_exponent, BN_get_word(rsa_key->e)); in UpdateImportKeyDescription() 158 *key_size = RSA_size(rsa_key.get()) * 8; in UpdateImportKeyDescription() [all …]
|
D | rsa_keymaster1_operation.cpp | 31 keymaster_error_t RsaKeymaster1WrappedOperation::Begin(EVP_PKEY* rsa_key, in Begin() argument 33 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in Begin() 77 RsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* rsa_key, in PrepareFinish() argument 79 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in PrepareFinish() 94 keymaster_error_t RsaKeymaster1WrappedOperation::GetError(EVP_PKEY* rsa_key) { in GetError() argument 95 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); // key_data is owned by rsa in GetError()
|
D | rsa_keymaster0_key.h | 63 RsaKeymaster0Key(RSA* rsa_key, const AuthorizationSet& hw_enforced, in RsaKeymaster0Key() argument 65 : RsaKey(rsa_key, hw_enforced, sw_enforced, error) {} in RsaKeymaster0Key()
|
D | rsa_keymaster1_operation.h | 39 keymaster_error_t Begin(EVP_PKEY* rsa_key, const AuthorizationSet& input_params); 40 keymaster_error_t PrepareFinish(EVP_PKEY* rsa_key, const AuthorizationSet& input_params); 44 keymaster_error_t GetError(EVP_PKEY* rsa_key);
|
D | rsa_keymaster1_key.h | 74 RsaKeymaster1Key(RSA* rsa_key, const AuthorizationSet& hw_enforced, in RsaKeymaster1Key() argument 76 : RsaKey(rsa_key, hw_enforced, sw_enforced, error) {} in RsaKeymaster1Key()
|
D | rsa_operation.cpp | 41 const RsaKey* rsa_key = static_cast<const RsaKey*>(&key); in GetRsaKey() local 42 assert(rsa_key); in GetRsaKey() 43 if (!rsa_key || !rsa_key->key()) { in GetRsaKey() 49 if (!rsa_key->InternalToEvp(pkey.get())) { in GetRsaKey()
|
D | Makefile | 117 rsa_key.cpp \ 347 rsa_key.o \
|
D | Android.bp | 78 "rsa_key.cpp",
|
/system/core/trusty/keymaster/ |
D | Makefile | 84 $(KM)/rsa_key.cpp \ 180 $(KM)/rsa_key.o \
|
/system/tpm/trunks/ |
D | tpm_utility_impl.cc | 1547 ScopedKeyHandle rsa_key(factory_, object_handle); in CreateStorageRootKeys() local
|