Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c110 u8 our_nonce[SHA256_DIGEST_SIZE]; member
374 memcpy(auth->our_nonce, nonce, sizeof(nonce)); in tpm_buf_append_hmac_session()
675 + auth->passphrase_len, "CFB", auth->our_nonce, in tpm_buf_fill_hmac_session()
715 sha256_update(&sctx, auth->our_nonce, sizeof(auth->our_nonce)); in tpm_buf_fill_hmac_session()
832 sha256_update(&sctx, auth->our_nonce, sizeof(auth->our_nonce)); in tpm_buf_check_hmac_response()
849 auth->our_nonce, AES_KEY_BYTES + AES_BLOCK_SIZE, in tpm_buf_check_hmac_response()
921 auth->our_nonce, sizeof(auth->session_key), in tpm2_parse_start_auth_session()
1008 get_random_bytes(auth->our_nonce, sizeof(auth->our_nonce)); in tpm2_start_auth_session()
1009 tpm_buf_append_u16(&buf, sizeof(auth->our_nonce)); in tpm2_start_auth_session()
1010 tpm_buf_append(&buf, auth->our_nonce, sizeof(auth->our_nonce)); in tpm2_start_auth_session()