HomeSort by: relevance | last modified time | path
    Searched refs:inc_y (Results 1 - 5 of 5) sorted by relevancy

  /src/external/bsd/wpa/dist/src/crypto/
crypto.h 976 * @inc_y: Whether public key should include y coordinate (explicit form)
980 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
985 * @inc_y: Whether peer's public key includes y coordinate (explicit form)
991 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
crypto_openssl.c 2768 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y)
2787 buf = wpabuf_alloc_copy(pub + 1, inc_y ? len - 1 : len / 2);
2808 if (inc_y) {
2813 buf = wpabuf_alloc(inc_y ? 2 * len : len);
2830 if (inc_y) {
2851 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
2867 peer[0] = inc_y ? 0x04 : 0x02;
2908 x = BN_bin2bn(key, inc_y ? len / 2 : len, NULL);
2913 if (inc_y) {
crypto_wolfssl.c 2199 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y)
2205 buf = wpabuf_alloc(inc_y ? 2 * len : len);
2214 if (inc_y) {
2231 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
2239 size_t need_key_len = inc_y ? 2 * key_len : key_len;
2250 wpabuf_put_u8(pubkey, inc_y ? ECC_POINT_UNCOMP : ECC_POINT_COMP_EVEN);
  /src/external/bsd/wpa/dist/src/pasn/
pasn_responder.c 612 int ret, inc_y; local
736 inc_y = 1;
739 inc_y = 0;
748 secret = crypto_ecdh_set_peerkey(pasn->ecdh, inc_y,
pasn_initiator.c 1071 int ret, inc_y; local
1195 inc_y = 1;
1198 inc_y = 0;
1206 secret = crypto_ecdh_set_peerkey(pasn->ecdh, inc_y,

Completed in 35 milliseconds