Home
last modified time | relevance | path

Searched refs:keyedHashDetail (Results 1 – 19 of 19) sorted by relevance

/external/tpm2-tss/test/unit/
DTPMT-marshal.c114 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_success_offset()
115 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_success_offset()
152 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_buffer_null_with_offset()
153 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_buffer_null_with_offset()
201 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_buffer_size_lt_data_nad_lt_offset()
202 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_buffer_size_lt_data_nad_lt_offset()
260 assert_int_equal (pub.parameters.keyedHashDetail.scheme.scheme, TPM2_ALG_HMAC); in tpmt_unmarshal_success()
261 assert_int_equal (pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg, TPM2_ALG_SHA256); in tpmt_unmarshal_success()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/HashHMAC/
DHMAC_Start.c79 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC_Start()
86 = publicArea->parameters.keyedHashDetail.scheme.details.hmac.hashAlg; in TPM2_HMAC_Start()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/
DHMAC.c78 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC()
85 = publicArea->parameters.keyedHashDetail.scheme.details.hmac.hashAlg; in TPM2_HMAC()
/external/tpm2-tss/test/integration/
Dsapi-create-keyedhash-sha1-hmac.int.c61 inPublic.publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in test_invoke()
62 inPublic.publicArea.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA1; in test_invoke()
Desys-hmac.int.c83 inPublic.publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in test_esys_hmac()
84 inPublic.publicArea.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA1; in test_esys_hmac()
Desys-hmacsequencestart.int.c111 inPublic.publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in test_esys_hmacsequencestart()
112 inPublic.publicArea.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA1; in test_esys_hmacsequencestart()
Desys-unseal-password-auth.int.c220 .parameters.keyedHashDetail = { in test_esys_unseal_password_auth()
Dsapi-util.c191 .publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC, in create_keyedhash_key()
192 .publicArea.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA1, in create_keyedhash_key()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c88 &signKey->publicArea.parameters.keyedHashDetail.scheme; in CryptHMACVerifySignature()
136 scheme = &publicArea->parameters.keyedHashDetail.scheme; in CryptGenerateKeyedHash()
1365 (TPMT_SIG_SCHEME *)&publicArea->parameters.keyedHashDetail.scheme; in CryptSelectSignScheme()
1708 scheme = &params->keyedHashDetail.scheme; in CryptValidateKeys()
1775 scheme = &publicArea->parameters.keyedHashDetail.scheme; in CryptSelectMac()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DCreateLoaded.c130 scheme = &parent->publicArea.parameters.keyedHashDetail.scheme; in TPM2_CreateLoaded()
DObject_spt.c452 scheme = parms->keyedHashDetail.scheme.scheme; in SchemeChecks()
475 if(parms->keyedHashDetail.scheme.details.xor.kdf in SchemeChecks()
480 parms->keyedHashDetail.scheme.details.xor.hashAlg) == 0) in SchemeChecks()
/external/tpm2-tss/src/tss2-mu/
Dtpmu-types.c610 TPM2_ALG_KEYEDHASH, ADDR, keyedHashDetail, Tss2_MU_TPMS_KEYEDHASH_PARMS_Marshal,
615 TPM2_ALG_KEYEDHASH, keyedHashDetail, Tss2_MU_TPMS_KEYEDHASH_PARMS_Unmarshal,
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c1122 inPublic.publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_NULL; in CreateDataBlob()
1545 inPublic.publicArea.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_NULL; in TestUnseal()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h1564 TPMS_KEYEDHASH_PARMS keyedHashDetail; /* sign decrypt neither */ member
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h2115 TPMS_KEYEDHASH_PARMS keyedHashDetail; member
/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_deserialize.c3727 return ifapi_json_TPMS_KEYEDHASH_PARMS_deserialize(jso, &out->keyedHashDetail); in ifapi_json_TPMU_PUBLIC_PARMS_deserialize()
Dtpm_json_serialize.c3652 return ifapi_json_TPMS_KEYEDHASH_PARMS_serialize(&in->keyedHashDetail, jso); in ifapi_json_TPMU_PUBLIC_PARMS_serialize()
Dfapi_util.c2950 … context->cmd.Key_Create.public_templ.public.publicArea.parameters.keyedHashDetail.scheme.scheme = in ifapi_key_create()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMarshal.c4968 …return TPMS_KEYEDHASH_PARMS_Unmarshal((TPMS_KEYEDHASH_PARMS *)&(target->keyedHashDetail), buffer, … in TPMU_PUBLIC_PARMS_Unmarshal()
4991 …return TPMS_KEYEDHASH_PARMS_Marshal((TPMS_KEYEDHASH_PARMS *)&(source->keyedHashDetail), buffer, si… in TPMU_PUBLIC_PARMS_Marshal()