Lines Matching refs:TPM2B_MAX_BUFFER
76 rval = ConcatSizedByteBuffer((TPM2B_MAX_BUFFER *)&key, in start_auth_session()
83 rval = ConcatSizedByteBuffer((TPM2B_MAX_BUFFER *)&key, in start_auth_session()
95 bytes, (TPM2B_MAX_BUFFER *)&session->sessionKey); in start_auth_session()
110 TPM2B_MAX_BUFFER *hmacKey) in compute_session_auth()
174 TPM2B_MAX_BUFFER hmac_key; in compute_command_hmac()
226 TPM2B_MAX_BUFFER hmac_key; in check_response_hmac()
276 TPM2B_MAX_BUFFER *salt, in create_auth_session()
353 TPM2B_MAX_BUFFER hashInput; in tpm_calc_phash()
498 TPM2B_MAX_BUFFER *result_key) in KDFa()
555 TPM2B_MAX_BUFFER *session_key, in gen_session_key()
561 TPM2B_MAX_BUFFER key, sessionValue; in gen_session_key()
597 TPM2B_MAX_BUFFER *encrypted_data, in encrypt_param_cfb()
598 TPM2B_MAX_BUFFER *clear_data, in encrypt_param_cfb()
602 TPM2B_MAX_BUFFER encryptKey = TPM2B_MAX_BUFFER_INIT; in encrypt_param_cfb()
615 TPM2B_MAX_BUFFER *clear_data, in decrypt_param_cfb()
616 TPM2B_MAX_BUFFER *encrypted_data, in decrypt_param_cfb()
620 TPM2B_MAX_BUFFER encryptKey = TPM2B_MAX_BUFFER_INIT; in decrypt_param_cfb()
633 TPM2B_MAX_BUFFER *output_data, in encrypt_decrypt_xor()
634 TPM2B_MAX_BUFFER *input_data, in encrypt_decrypt_xor()
638 TPM2B_MAX_BUFFER key; in encrypt_decrypt_xor()
639 TPM2B_MAX_BUFFER mask = { .size = 0, .buffer = 0 }; in encrypt_decrypt_xor()
672 TPM2B_MAX_BUFFER *encrypted_data, in encrypt_command_param()
673 TPM2B_MAX_BUFFER *clear_data, in encrypt_command_param()
684 TPM2B_MAX_BUFFER *clear_data, in decrypt_response_param()
685 TPM2B_MAX_BUFFER *encrypted_data, in decrypt_response_param()