/system/keymaster/km_openssl/ |
D | ec_key.cpp | 27 bool EcKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal() 28 ec_key_.reset(EVP_PKEY_get1_EC_KEY(const_cast<EVP_PKEY*>(pkey))); in EvpToInternal() 32 bool EcKey::InternalToEvp(EVP_PKEY* pkey) const { in InternalToEvp()
|
D | rsa_key.cpp | 26 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal() 27 rsa_key_.reset(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(pkey))); in EvpToInternal() 31 bool RsaKey::InternalToEvp(EVP_PKEY* pkey) const { in InternalToEvp()
|
D | openssl_utils.cpp | 79 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in convert_pkcs8_blob_to_evp() argument 104 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in KeyMaterialToEvpKey() argument 112 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* pkey, KeymasterKeyBlob* key_blob) { in EvpKeyToKeyMaterial()
|
D | asymmetric_key_factory.cpp | 54 EVP_PKEY* pkey = in LoadKey() 59 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey_deleter(pkey); in LoadKey()
|
D | rsa_operation.cpp | 38 EVP_PKEY* RsaOperationFactory::GetRsaKey(Key&& key, keymaster_error_t* error) { in GetRsaKey() 45 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetRsaKey() 74 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetRsaKey(move(key), error)); in CreateRsaOperation() 230 keymaster_padding_t padding, EVP_PKEY* key) in RsaDigestingOperation() 324 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in SignUndigested() 431 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in VerifyUndigested()
|
D | rsa_key_factory.cpp | 83 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GenerateKey() 133 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription()
|
/system/keymaster/legacy_support/ |
D | ecdsa_keymaster1_operation.cpp | 30 keymaster_error_t EcdsaKeymaster1WrappedOperation::Begin(EVP_PKEY* ecdsa_key, in Begin() 60 EcdsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* ecdsa_key, in PrepareFinish() 77 keymaster_error_t EcdsaKeymaster1WrappedOperation::GetError(EVP_PKEY* ecdsa_key) { in GetError() 84 static EVP_PKEY* GetEvpKey(const EcdsaKeymaster1Key& key, keymaster_error_t* error) { in GetEvpKey() 90 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() 105 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> ecdsa(GetEvpKey(ecdsa_km1_key, error)); in CreateOperation()
|
D | rsa_keymaster1_operation.cpp | 30 keymaster_error_t RsaKeymaster1WrappedOperation::Begin(EVP_PKEY* rsa_key, in Begin() 81 RsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* rsa_key, in PrepareFinish() 98 keymaster_error_t RsaKeymaster1WrappedOperation::GetError(EVP_PKEY* rsa_key) { in GetError() 105 static EVP_PKEY* GetEvpKey(const RsaKeymaster1Key& key, keymaster_error_t* error) { in GetEvpKey() 111 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() 129 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetEvpKey(rsa_km1_key, error)); in CreateOperation()
|
D | ecdsa_keymaster1_operation.h | 39 keymaster_error_t Begin(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 40 keymaster_error_t PrepareFinish(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 43 keymaster_error_t GetError(EVP_PKEY* ecdsa_key); 57 keymaster_digest_t digest, EVP_PKEY* key, in EcdsaKeymaster1Operation()
|
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); 43 keymaster_error_t GetError(EVP_PKEY* rsa_key); 57 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key, in RsaKeymaster1Operation()
|
D | keymaster1_engine.cpp | 153 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildRsaKey() 193 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildEcKey() 214 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const { in GetData() 357 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | rsa_operation.h | 38 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation() 61 EVP_PKEY* rsa_key_; 78 keymaster_padding_t padding, EVP_PKEY* key); 93 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation() 117 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation() 142 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation() 159 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation() 173 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation() 197 static EVP_PKEY* GetRsaKey(Key&& key, keymaster_error_t* error); 206 EVP_PKEY* key) const = 0; [all …]
|
D | ecdsa_operation.h | 33 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 48 EVP_PKEY* ecdsa_key_; 56 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation() 71 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation() 93 keymaster_digest_t digest, EVP_PKEY* key) const = 0; 100 keymaster_digest_t digest, EVP_PKEY* key) const override { in InstantiateOperation() 110 keymaster_digest_t digest, EVP_PKEY* key) const override { in InstantiateOperation()
|
D | openssl_utils.h | 63 DEFINE_OPENSSL_OBJECT_POINTER(EVP_PKEY) 88 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey); 93 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* evp_pkey); 95 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* evp_pkey, KeymasterKeyBlob* key_blob);
|
D | asymmetric_key.h | 37 virtual bool InternalToEvp(EVP_PKEY* pkey) const = 0; 38 virtual bool EvpToInternal(const EVP_PKEY* pkey) = 0;
|
D | ec_key.h | 36 bool InternalToEvp(EVP_PKEY* pkey) const override; 37 bool EvpToInternal(const EVP_PKEY* pkey) override;
|
D | rsa_key.h | 32 bool InternalToEvp(EVP_PKEY* pkey) const override; 33 bool EvpToInternal(const EVP_PKEY* pkey) override;
|
/system/security/keystore-engine/ |
D | methods.h | 66 int ecdsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*); 70 int dsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*); 74 int rsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*);
|
D | android_engine.cpp | 255 void operator()(EVP_PKEY* p) const { in operator ()() 259 typedef std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY; 278 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) { in wrap_rsa() 314 static EVP_PKEY *wrap_ecdsa(const char *key_id, const EC_KEY *public_ecdsa) { in wrap_ecdsa() 350 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) __attribute__((visibility("default"))); 356 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) { in EVP_PKEY_from_keystore() 379 EVP_PKEY *result; in EVP_PKEY_from_keystore()
|
/system/security/keystore/ |
D | keystore_utils.h | 48 void operator()(EVP_PKEY* p) const { EVP_PKEY_free(p); } in operator() 50 typedef std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY;
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 78 bssl::UniquePtr<EVP_PKEY> make_private_key() { in make_private_key() 99 bssl::UniquePtr<EVP_PKEY> privkey(EVP_PKEY_new()); in make_private_key() 114 bssl::UniquePtr<X509> make_cert(EVP_PKEY* privkey, EVP_PKEY* parent_key) { in make_cert() 158 std::vector<bssl::UniquePtr<EVP_PKEY>> keys(chain_length_); in startServer()
|
/system/extras/verity/ |
D | generate_verity_key.c | 65 EVP_PKEY *pkey = NULL; in convert_x509() 127 EVP_PKEY* pkey = EVP_PKEY_new(); in generate_key()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_engine.h | 76 KeyData* GetData(EVP_PKEY* key) const; 82 EVP_PKEY* GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 38 keymaster_error_t FakeKeyAuthorizations(EVP_PKEY* pubkey,
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_main.cpp | 137 void operator()(EVP_PKEY* p) const { EVP_PKEY_free(p); } in operator ()() 258 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in test_rsa() 362 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in test_ecdsa()
|