Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dcrypto_wolfssl.c647 word32 priv_sz, pub_sz; in dh5_init() local
674 wpabuf_mhead(pubkey), &pub_sz) != 0) in dh5_init()
678 wpabuf_put(pubkey, pub_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()
813 if (pub_sz < prime_len) { in crypto_dh_init()
814 size_t pad_sz = prime_len - pub_sz; in crypto_dh_init()
816 os_memmove(pubkey + pad_sz, pubkey, pub_sz); in crypto_dh_init()