Searched refs:pub_key (Results 1 – 2 of 2) sorted by relevance
/hostap-latest/src/crypto/ |
D | crypto_openssl.c | 997 publen = BN_num_bytes(dh->pub_key); in dh5_init() 1006 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 1074 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dh5_init() 1097 DH_get0_key(dh, &pub_key, &priv_key); in dh5_init() 1098 publen = BN_num_bytes(pub_key); in dh5_init() 1107 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 1147 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); in dh5_init_fixed() 1148 if (dh->pub_key == NULL) in dh5_init_fixed() 1163 BIGNUM *priv_key, *pub_key; in dh5_init_fixed() 1168 pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); in dh5_init_fixed() [all …]
|
/hostap-latest/src/common/ |
D | dpp_crypto.c | 2530 struct crypto_ec_point *p = NULL, *pub_key = NULL; in dpp_test_gen_invalid_key() local 2547 pub_key = crypto_ec_key_get_public_key(key); in dpp_test_gen_invalid_key() 2548 if (!pub_key || crypto_ec_point_to_bin(ec, pub_key, x, y)) in dpp_test_gen_invalid_key() 2563 crypto_ec_point_deinit(pub_key, 0); in dpp_test_gen_invalid_key()
|