Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/lib/
H A Dtpm.c23 DIGEST_LENGTH = 20, enumerator
40 uint8_t nonce_even[DIGEST_LENGTH];
41 uint8_t nonce_odd[DIGEST_LENGTH];
708 uint8_t hmac_data[DIGEST_LENGTH * 3 + 1]; in create_request_auth()
728 sha1_update(&hash_ctx, auth_session->nonce_odd, DIGEST_LENGTH); in create_request_auth()
735 DIGEST_LENGTH, in create_request_auth()
739 DIGEST_LENGTH, in create_request_auth()
741 DIGEST_LENGTH, in create_request_auth()
742 2 * DIGEST_LENGTH, in create_request_auth()
744 DIGEST_LENGTH + 1)) in create_request_auth()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dtpm.c17 DIGEST_LENGTH = 20, enumerator
601 uint8_t usage_auth[DIGEST_LENGTH]; in do_tpm_load_key_by_sha1()
602 uint8_t parent_hash[DIGEST_LENGTH]; in do_tpm_load_key_by_sha1()
611 if (strlen(argv[4]) != 2 * DIGEST_LENGTH) in do_tpm_load_key_by_sha1()
638 uint8_t usage_auth[DIGEST_LENGTH]; in do_tpm_load_key2_oiap()
647 if (strlen(argv[4]) != 2 * DIGEST_LENGTH) in do_tpm_load_key2_oiap()
663 uint8_t usage_auth[DIGEST_LENGTH]; in do_tpm_get_pub_key_oiap()
671 if (strlen(argv[2]) != 2 * DIGEST_LENGTH) in do_tpm_get_pub_key_oiap()