/system/keymaster/include/keymaster/km_openssl/ |
D | rsa_operation.h | 40 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation() 63 EVP_PKEY* rsa_key_; 80 keymaster_padding_t padding, EVP_PKEY* key); 95 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation() 119 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation() 144 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation() 170 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation() 184 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation() 208 static EVP_PKEY* GetRsaKey(const Key& key, keymaster_error_t* error); 216 keymaster_padding_t padding, EVP_PKEY* key) = 0; [all …]
|
D | ecdsa_operation.h | 36 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 51 EVP_PKEY* ecdsa_key_; 59 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation() 75 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation() 91 keymaster_digest_t digest, EVP_PKEY* key) in Ed25519SignOperation() 116 keymaster_digest_t digest, EVP_PKEY* key) = 0; 123 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation() 138 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
|
D | openssl_utils.h | 64 DEFINE_OPENSSL_OBJECT_POINTER(EVP_PKEY) 91 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey); 96 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* evp_pkey); 98 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* evp_pkey, KeymasterKeyBlob* key_blob);
|
D | certificate_utils.h | 62 keymaster_error_t make_cert(const EVP_PKEY* evp_pkey, const X509_NAME* issuer, 66 keymaster_error_t sign_cert(X509* certificate, const EVP_PKEY* signing_key);
|
D | ecdh_operation.h | 35 EcdhOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, EVP_PKEY* key) in EcdhOperation() 56 X25519Operation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, EVP_PKEY* key) in X25519Operation()
|
/system/security/keystore-engine/ |
D | methods.h | 44 int ecdsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*); 48 int dsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*); 52 int rsa_pkey_setup(ENGINE *, EVP_PKEY*, const char*);
|
D | android_engine.cpp | 31 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) __attribute__((visibility("default"))); 37 EVP_PKEY* EVP_PKEY_from_keystore(const char* key_id) { in EVP_PKEY_from_keystore()
|
D | keystore2_engine.cpp | 135 bssl::UniquePtr<EVP_PKEY> wrap_rsa(std::shared_ptr<Keystore2KeyBackend> key_backend, in wrap_rsa() 157 bssl::UniquePtr<EVP_PKEY> result(EVP_PKEY_new()); in wrap_rsa() 169 bssl::UniquePtr<EVP_PKEY> wrap_ecdsa(std::shared_ptr<Keystore2KeyBackend> key_backend, in wrap_ecdsa() 188 bssl::UniquePtr<EVP_PKEY> result(EVP_PKEY_new()); in wrap_ecdsa() 334 bssl::UniquePtr<EVP_PKEY> extractPubKey(const std::vector<uint8_t>& cert_bytes) { in extractPubKey() 351 bssl::UniquePtr<EVP_PKEY> pub_key(X509_get_pubkey(decoded_cert.get())); in extractPubKey() 365 extern "C" EVP_PKEY* EVP_PKEY_from_keystore2(const char* key_id) { in EVP_PKEY_from_keystore2() 424 bssl::UniquePtr<EVP_PKEY> result; in EVP_PKEY_from_keystore2()
|
D | keystore2_engine.h | 21 extern "C" EVP_PKEY* EVP_PKEY_from_keystore2(const char* key_id);
|
/system/keymaster/legacy_support/ |
D | ecdsa_keymaster1_operation.cpp | 30 keymaster_error_t EcdsaKeymaster1WrappedOperation::Begin(EVP_PKEY* ecdsa_key, in Begin() 58 EcdsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* ecdsa_key, in PrepareFinish() 75 keymaster_error_t EcdsaKeymaster1WrappedOperation::GetError(EVP_PKEY* ecdsa_key) { in GetError() 81 static EVP_PKEY* GetEvpKey(const EcdsaKeymaster1Key& key, keymaster_error_t* error) { in GetEvpKey() 102 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() 79 RsaKeymaster1WrappedOperation::PrepareFinish(EVP_PKEY* rsa_key, in PrepareFinish() 96 keymaster_error_t RsaKeymaster1WrappedOperation::GetError(EVP_PKEY* rsa_key) { in GetError() 102 static EVP_PKEY* GetEvpKey(const RsaKeymaster1Key& key, keymaster_error_t* error) { in GetEvpKey() 126 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetEvpKey(rsa_km1_key, error)); in CreateOperation()
|
D | ecdsa_keymaster1_operation.h | 40 keymaster_error_t Begin(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 41 keymaster_error_t PrepareFinish(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params); 44 keymaster_error_t GetError(EVP_PKEY* ecdsa_key); 59 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); 58 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key, in RsaKeymaster1Operation()
|
/system/update_engine/payload_consumer/ |
D | payload_verifier.h | 74 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>&& in PayloadVerifier() argument 82 const EVP_PKEY* public_key, 85 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> public_keys_;
|
D | payload_verifier.cc | 63 auto pub_key = std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>( in CreateInstance() 70 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> keys; in CreateInstance() 84 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> public_keys; in CreateInstanceFromZipPath() 197 const EVP_PKEY* public_key, in GetRawHashFromSignature() 203 RSA* rsa = EVP_PKEY_get0_RSA(const_cast<EVP_PKEY*>(public_key)); in GetRawHashFromSignature()
|
D | certificate_parser_android.cc | 71 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>* in ReadPublicKeysFromCertificates() argument 92 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> result; in ReadPublicKeysFromCertificates() 104 std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)> public_key( in ReadPublicKeysFromCertificates()
|
D | certificate_parser_stub.cc | 22 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>* in ReadPublicKeysFromCertificates() argument
|
D | certificate_parser_android.h | 37 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
|
/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()
|
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()
|
D | asymmetric_key_factory.cpp | 56 EVP_PKEY* pkey = d2i_PrivateKey(asym_key->evp_key_type(), nullptr /* pkey */, &tmp, in LoadKey() 59 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey_deleter(pkey); in LoadKey()
|
/system/security/keystore2/src/crypto/include/ |
D | certificate_utils.h | 41 DEFINE_OPENSSL_OBJECT_POINTER(EVP_PKEY); 95 makeCert(const EVP_PKEY* evp_pkey, // 121 CertUtilsError signCert(X509* certificate, EVP_PKEY* signing_key);
|
/system/security/ondevice-signing/ |
D | CertUtils.cpp | 88 static Result<bssl::UniquePtr<EVP_PKEY>> modulusToRsaPkey(const std::vector<uint8_t>& publicKey) { in modulusToRsaPkey() 96 bssl::UniquePtr<EVP_PKEY> public_key(EVP_PKEY_new()); in modulusToRsaPkey() 197 static Result<std::vector<uint8_t>> extractPublicKey(EVP_PKEY* pkey) { in extractPublicKey() 224 bssl::UniquePtr<EVP_PKEY> decoded_pkey(X509_get_pubkey(decoded_cert.get())); in extractPublicKeyFromX509()
|
/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 | 74 KeyData* GetData(EVP_PKEY* key) const; 80 EVP_PKEY* GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
|