Lines Matching refs:blocklen
58 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
60 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
69 return EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
70 && EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
125 memset(hmac->K, 0x00, hmac->blocklen); in ossl_drbg_hmac_init()
127 memset(hmac->V, 0x01, hmac->blocklen); in ossl_drbg_hmac_init()
225 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in ossl_drbg_hmac_generate()
226 || !EVP_MAC_update(ctx, temp, hmac->blocklen)) in ossl_drbg_hmac_generate()
229 if (outlen > hmac->blocklen) { in ossl_drbg_hmac_generate()
239 out += hmac->blocklen; in ossl_drbg_hmac_generate()
240 outlen -= hmac->blocklen; in ossl_drbg_hmac_generate()
438 hmac->blocklen = (size_t)md_size; in drbg_hmac_set_ctx_params_locked()
440 ctx->strength = 64 * (int)(hmac->blocklen >> 3); in drbg_hmac_set_ctx_params_locked()
443 ctx->seedlen = hmac->blocklen; in drbg_hmac_set_ctx_params_locked()