Home
last modified time | relevance | path

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

/hostap-3.6.0/src/crypto/
Ddh_group5.c16 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument
18 wpabuf_free(*publ); in dh5_init()
19 *publ = dh_init(dh_groups_get(5), priv); in dh5_init()
20 if (*publ == NULL) in dh5_init()
26 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument
Ddh_group5.h12 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ);
13 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ);
Dcrypto_openssl.c820 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument
830 wpabuf_free(*publ); in dh5_init()
831 *publ = NULL; in dh5_init()
865 *publ = pubkey; in dh5_init()
881 wpabuf_free(*publ); in dh5_init()
882 *publ = NULL; in dh5_init()
915 *publ = pubkey; in dh5_init()
930 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument
953 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); in dh5_init_fixed()
982 pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); in dh5_init_fixed()
Dcrypto_wolfssl.c640 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument
650 wpabuf_free(*publ); in dh5_init()
651 *publ = NULL; in dh5_init()
682 *publ = pubkey; in dh5_init()
700 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) in dh5_init_fixed() argument
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()