Lines Matching refs:digest_ctx
42 uint8_t digest_ctx[digest->ctxsize]; in hmac_reduce_key() local
44 digest_init ( digest, digest_ctx ); in hmac_reduce_key()
45 digest_update ( digest, digest_ctx, key, *key_len ); in hmac_reduce_key()
46 digest_final ( digest, digest_ctx, key ); in hmac_reduce_key()
63 void hmac_init ( struct digest_algorithm *digest, void *digest_ctx, in hmac_init() argument
80 digest_init ( digest, digest_ctx ); in hmac_init()
81 digest_update ( digest, digest_ctx, k_ipad, sizeof ( k_ipad ) ); in hmac_init()
98 void hmac_final ( struct digest_algorithm *digest, void *digest_ctx, in hmac_final() argument
115 digest_final ( digest, digest_ctx, hmac ); in hmac_final()
118 digest_init ( digest, digest_ctx ); in hmac_final()
119 digest_update ( digest, digest_ctx, k_opad, sizeof ( k_opad ) ); in hmac_final()
120 digest_update ( digest, digest_ctx, hmac, digest->digestsize ); in hmac_final()
121 digest_final ( digest, digest_ctx, hmac ); in hmac_final()