Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dtpm-v1.c464 struct session_data *auth_session, in create_request_auth() argument
474 if (!auth_session || !auth_session->valid) in create_request_auth()
487 sha1_update(&hash_ctx, auth_session->nonce_odd, DIGEST_LENGTH); in create_request_auth()
489 sha1_finish(&hash_ctx, auth_session->nonce_odd); in create_request_auth()
492 0, auth_session->handle, in create_request_auth()
493 auth_nonce_odd_offset, auth_session->nonce_odd, in create_request_auth()
499 auth_session->nonce_even, in create_request_auth()
527 struct session_data *auth_session, in verify_response_auth() argument
538 if (!auth_session || !auth_session->valid) in verify_response_auth()
556 memcpy(auth_session->nonce_even, response_auth, DIGEST_LENGTH); in verify_response_auth()
[all …]