Searched refs:secret_sz (Results 1 – 1 of 1) sorted by relevance
/hostap-3.6.0/src/crypto/ |
D | crypto_wolfssl.c | 705 word32 secret_sz; in dh5_init_fixed() local 721 if (wc_DhAgree(dh, secret, &secret_sz, wpabuf_head(priv), in dh5_init_fixed() 726 if (secret_sz != wpabuf_len(publ) || in dh5_init_fixed() 727 os_memcmp(secret, wpabuf_head(publ), secret_sz) != 0) in dh5_init_fixed() 749 word32 secret_sz; in dh5_derive_shared() local 755 if (wc_DhAgree(ctx, wpabuf_mhead(secret), &secret_sz, in dh5_derive_shared() 760 wpabuf_put(secret, secret_sz); in dh5_derive_shared() 840 word32 secret_sz; in crypto_dh_derive_secret() local 850 if (wc_DhAgree(dh, secret, &secret_sz, privkey, privkey_len, pubkey, in crypto_dh_derive_secret() 854 *len = secret_sz; in crypto_dh_derive_secret()
|