Searched refs:priv_sz (Results 1 – 1 of 1) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_wolfssl.c | 647 word32 priv_sz, pub_sz; in dh5_init() local 673 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz, in dh5_init() 677 wpabuf_put(privkey, priv_sz); in dh5_init() 784 word32 priv_sz, pub_sz; in crypto_dh_init() local 802 if (wc_DhGenerateKeyPair(dh, &rng, privkey, &priv_sz, pubkey, &pub_sz) in crypto_dh_init() 806 if (priv_sz < prime_len) { in crypto_dh_init() 807 size_t pad_sz = prime_len - priv_sz; in crypto_dh_init() 809 os_memmove(privkey + pad_sz, privkey, priv_sz); in crypto_dh_init()
|