Lines Matching refs:DIGEST_LENGTH
23 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()
746 sha1_hmac(auth, DIGEST_LENGTH, hmac_data, sizeof(hmac_data), in create_request_auth()
772 uint8_t hmac_data[DIGEST_LENGTH * 3 + 1]; in verify_response_auth()
773 uint8_t computed_auth[DIGEST_LENGTH]; in verify_response_auth()
798 memcpy(auth_session->nonce_even, response_auth, DIGEST_LENGTH); in verify_response_auth()
801 DIGEST_LENGTH, in verify_response_auth()
803 DIGEST_LENGTH, in verify_response_auth()
804 2 * DIGEST_LENGTH, in verify_response_auth()
806 DIGEST_LENGTH, in verify_response_auth()
807 3 * DIGEST_LENGTH, in verify_response_auth()
811 sha1_hmac(auth, DIGEST_LENGTH, hmac_data, sizeof(hmac_data), in verify_response_auth()
815 DIGEST_LENGTH)) in verify_response_auth()
874 (uint32_t)DIGEST_LENGTH)) in tpm_oiap()