Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dtpm-v1.c27 u8 nonce_even[DIGEST_LENGTH];
28 u8 nonce_odd[DIGEST_LENGTH];
526 u8 hmac_data[DIGEST_LENGTH * 3 + 1]; in create_request_auth()
546 sha1_update(&hash_ctx, auth_session->nonce_odd, DIGEST_LENGTH); in create_request_auth()
553 DIGEST_LENGTH, in create_request_auth()
557 DIGEST_LENGTH, in create_request_auth()
559 DIGEST_LENGTH, in create_request_auth()
560 2 * DIGEST_LENGTH, in create_request_auth()
562 DIGEST_LENGTH + 1)) in create_request_auth()
564 sha1_hmac(auth, DIGEST_LENGTH, hmac_data, sizeof(hmac_data), in create_request_auth()
[all …]
/openbmc/u-boot/cmd/
H A Dtpm-v1.c405 u8 usage_auth[DIGEST_LENGTH]; in do_tpm_load_key_by_sha1()
406 u8 parent_hash[DIGEST_LENGTH]; in do_tpm_load_key_by_sha1()
420 if (strlen(argv[4]) != 2 * DIGEST_LENGTH) in do_tpm_load_key_by_sha1()
447 u8 usage_auth[DIGEST_LENGTH]; in do_tpm_load_key2_oiap()
462 if (strlen(argv[4]) != 2 * DIGEST_LENGTH) in do_tpm_load_key2_oiap()
478 u8 usage_auth[DIGEST_LENGTH]; in do_tpm_get_pub_key_oiap()
492 if (strlen(argv[2]) != 2 * DIGEST_LENGTH) in do_tpm_get_pub_key_oiap()
/openbmc/u-boot/include/
H A Dtpm-v1.h20 DIGEST_LENGTH = 20, enumerator