Home
last modified time | relevance | path

Searched refs:ec (Results 1 – 25 of 42) sorted by relevance

12

/hostap-3.6.0/tests/hwsim/auth_serv/
Dec-generate.sh13 cat ec-ca-openssl.cnf |
15 > ec-ca-openssl.cnf.tmp
16 $OPENSSL ecparam -out ec-ca.key -name $CURVE -genkey
17 $OPENSSL req -config ec-ca-openssl.cnf.tmp -batch -x509 -new -key ec-ca.key -out ec-ca.pem -outform…
18 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
19 touch ec-ca/index.txt
20 rm ec-ca-openssl.cnf.tmp
26 cat ec-ca-openssl.cnf |
29 > ec-ca-openssl.cnf.tmp
30 $OPENSSL ecparam -out ec-server.key -name $CURVE -genkey
[all …]
Dsha512-generate.sh12 cat ec-ca-openssl.cnf |
14 > ec-ca-openssl.cnf.tmp
15 $OPENSSL req -config ec-ca-openssl.cnf.tmp -batch -x509 -new -newkey rsa:4096 -nodes -keyout sha512…
16 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
17 touch ec-ca/index.txt
18 rm ec-ca-openssl.cnf.tmp
24 cat ec-ca-openssl.cnf |
27 > ec-ca-openssl.cnf.tmp
28 $OPENSSL req -config ec-ca-openssl.cnf.tmp -batch -new -newkey rsa:3500 -nodes -keyout sha512-serve…
29 $OPENSSL ca -config ec-ca-openssl.cnf.tmp -batch -keyfile sha512-ca.key -cert sha512-ca.pem -create…
[all …]
Dec2-generate.sh13 cat ec-ca-openssl.cnf |
15 > ec-ca-openssl.cnf.tmp
17 $OPENSSL req -config ec-ca-openssl.cnf.tmp -batch -x509 -new -key ec2-ca.key -out ec2-ca.pem -outfo…
18 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
19 touch ec-ca/index.txt
20 rm ec-ca-openssl.cnf.tmp
26 cat ec-ca-openssl.cnf |
29 > ec-ca-openssl.cnf.tmp
31 $OPENSSL req -config ec-ca-openssl.cnf.tmp -batch -new -nodes -key ec2-server.key -out ec2-server.r…
32 $OPENSSL ca -config ec-ca-openssl.cnf.tmp -batch -keyfile ec2-ca.key -cert ec2-ca.pem -create_seria…
[all …]
Drsa3072-generate.sh22 cat ec-ca-openssl.cnf |
24 sed s%\./ec-ca$%./rsa3072-ca% \
36 cat ec-ca-openssl.cnf |
39 sed s%\./ec-ca$%./rsa3072-ca% \
51 cat ec-ca-openssl.cnf |
54 sed s%\./ec-ca$%./rsa3072-ca% \
66 cat ec-ca-openssl.cnf |
69 sed s%\./ec-ca$%./rsa3072-ca% \
Dserver-long-duration.pem25 81:37:a6:a6:49:91:fe:69:ec:80:a2:5b:b2:04:11:
31 ef:e4:fe:39:87:4d:dc:49:c0:15:ec:90:e2:0d:ea:
41 48:c0:5e:2a:b9:66:ec:36:b8:ec:dd:0f:74:32:65:
45 b6:3e:24:95:f8:9b:c4:40:64:f7:a2:83:11:ec:b7:
49 94:a4:39:7b:df:8c:ec:64:c8:c5:8d:86:54:6f:f1:
66 aa:73:6c:8d:3b:7e:cb:87:82:2f:b8:05:f7:79:1c:5d:ec:37:
Dica-generate.sh9 cat ec-ca-openssl.cnf |
24 cat ec-ca-openssl.cnf |
39 cat ec-ca-openssl.cnf |
53 cat ec-ca-openssl.cnf |
68 cat ec-ca-openssl.cnf |
Dec-server.pem15 04:26:ed:4c:6a:18:ad:d5:97:28:89:26:98:c1:ec:
17 75:de:48:96:f8:90:4c:72:0a:d7:a2:e9:12:24:ec:
36 30:45:02:20:25:ec:c6:e5:a2:66:e9:3a:f5:fa:b0:4a:dd:24:
Drsa3072-user.pem23 52:11:a6:02:ac:e8:59:56:7a:a8:93:ec:fd:06:ee:
27 e3:ba:98:89:35:a7:54:99:ec:81:47:c4:2f:b2:3b:
60 81:2a:f7:df:8f:c5:76:ec:f0:95:4d:c2:17:3f:54:7d:63:1a:
65 73:21:4b:9c:9e:37:38:d3:e2:77:ec:56:8e:b7:43:01:4a:7c:
69 f1:0f:0c:f5:ec:49:14:24:a1:68:39:b2:85:c6:30:79:e1:ac:
Dca-incorrect.pem24 a7:ed:b3:96:49:f7:ec:9f:d6:3b:b5:1b:fa:4c:ca:
44 9f:dd:16:ec:26:65:db:7b:49:82:83:f7:72:49:84:44:9e:b7:
45 ec:fa:35:53:f9:7c:fd:e1:1e:b0:ec:bc:44:45:6e:47:26:9a:
Dsha512-server.pem24 2b:5a:ef:a6:ec:7b:c7:9b:e3:0a:3c:4c:41:98:ad:
62 66:d3:1d:4c:d4:bc:63:9f:f9:b8:58:ec:33:82:9a:7e:60:28:
64 60:82:4a:d7:e9:a5:6e:cb:ec:4b:79:d4:48:3f:e3:fd:1f:e2:
65 6f:7e:43:bf:63:ff:e3:ec:d3:82:7f:bd:2a:3a:66:45:50:d5:
68 26:51:68:cb:ec:7e:6e:7c:cd:1b:24:be:c9:91:53:0f:dc:d2:
Dsha512-user.pem32 40:bf:79:aa:7b:ce:3b:65:6e:c8:24:90:ec:24:29:
40 42:bc:e2:f3:c7:ec:3d:fc:ed:c5:f6:2c:c0:4e:ff:
71 19:d8:aa:44:a7:8e:c6:7d:35:00:e5:ac:24:2f:ec:53:0a:7b:
86 49:8a:21:a2:d8:f0:f8:ce:70:a4:b7:6e:90:ec:9d:68:f7:33:
Drsa3072-user-rsa2048.pem18 66:d8:07:c3:0d:ec:48:97:8d:2c:4f:58:f5:b5:27:
20 43:1f:2c:88:9f:d6:40:df:ec:27:16:63:ae:34:1c:
21 d5:ec:26:c5:d9:ad:77:a9:73:14:86:a3:a4:2e:67:
Dserver-certpol.pem20 67:5c:74:5f:2c:83:79:b2:08:47:b4:ec:4f:ef:75:
37 e3:f4:03:cd:5c:db:16:a1:ac:b7:f4:93:7e:ec:9a:
71 0e:e8:48:9f:36:11:0e:c7:7c:48:ec:0a:c2:d6:ea:f7:9a:06:
/hostap-3.6.0/src/common/
Ddpp_crypto.c1037 struct crypto_ec *ec; in dpp_auth_derive_l_responder() local
1046 ec = crypto_ec_init(crypto_ec_key_group(auth->peer_bi->pubkey)); in dpp_auth_derive_l_responder()
1047 if (!ec) in dpp_auth_derive_l_responder()
1050 q = crypto_ec_get_order(ec); in dpp_auth_derive_l_responder()
1055 L = crypto_ec_point_init(ec); in dpp_auth_derive_l_responder()
1059 crypto_ec_point_mul(ec, BI, sum, L) || in dpp_auth_derive_l_responder()
1060 crypto_ec_point_x(ec, L, lx) || in dpp_auth_derive_l_responder()
1072 crypto_ec_deinit(ec); in dpp_auth_derive_l_responder()
1079 struct crypto_ec *ec; in dpp_auth_derive_l_initiator() local
1088 ec = crypto_ec_init(crypto_ec_key_group(auth->peer_bi->pubkey)); in dpp_auth_derive_l_initiator()
[all …]
Ddpp_pkex.c32 struct crypto_ec *ec = NULL; in dpp_pkex_build_exchange_req() local
45 pkex->identifier, &ec); in dpp_pkex_build_exchange_req()
70 M = crypto_ec_point_init(ec); in dpp_pkex_build_exchange_req()
73 crypto_ec_point_debug_print(ec, X, "DPP: X"); in dpp_pkex_build_exchange_req()
75 if (crypto_ec_point_add(ec, X, Qi, M)) in dpp_pkex_build_exchange_req()
77 crypto_ec_point_debug_print(ec, M, "DPP: M"); in dpp_pkex_build_exchange_req()
147 if (crypto_ec_point_to_bin(ec, M, Mx, My)) in dpp_pkex_build_exchange_req()
155 crypto_ec_deinit(ec); in dpp_pkex_build_exchange_req()
353 struct crypto_ec *ec = NULL; in dpp_pkex_rx_exchange_req() local
442 &ec); in dpp_pkex_rx_exchange_req()
[all …]
Dsae.c43 tmp->ec = crypto_ec_init(group); in sae_set_group()
44 if (tmp->ec) { in sae_set_group()
48 tmp->prime_len = crypto_ec_prime_len(tmp->ec); in sae_set_group()
49 tmp->prime = crypto_ec_get_prime(tmp->ec); in sae_set_group()
50 tmp->order_len = crypto_ec_order_len(tmp->ec); in sae_set_group()
51 tmp->order = crypto_ec_get_order(tmp->ec); in sae_set_group()
100 crypto_ec_deinit(tmp->ec); in sae_clear_temp_data()
158 bits = crypto_ec_prime_len_bits(sae->tmp->ec); in sae_test_pwd_seed_ecc()
178 y_sqr = crypto_ec_point_compute_y_sqr(sae->tmp->ec, x_cand); in sae_test_pwd_seed_ecc()
183 res = dragonfly_is_quadratic_residue_blind(sae->tmp->ec, qr, qnr, in sae_test_pwd_seed_ecc()
[all …]
Ddragonfly.c109 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec, in dragonfly_is_quadratic_residue_blind() argument
120 prime = crypto_ec_get_prime(ec); in dragonfly_is_quadratic_residue_blind()
121 prime_len = crypto_ec_prime_len(ec); in dragonfly_is_quadratic_residue_blind()
219 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val, in dragonfly_sqrt() argument
230 prime = crypto_ec_get_prime(ec); in dragonfly_sqrt()
231 prime_len = crypto_ec_prime_len(ec); in dragonfly_sqrt()
Ddragonfly.h23 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec,
30 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val,
Dsae.h51 struct crypto_ec *ec; member
89 struct crypto_ec *ec; member
/hostap-3.6.0/tests/hwsim/auth_serv/iCA-server/
Dserver-revoked.pem20 63:94:8d:63:e9:7f:b3:7b:67:0b:d6:c9:02:ec:da:
21 7e:e1:5b:21:e4:a1:ea:01:ec:b8:bd:6f:5e:d2:92:
23 ee:bd:4a:2c:65:6c:ec:3a:48:38:7e:0d:30:30:ee:
31 31:e8:c5:8c:60:99:48:9f:d9:78:92:ec:31:0b:20:
62 e1:4d:80:eb:5e:4b:99:88:2f:ec:a3:1d:06:c5:04:2e:bb:56:
Dserver-revoked_and_ica.pem101 63:94:8d:63:e9:7f:b3:7b:67:0b:d6:c9:02:ec:da:
102 7e:e1:5b:21:e4:a1:ea:01:ec:b8:bd:6f:5e:d2:92:
104 ee:bd:4a:2c:65:6c:ec:3a:48:38:7e:0d:30:30:ee:
112 31:e8:c5:8c:60:99:48:9f:d9:78:92:ec:31:0b:20:
143 e1:4d:80:eb:5e:4b:99:88:2f:ec:a3:1d:06:c5:04:2e:bb:56:
Dserver.pem16 00:ac:21:ec:55:e2:94:6c:d5:1b:6d:fa:77:87:7f:
24 c2:a5:d4:f4:04:df:ce:39:c2:06:3d:3f:ec:8b:3d:
56 e7:4a:09:ff:43:09:ec:32:49:19:52:cd:30:03:22:3c:f0:9c:
/hostap-3.6.0/src/crypto/
Dcrypto_wolfssl.c1696 struct crypto_ec *ec; member
1712 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
1713 if (!ecdh->ec) in crypto_ecdh_init()
1716 ret = wc_ecc_make_key_ex(&rng, ecdh->ec->key.dp->size, &ecdh->ec->key, in crypto_ecdh_init()
1717 ecdh->ec->key.dp->id); in crypto_ecdh_init()
1735 crypto_ec_deinit(ecdh->ec); in crypto_ecdh_deinit()
1745 int len = ecdh->ec->key.dp->size; in crypto_ecdh_get_pubkey()
1752 ecdh->ec->key.pubkey.x, wpabuf_put(buf, len), in crypto_ecdh_get_pubkey()
1758 ecdh->ec->key.pubkey.y, in crypto_ecdh_get_pubkey()
1779 word32 key_len = ecdh->ec->key.dp->size; in crypto_ecdh_set_peerkey()
[all …]
Dcrypto_openssl.c94 return pkey->pkey.ec; in EVP_PKEY_get0_EC_KEY()
2032 struct crypto_ec *ec; member
2047 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
2048 if (!ecdh->ec) in crypto_ecdh_init()
2051 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()
2103 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init2()
2104 if (!ecdh->ec) in crypto_ecdh_init2()
2127 int len = BN_num_bytes(ecdh->ec->prime); in crypto_ecdh_get_pubkey()
2148 if (EC_POINT_get_affine_coordinates_GFp(ecdh->ec->group, pubkey, in crypto_ecdh_get_pubkey()
2149 x, y, ecdh->ec->bnctx) != 1) { in crypto_ecdh_get_pubkey()
[all …]
/hostap-3.6.0/eap_example/
Dserver.pem44 10:c3:51:a2:7b:f5:0b:5f:ec:70:12:99:cb:65:6f:50:7f:2b:
46 fd:df:1f:1d:6f:ef:22:5a:c6:78:d2:2b:07:1e:55:ec:80:62:

12