Home
last modified time | relevance | path

Searched refs:TPM_ALG_SHA256 (Results 1 – 11 of 11) sorted by relevance

/system/tpm/trunks/
Dtpm_utility_impl.cc63 case trunks::TPM_ALG_SHA256: in HashString()
197 if (existing_pcrs.pcr_selections[i].hash == TPM_ALG_SHA256) { in AllocatePCR()
209 pcr_allocation.pcr_selections[pcr_allocation.count].hash = TPM_ALG_SHA256; in AllocatePCR()
362 digests.digests[0].hash_alg = TPM_ALG_SHA256; in ExtendPCR()
382 pcr_select_in.pcr_selections[0].hash = TPM_ALG_SHA256; in ReadPCR()
417 hash_alg = TPM_ALG_SHA256; in AsymmetricEncrypt()
480 hash_alg = TPM_ALG_SHA256; in AsymmetricDecrypt()
549 hash_alg = TPM_ALG_SHA256; in Sign()
642 hash_alg = TPM_ALG_SHA256; in Verify()
910 creation_pcrs.pcr_selections[0].hash = TPM_ALG_SHA256; in CreateRSAKeyPair()
[all …]
Dtpm_generated_test.cc45 data.creation_data.pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256; in TEST()
50 data.creation_data.parent_name_alg = TPM_ALG_SHA256; in TEST()
212 in_public.public_area.name_alg = TPM_ALG_SHA256; in TEST()
425 null_scheme.details.rsassa.hash_alg = TPM_ALG_SHA256; in TEST_F()
Dpolicy_session_impl.cc125 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256; in PolicyPCR()
Dtpm_utility_test.cc108 pcrs->pcr_selections[pcrs->count].hash = TPM_ALG_SHA256; in PopulatePCRSelection()
434 EXPECT_EQ(TPM_ALG_SHA256, digests.digests[0].hash_alg); in TEST_F()
461 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256; in TEST_F()
582 EXPECT_EQ(scheme.details.oaep.hash_alg, TPM_ALG_SHA256); in TEST_F()
728 EXPECT_EQ(scheme.details.oaep.hash_alg, TPM_ALG_SHA256); in TEST_F()
945 EXPECT_EQ(scheme.details.rsassa.hash_alg, TPM_ALG_SHA256); in TEST_F()
1129 EXPECT_EQ(signature_in.signature.rsassa.hash, TPM_ALG_SHA256); in TEST_F()
1390 EXPECT_EQ(TPM_ALG_SHA256, creation_pcrs.pcr_selections[0].hash); in TEST_F()
1541 EXPECT_EQ(in_public.public_area.name_alg, TPM_ALG_SHA256); in TEST_F()
1649 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256; in TEST_F()
[all …]
Dsession_manager_impl.cc102 TPMI_ALG_HASH hash_algorithm = TPM_ALG_SHA256; in StartSession()
Dpolicy_session_test.cc171 EXPECT_EQ(pcr_select.pcr_selections[0].hash, TPM_ALG_SHA256); in TEST_F()
Dtrunks_client_test.cc1069 TPM_ALG_SHA256, in SignAndVerify()
Dtpm_generated.h278 #define CONTEXT_INTEGRITY_HASH_ALG TPM_ALG_SHA256
469 const TPM_ALG_ID TPM_ALG_SHA256 = 0x000B; variable
Dtpm_generated.cc2319 if (selector == TPM_ALG_SHA256) { in Serialize_TPMU_HA()
2402 if (selector == TPM_ALG_SHA256) { in Parse_TPMU_HA()
/system/tpm/trunks/generator/
Draw_structures.txt2837 TPM_ALG_SHA256
9927 TPM_ALG_SHA256
10251 TPM_ALG_SHA256
17647 TPM_ALG_SHA256
Draw_structures_fixed.txt2831 TPM_ALG_SHA256
9955 TPM_ALG_SHA256
10279 TPM_ALG_SHA256
17628 TPM_ALG_SHA256