• Home
  • Raw
  • Download

Lines Matching refs:TPM2B

77             (TPM2B *)&session->authValueBind);  in start_auth_session()
84 (TPM2B *)&session->salt); in start_auth_session()
92 rval = KDFa(session->authHash, (TPM2B *)&key, label, in start_auth_session()
93 (TPM2B *)&session->nonceNewer, in start_auth_session()
94 (TPM2B *)&session->nonceOlder, in start_auth_session()
114 TPM2B sessionAttributesByteBuffer = { in compute_session_auth()
196 CopySizedByteBuffer((TPM2B *)&hmac_key, (TPM2B *)&session->sessionKey); in compute_command_hmac()
199 ConcatSizedByteBuffer(&hmac_key, (TPM2B *)&entity->entityAuth); in compute_command_hmac()
248 CopySizedByteBuffer((TPM2B *)&hmac_key, (TPM2B *)&session->sessionKey); in check_response_hmac()
251 ConcatSizedByteBuffer(&hmac_key, (TPM2B *)&entity->entityAuth); in check_response_hmac()
265 rval = CompareSizedByteBuffer((TPM2B *)&pSessionsDataIn->auths[i].hmac, in check_response_hmac()
266 (TPM2B *)&pSessionsDataOut->auths[i].hmac); in check_response_hmac()
299 CopySizedByteBuffer((TPM2B *)&session->nonceOlder, (TPM2B *)nonceCaller); in create_auth_session()
300 CopySizedByteBuffer((TPM2B *)&session->encryptedSalt, (TPM2B *)encryptedSalt); in create_auth_session()
307 CopySizedByteBuffer((TPM2B *)&session->authValueBind, (TPM2B *)bindAuth); in create_auth_session()
310 CopySizedByteBuffer((TPM2B *)&session->salt, (TPM2B *)salt); in create_auth_session()
403 rval = ConcatSizedByteBuffer(&hashInput, (TPM2B *)&name1); in tpm_calc_phash()
407 rval = ConcatSizedByteBuffer(&hashInput, (TPM2B *)&name2); in tpm_calc_phash()
411 rval = ConcatSizedByteBuffer(&hashInput, (TPM2B *)&name3); in tpm_calc_phash()
493 TPM2B *key, in KDFa()
495 TPM2B *contextU, in KDFa()
496 TPM2B *contextV, in KDFa()
543 ConcatSizedByteBuffer(result_key, (TPM2B *)&digest); in KDFa()
566 CopySizedByteBuffer((TPM2B *)&sessionValue, (TPM2B *)&session->sessionKey); in gen_session_key()
567 CatSizedByteBuffer((TPM2B *)&sessionValue, (TPM2B *)auth_value); in gen_session_key()
570 (TPM2B *)&sessionValue, in gen_session_key()
572 (TPM2B *)&session->nonceNewer, in gen_session_key()
573 (TPM2B *)&session->nonceOlder, in gen_session_key()
648 CopySizedByteBuffer((TPM2B *)&key, (TPM2B *)&session->sessionKey); in encrypt_decrypt_xor()
649 CatSizedByteBuffer((TPM2B *)&key, (TPM2B *)auth_value); in encrypt_decrypt_xor()
652 (TPM2B *)&key, in encrypt_decrypt_xor()
654 (TPM2B *)&session->nonceNewer, in encrypt_decrypt_xor()
655 (TPM2B *)&session->nonceOlder, in encrypt_decrypt_xor()