Lines Matching refs:hash
22 struct sha256_ctx hash; in hmac_sha256() local
32 sha256_init_ctx(&hash); in hmac_sha256()
33 sha256_process_bytes(key, key_size, &hash); in hmac_sha256()
34 sha256_finish_ctx(&hash, replacement_key); in hmac_sha256()
52 sha256_init_ctx(&hash); in hmac_sha256()
53 sha256_process_bytes(inner_padding, HMAC_BLOCK_SIZE, &hash); in hmac_sha256()
54 sha256_process_bytes(input, input_size, &hash); in hmac_sha256()
55 sha256_finish_ctx(&hash, res); in hmac_sha256()
58 sha256_init_ctx(&hash); in hmac_sha256()
59 sha256_process_bytes(outer_padding, HMAC_BLOCK_SIZE, &hash); in hmac_sha256()
60 sha256_process_bytes(res, SHA256_DIGEST_SIZE, &hash); in hmac_sha256()
61 sha256_finish_ctx(&hash, res); in hmac_sha256()