Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dtpm-v1.c523 struct session_data *auth_session, in create_request_auth() argument
533 if (!auth_session || !auth_session->valid) in create_request_auth()
546 sha1_update(&hash_ctx, auth_session->nonce_odd, DIGEST_LENGTH); in create_request_auth()
548 sha1_finish(&hash_ctx, auth_session->nonce_odd); in create_request_auth()
551 0, auth_session->handle, in create_request_auth()
552 auth_nonce_odd_offset, auth_session->nonce_odd, in create_request_auth()
558 auth_session->nonce_even, in create_request_auth()
586 struct session_data *auth_session, in verify_response_auth() argument
597 if (!auth_session || !auth_session->valid) in verify_response_auth()
615 memcpy(auth_session->nonce_even, response_auth, DIGEST_LENGTH); in verify_response_auth()
[all …]