Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dtpm-v1.c467 u8 hmac_data[DIGEST_LENGTH * 3 + 1]; in create_request_auth() local
484 sha1_finish(&hash_ctx, hmac_data); in create_request_auth()
488 sha1_update(&hash_ctx, hmac_data, sizeof(hmac_data)); in create_request_auth()
497 if (pack_byte_string(hmac_data, sizeof(hmac_data), "ss", in create_request_auth()
505 sha1_hmac(auth, DIGEST_LENGTH, hmac_data, sizeof(hmac_data), in create_request_auth()
530 u8 hmac_data[DIGEST_LENGTH * 3 + 1]; in verify_response_auth() local
540 if (pack_byte_string(hmac_data, sizeof(hmac_data), "d", in verify_response_auth()
548 sha1_update(&hash_ctx, hmac_data, 4); in verify_response_auth()
554 sha1_finish(&hash_ctx, hmac_data); in verify_response_auth()
558 if (pack_byte_string(hmac_data, sizeof(hmac_data), "ssb", in verify_response_auth()
[all …]