Home
last modified time | relevance | path

Searched refs:Digest (Results 1 – 15 of 15) sorted by relevance

/system/bt/btif/src/
Dbtif_keystore.cc81 .Digest(Digest::SHA_2_224) in GenerateKey()
82 .Digest(Digest::SHA_2_256) in GenerateKey()
83 .Digest(Digest::SHA_2_384) in GenerateKey()
84 .Digest(Digest::SHA_2_512) in GenerateKey()
/system/security/keystore/
Dkeystore_cli_v2.cpp143 .Digest(Digest::SHA_2_256) in GetRSASignParameters()
148 parameters.Digest(Digest::SHA_2_224).Digest(Digest::SHA_2_384).Digest(Digest::SHA_2_512); in GetRSASignParameters()
165 .Digest(Digest::SHA_2_256) in GetECDSAParameters()
168 parameters.Digest(Digest::SHA_2_224).Digest(Digest::SHA_2_384).Digest(Digest::SHA_2_512); in GetECDSAParameters()
188 AuthorizationSet GetHMACParameters(uint32_t key_size, Digest digest) { in GetHMACParameters()
191 .Digest(digest) in GetHMACParameters()
215 {"HMAC-SHA256-16", true, GetHMACParameters(16, Digest::SHA_2_256)}, in GetTestCases()
216 {"HMAC-SHA256-32", true, GetHMACParameters(32, Digest::SHA_2_256)}, in GetTestCases()
217 {"HMAC-SHA256-64", false, GetHMACParameters(64, Digest::SHA_2_256)}, in GetTestCases()
218 {"HMAC-SHA224-32", false, GetHMACParameters(32, Digest::SHA_2_224)}, in GetTestCases()
[all …]
Dkeystore_utils.cpp80 params->push_back(TAG_DIGEST, Digest::NONE); in add_legacy_key_authorizations()
81 params->push_back(TAG_DIGEST, Digest::MD5); in add_legacy_key_authorizations()
82 params->push_back(TAG_DIGEST, Digest::SHA1); in add_legacy_key_authorizations()
83 params->push_back(TAG_DIGEST, Digest::SHA_2_224); in add_legacy_key_authorizations()
84 params->push_back(TAG_DIGEST, Digest::SHA_2_256); in add_legacy_key_authorizations()
85 params->push_back(TAG_DIGEST, Digest::SHA_2_384); in add_legacy_key_authorizations()
86 params->push_back(TAG_DIGEST, Digest::SHA_2_512); in add_legacy_key_authorizations()
Dkeystore_client_impl.cpp101 authenticate_params.Digest(Digest::SHA_2_256); in encryptWithAuthentication()
131 authenticate_params.Digest(Digest::SHA_2_256); in decryptWithAuthentication()
518 .Digest(Digest::SHA_2_256) in createOrVerifyAuthenticationKey()
609 if (!digest.isOk() || digest.value() != Digest::SHA_2_256) { in verifyAuthenticationKeyAttributes()
Dkey_store_service.cpp1112 keyCharacteristics.push_back(TAG_DIGEST, Digest::SHA_2_256); in attestDeviceIds()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp252 .Digest(KM_DIGEST_NONE) in TEST_P()
295 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
326 .Digest(KM_DIGEST_NONE))); in TEST_P()
333 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(KM_DIGEST_NONE))); in TEST_P()
342 .Digest(KM_DIGEST_NONE))); in TEST_P()
348 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest( in TEST_P()
360 .Digest(KM_DIGEST_SHA_2_256) in TEST_P()
373 .Digest(KM_DIGEST_SHA_2_256) in TEST_P()
379 .Digest(KM_DIGEST_SHA_2_256) in TEST_P()
390 .Digest(KM_DIGEST_SHA1) in TEST_P()
[all …]
Dattestation_record_test.cpp70 .Digest(KM_DIGEST_SHA_2_256) in TEST()
71 .Digest(KM_DIGEST_SHA_2_384) in TEST()
Dandroid_keymaster_test_utils.cpp633 .Digest(digest), in CheckHmacTestVector()
/system/keymaster/ng/include/
Dauthorization_set.h258 AuthorizationSetBuilder& Digest(Digest digest) { in Digest() function
325 Authorization(TAG_DIGEST, Digest::NONE); in NoDigestOrPadding()
Dkeymaster_tags.h71 using ::android::hardware::keymaster::V3_0::Digest;
/system/security/keystore/include/keystore/
Dkeymaster_types.h45 using keymaster::Digest;
/system/security/keystore-engine/
Dkeystore_backend_binder.cpp49 using android::hardware::keymaster::V4_0::Digest;
136 params[0] = Authorization(TAG_DIGEST, Digest::NONE); in sign()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp25 using android::hardware::keymaster::V4_0::Digest;
182 params[0] = Authorization(TAG_DIGEST, Digest::NONE); in sign()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp284 .Digest(KM_DIGEST_SHA1) in UnwrapKey()
/system/keymaster/include/keymaster/
Dauthorization_set.h532 AuthorizationSetBuilder& Digest(keymaster_digest_t digest) { in Digest() function