Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dtpm-v1.c528 struct session_data *auth_session, in create_request_auth() argument
538 if (!auth_session || !auth_session->valid) in create_request_auth()
551 sha1_update(&hash_ctx, auth_session->nonce_odd, DIGEST_LENGTH); in create_request_auth()
553 sha1_finish(&hash_ctx, auth_session->nonce_odd); in create_request_auth()
556 0, auth_session->handle, in create_request_auth()
557 auth_nonce_odd_offset, auth_session->nonce_odd, in create_request_auth()
563 auth_session->nonce_even, in create_request_auth()
591 struct session_data *auth_session, in verify_response_auth() argument
602 if (!auth_session || !auth_session->valid) in verify_response_auth()
620 memcpy(auth_session->nonce_even, response_auth, DIGEST_LENGTH); in verify_response_auth()
[all …]