Home
last modified time | relevance | path

Searched refs:mdlen (Results 1 – 3 of 3) sorted by relevance

/hostap-latest/src/eap_common/
Deap_pwd_common.c51 size_t resultbytelen, len = 0, mdlen; in eap_pwd_kdf() local
68 mdlen = SHA256_MAC_LEN; in eap_pwd_kdf()
69 if (crypto_hash_finish(hash, digest, &mdlen) < 0) in eap_pwd_kdf()
71 if ((len + mdlen) > resultbytelen) in eap_pwd_kdf()
74 os_memcpy(result + len, digest, mdlen); in eap_pwd_kdf()
75 len += mdlen; in eap_pwd_kdf()
/hostap-latest/src/crypto/
Dcrypto_openssl.c1446 size_t mdlen; in crypto_hash_finish() local
1459 res = EVP_MAC_final(ctx->ctx, NULL, &mdlen, 0); in crypto_hash_finish()
1465 res = EVP_MAC_final(ctx->ctx, mac, &mdlen, mdlen); in crypto_hash_finish()
1477 *len = mdlen; in crypto_hash_finish()
1483 unsigned int mdlen; in crypto_hash_finish()
1496 mdlen = *len; in crypto_hash_finish()
1497 res = HMAC_Final(ctx->ctx, mac, &mdlen); in crypto_hash_finish()
1509 *len = mdlen; in crypto_hash_finish()
1523 unsigned int mdlen) in openssl_hmac_vector() argument
1554 res = EVP_MAC_final(ctx, mac, &mlen, mdlen); in openssl_hmac_vector()
[all …]
Dcrypto_wolfssl.c377 unsigned int mdlen) in wolfssl_hmac_vector() argument
384 (void) mdlen; in wolfssl_hmac_vector()