Searched refs:Digest (Results 1 – 14 of 14) sorted by relevance
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 143 .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 …]
|
D | keystore_utils.cpp | 121 params->push_back(TAG_DIGEST, Digest::NONE); in add_legacy_key_authorizations() 122 params->push_back(TAG_DIGEST, Digest::MD5); in add_legacy_key_authorizations() 123 params->push_back(TAG_DIGEST, Digest::SHA1); in add_legacy_key_authorizations() 124 params->push_back(TAG_DIGEST, Digest::SHA_2_224); in add_legacy_key_authorizations() 125 params->push_back(TAG_DIGEST, Digest::SHA_2_256); in add_legacy_key_authorizations() 126 params->push_back(TAG_DIGEST, Digest::SHA_2_384); in add_legacy_key_authorizations() 127 params->push_back(TAG_DIGEST, Digest::SHA_2_512); in add_legacy_key_authorizations()
|
D | keystore_client_impl.cpp | 102 authenticate_params.Digest(Digest::SHA_2_256); in encryptWithAuthentication() 132 authenticate_params.Digest(Digest::SHA_2_256); in decryptWithAuthentication() 528 .Digest(Digest::SHA_2_256) in createOrVerifyAuthenticationKey() 619 if (!digest.isOk() || digest.value() != Digest::SHA_2_256) { in verifyAuthenticationKeyAttributes()
|
D | key_store_service.cpp | 1211 keyCharacteristics.push_back(TAG_DIGEST, Digest::SHA_2_256); in attestDeviceIds()
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 252 .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 …]
|
D | attestation_record_test.cpp | 70 .Digest(KM_DIGEST_SHA_2_256) in TEST() 71 .Digest(KM_DIGEST_SHA_2_384) in TEST()
|
D | android_keymaster_test_utils.cpp | 633 .Digest(digest), in CheckHmacTestVector()
|
/system/keymaster/ng/include/ |
D | authorization_set.h | 258 AuthorizationSetBuilder& Digest(Digest digest) { in Digest() function 325 Authorization(TAG_DIGEST, Digest::NONE); in NoDigestOrPadding()
|
D | keymaster_tags.h | 71 using ::android::hardware::keymaster::V3_0::Digest;
|
/system/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 49 using android::hardware::keymaster::V4_0::Digest; 136 params[0] = Authorization(TAG_DIGEST, Digest::NONE); in sign()
|
/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 52 using keymaster::Digest;
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 25 using android::hardware::keymaster::V4_0::Digest; 182 params[0] = Authorization(TAG_DIGEST, Digest::NONE); in sign()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 322 .Digest(KM_DIGEST_SHA_2_256) in UnwrapKey()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 542 AuthorizationSetBuilder& Digest(keymaster_digest_t digest) { in Digest() function
|