HomeSort by relevance Sort by last modified time
    Searched full:noncetpm (Results 1 - 20 of 20) sorted by null

  /external/tpm2/
PolicySigned.c 17 // nonceTPM is present
20 // TPM_RC_NONCE nonceTPM is not the nonce associated with the policySession
54 &in->cpHashA, &in->nonceTPM,
64 // aHash := hash ( nonceTPM | expiration | cpHashA | policyRef)
67 // nonceTPM the nonceTPM value from the TPM2_StartAuthSession .
84 // add nonceTPM
85 CryptUpdateDigest2B(&hashState, &in->nonceTPM.b);
118 // NOTE: PolicyParameterChecks() makes sure that nonceTPM is present
PolicySecret.c 18 // TPM_RC_NONCE nonceTPM does not match the nonce associated with policySession
50 &in->cpHashA, &in->nonceTPM,
71 // NOTE: PolicyParameterChecks() makes sure that nonceTPM is present
StartAuthSession.c 116 // Copy nonceTPM
117 out->nonceTPM = session->nonceTPM;
PolicySecret_fp.h 15 TPM2B_NONCE nonceTPM;
PolicySigned_fp.h 15 TPM2B_NONCE nonceTPM;
Policy_spt.c 18 // common parameters are nonceTPM, expiration, and cpHashA.
32 // Validate that input nonceTPM is correct if present
36 if(!Memory2BEqual(&nonce->b, &session->nonceTPM.b))
46 // at the nonceTPM value.
StartAuthSession_fp.h 24 TPM2B_NONCE nonceTPM;
Marshal_PolicySecret.c 47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size);
Marshal_PolicySigned.c 47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size);
Marshal_StartAuthSession.c 30 total_size += TPM2B_NONCE_Marshal(&source->nonceTPM, buffer, size);
SessionProcess.c 576 // Determine if extra nonceTPM values are going to be required.
591 nonceDecrypt = &decryptSession->nonceTPM;
602 nonceEncrypt = &encryptSession->nonceTPM;
647 // Add nonceTPM
648 CryptUpdateDigest2B(&hmacState, &session->nonceTPM.b);
649 // If needed, add nonceTPM for decrypt session
652 // If needed, add nonceTPM for encrypt session
    [all...]
Session.c 364 session->nonceTPM.t.size = nonceCaller->t.size;
365 CryptGenerateRandom(session->nonceTPM.t.size, session->nonceTPM.t.buffer);
372 // sessionKey = KDFa(hash, (authValue || seed), "ATH", nonceTPM,
392 KDFa(session->authHashAlg, &key.b, "ATH", &session->nonceTPM.b,
    [all...]
CryptUtil.c     [all...]
Global.h 324 TPM2B_NONCE nonceTPM; // last TPM-generated nonce for
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
Tpm2Session.c 38 TPM2B_NONCE NonceTPM;
55 @param[out] NonceTPM The initial nonce from the TPM, used in the computation of the sessionKey.
71 OUT TPM2B_NONCE *NonceTPM
165 NonceTPM->size = SwapBytes16 (RecvBuffer.NonceTPM.size);
166 CopyMem (NonceTPM->buffer, &RecvBuffer.NonceTPM.buffer, NonceTPM->size);
Tpm2EnhancedAuthorization.c 30 TPM2B_NONCE NonceTPM;
84 @param[in] NonceTPM The policy nonce for the session.
87 @param[in] Expiration Time when authorization will expire, measured in seconds from the time that nonceTPM was generated.
100 IN TPM2B_NONCE *NonceTPM,
137 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(NonceTPM->size));
139 CopyMem (Buffer, NonceTPM->buffer, NonceTPM->size);
140 Buffer += NonceTPM->size;
  /system/tpm/trunks/
password_authorization_delegate_test.cc 57 "\x00\x00" // nonceTpm = zero length buffer
72 "\x00\x00" // nonceTpm = zero length buffer
  /device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
Tpm2CommandLib.h 845 @param[out] NonceTPM The initial nonce from the TPM, used in the computation of the sessionKey.
861 OUT TPM2B_NONCE *NonceTPM
886 @param[in] NonceTPM The policy nonce for the session.
889 @param[in] Expiration Time when authorization will expire, measured in seconds from the time that nonceTPM was generated.
    [all...]
  /system/tpm/trunks/generator/
raw_commands.txt     [all...]
raw_commands_fixed.txt     [all...]

Completed in 869 milliseconds