Home
last modified time | relevance | path

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

/external/tpm2/
DStartAuthSession.c117 out->nonceTPM = session->nonceTPM; in TPM2_StartAuthSession()
DPolicySigned.c54 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySigned()
85 CryptUpdateDigest2B(&hashState, &in->nonceTPM.b); in TPM2_PolicySigned()
DSessionProcess.c591 nonceDecrypt = &decryptSession->nonceTPM; in ComputeCommandHMAC()
602 nonceEncrypt = &encryptSession->nonceTPM; in ComputeCommandHMAC()
648 CryptUpdateDigest2B(&hmacState, &session->nonceTPM.b); in ComputeCommandHMAC()
1677 TPM2B_NONCE *nonceTPM, // IN: nonceTPM in ComputeResponseHMAC() argument
1724 CryptUpdateDigest2B(&hmacState, &nonceTPM->b); in ComputeResponseHMAC()
1770 &session->nonceTPM, in BuildSingleResponseAuth()
1802 CryptGenerateRandom(session->nonceTPM.t.size, session->nonceTPM.t.buffer); in UpdateTPMNonce()
1803 nonces[i] = session->nonceTPM; in UpdateTPMNonce()
DSession.c364 session->nonceTPM.t.size = nonceCaller->t.size; in SessionCreate()
365 CryptGenerateRandom(session->nonceTPM.t.size, session->nonceTPM.t.buffer); in SessionCreate()
392 KDFa(session->authHashAlg, &key.b, "ATH", &session->nonceTPM.b, in SessionCreate()
DPolicySigned_fp.h15 TPM2B_NONCE nonceTPM; member
DPolicySecret_fp.h15 TPM2B_NONCE nonceTPM; member
DStartAuthSession_fp.h24 TPM2B_NONCE nonceTPM; member
DPolicySecret.c50 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySecret()
DPolicy_spt.c36 if(!Memory2BEqual(&nonce->b, &session->nonceTPM.b)) in PolicyParameterChecks()
DMarshal_PolicySecret.c47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size); in PolicySecret_In_Unmarshal()
DMarshal_StartAuthSession.c30 total_size += TPM2B_NONCE_Marshal(&source->nonceTPM, buffer, size); in StartAuthSession_Out_Marshal()
DMarshal_PolicySigned.c47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size); in PolicySigned_In_Unmarshal()
DGlobal.h318 TPM2B_NONCE nonceTPM; // last TPM-generated nonce for member
DCryptUtil.c2696 &(session->nonceTPM.b), in CryptParameterEncryption()
2701 nonceCaller, &(session->nonceTPM.b), in CryptParameterEncryption()
2766 &(session->nonceTPM.b), cipherSize, buffer); in CryptParameterDecryption()
2771 &key.b, nonceCaller, &session->nonceTPM.b, in CryptParameterDecryption()
Dpart3.txt2289 nonceTPM in the response.
2400 TPM2B_NONCE nonceTPM
2528 91 // Copy nonceTPM
2529 92 out->nonceTPM = session->nonceTPM;
2550 allows the authorizations to be replayed because the session restarts with the same nonceTPM. If the
10504 a) nonceTPM – If this parameter is not the Empty Buffer, and it does not match
10505 policySession→nonceTPM, then the TPM shall return TPM_RC_VALUE. This parameter is required
10508 since the policySession→nonceTPM was generated. If more time has passed than indicated in
10509 expiration, the TPM shall return TPM_RC_EXPIRED. If nonceTPM is the Empty buffer, and expiration
10632 and the nonceTPM matches policySession->nonceTPM, then the TPM will return a ticket that includes a
[all …]
Dpart4.txt1903 181 TPM2B_NONCE nonceTPM; // last TPM-generated nonce for
4370 481 // Determine if extra nonceTPM values are going to be required.
4385 496 nonceDecrypt = &decryptSession->nonceTPM;
4401 506 nonceEncrypt = &encryptSession->nonceTPM;
4455 560 // Add nonceTPM
4456 561 CryptUpdateDigest2B(&hmacState, &session->nonceTPM.b);
4458 563 // If needed, add nonceTPM for decrypt session
4467 567 // If needed, add nonceTPM for encrypt session
5691 1529 TPM2B_NONCE *nonceTPM, // IN: nonceTPM
5748 1580 CryptUpdateDigest2B(&hmacState, &nonceTPM->b);
[all …]
/external/tpm2/generator/
Dcommands.txt144 _NAME nonceTPM
1521 _NAME nonceTPM
1531 _COMMENT time when authorization will expire, measured in seconds from the time that nonceTPM was g…
1564 _NAME nonceTPM
1574 _COMMENT time when authorization will expire, measured in seconds from the time that nonceTPM was g…
Draw_commands.txt3523 nonceTPM in the response.
3750 nonceTPM
4003 // Copy nonceTPM
4004 out->nonceTPM = session->nonceTPM;
4029 allows the authorizations to be replayed because the session restarts with the same nonceTPM. If the
18715 a) nonceTPM – If this parameter is not the Empty Buffer, and
18716 policySession→nonceTPM, then the TPM shall return TPM_RC_VALUE.
18727 since the policySession→nonceTPM was generated. If more time has passed than indicted in
18728 expiration, the TPM shall return TPM_RC_EXPIRED. If nonceTPM is the Empty buffer, and expiration
19016 The authorizing object will sign a digest of the authorization qualifiers: nonceTPM, expiration, cp…
[all …]
Draw_commands_fixed.txt3523 nonceTPM in the response.
3752 nonceTPM
4005 // Copy nonceTPM
4006 out->nonceTPM = session->nonceTPM;
4031 allows the authorizations to be replayed because the session restarts with the same nonceTPM. If the
18726 a) nonceTPM – If this parameter is not the Empty Buffer, and
18727 policySession→nonceTPM, then the TPM shall return TPM_RC_VALUE.
18738 since the policySession→nonceTPM was generated. If more time has passed than indicted in
18739 expiration, the TPM shall return TPM_RC_EXPIRED. If nonceTPM is the Empty buffer, and expiration
19027 The authorizing object will sign a digest of the authorization qualifiers: nonceTPM, expiration, cp…
[all …]