Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 25 of 46) sorted by relevance

12

/system/keymaster/
Drsa_operation.h36 RsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaOperation()
50 keymaster_digest_t digest() const { return digest_; } in digest() function
90 RsaSignOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation()
112 RsaVerifyOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation()
134 RsaCryptOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaCryptOperation()
151 RsaEncryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation()
163 RsaDecryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation()
220 RsaOperation* InstantiateOperation(keymaster_digest_t digest, keymaster_padding_t padding, in InstantiateOperation()
231 RsaOperation* InstantiateOperation(keymaster_digest_t digest, keymaster_padding_t padding, in InstantiateOperation()
242 RsaOperation* InstantiateOperation(keymaster_digest_t digest, keymaster_padding_t padding, in InstantiateOperation()
[all …]
Decdsa_operation.h31 EcdsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
52 EcdsaSignOperation(keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation()
66 EcdsaVerifyOperation(keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation()
92 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) { in InstantiateOperation()
100 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) { in InstantiateOperation()
Dhmac_operation.cpp60 keymaster_digest_t digest; in CreateOperation() local
92 size_t key_data_size, keymaster_digest_t digest, size_t mac_length, in HmacOperation()
170 uint8_t digest[EVP_MAX_MD_SIZE]; in Finish() local
Dhmac.cpp59 uint8_t* digest = tmp; in Sign() local
77 bool HmacSha256::Verify(const uint8_t* data, size_t data_len, const uint8_t* digest, in Verify()
Drsa_key.cpp53 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest) { in SupportedMode()
Dandroid_keymaster_test_utils.cpp406 keymaster_digest_t digest) { in SignMessage()
418 keymaster_digest_t digest, keymaster_padding_t padding) { in SignMessage()
442 keymaster_digest_t digest) { in VerifyMessage()
453 keymaster_digest_t digest, keymaster_padding_t padding) { in VerifyMessage()
487 string Keymaster2Test::EncryptMessage(const string& message, keymaster_digest_t digest, in EncryptMessage()
500 keymaster_digest_t digest, keymaster_padding_t padding, in EncryptMessage()
553 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
573 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
596 const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
625 void Keymaster2Test::CheckHmacTestVector(string key, string message, keymaster_digest_t digest, in CheckHmacTestVector()
[all …]
Dhkdf.cpp67 UniquePtr<uint8_t[]> digest(new uint8_t[digest_size_]); in GenerateKey() local
Dhmac_key.cpp70 keymaster_digest_t digest; in validate_algorithm_specific_new_key_params() local
Dhmac_test.cpp33 uint8_t digest[32]; member
Decdsa_keymaster1_operation.cpp102 keymaster_digest_t digest; in CreateOperation() local
Decdsa_keymaster1_operation.h56 EcdsaKeymaster1Operation(keymaster_digest_t digest, EVP_PKEY* key, in EcdsaKeymaster1Operation()
Drsa_keymaster1_operation.h56 RsaKeymaster1Operation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key, in RsaKeymaster1Operation()
Drsa_keymaster1_operation.cpp118 keymaster_digest_t digest; in CreateOperation() local
Dec_keymaster1_key.cpp37 static bool is_supported(uint32_t digest) { in is_supported()
Doperation.cpp114 keymaster_digest_t* digest, in GetAndValidateDigest()
Drsa_keymaster1_key.cpp39 static bool is_supported(uint32_t digest) { in is_supported()
/system/core/metricsd/uploader/
Dmetrics_hashes.cc44 base::MD5Digest digest; in HashMetricName() local
/system/tpm/trunks/
Dhmac_authorization_delegate.cc98 std::string digest = HmacSha256(hmac_key, hmac_data); in GetCommandAuthorization() local
160 std::string digest = HmacSha256(hmac_key, hmac_data); in CheckResponseAuthorization() local
276 unsigned char digest[EVP_MAX_MD_SIZE]; in HmacSha256() local
Dtpm_utility_test.cc765 std::string digest(32, 'a'); in TEST_F() local
795 std::string digest(32, 'a'); in TEST_F() local
818 std::string digest(32, 'a'); in TEST_F() local
837 std::string digest(32, 'a'); in TEST_F() local
850 std::string digest(32, 'a'); in TEST_F() local
869 std::string digest(32, 'a'); in TEST_F() local
888 std::string digest(32, 'a'); in TEST_F() local
907 std::string digest(32, 'a'); in TEST_F() local
921 std::string digest(32, 'a'); in TEST_F() local
951 std::string digest(64, 'a'); in TEST_F() local
[all …]
Dpolicy_session_impl.cc77 TPM_RC PolicySessionImpl::GetDigest(std::string* digest) { in GetDigest()
Dpolicy_session_test.cc105 std::string digest; in TEST_F() local
117 std::string digest; in TEST_F() local
/system/extras/verity/
Dverify_boot_signature.c223 unsigned char *digest) in hash_image()
318 unsigned char digest[SHA256_DIGEST_LENGTH]; in verify_signature() local
/system/core/libmincrypt/
Dsha.c149 const uint8_t* SHA_hash(const void* data, int len, uint8_t* digest) { in SHA_hash()
/system/core/include/mincrypt/
Dhash-internal.h56 #define HASH_hash(data, len, digest) (ctx)->f->hash(data, len, digest) argument
/system/security/keystore/
Dblob.h59 uint8_t digest[MD5_DIGEST_LENGTH]; member

12