Home
last modified time | relevance | path

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

/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.cpp121 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()
Dkeystore_client_impl.cpp102 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()
Dkey_store_service.cpp1211 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-engine/
Dkeystore_backend_binder.cpp49 using android::hardware::keymaster::V4_0::Digest;
136 params[0] = Authorization(TAG_DIGEST, Digest::NONE); in sign()
/system/security/keystore/include/keystore/
Dkeymaster_types.h52 using keymaster::Digest;
/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.cpp322 .Digest(KM_DIGEST_SHA_2_256) in UnwrapKey()
/system/keymaster/include/keymaster/
Dauthorization_set.h542 AuthorizationSetBuilder& Digest(keymaster_digest_t digest) { in Digest() function