Searched refs:scalar (Results 1 – 10 of 10) sorted by relevance
/hostap-3.7.0/src/eap_common/ |
D | eap_pwd_common.c | 448 struct crypto_bignum *scalar; in eap_pwd_get_scalar() local 456 scalar = crypto_bignum_init_set(buf, order_len); in eap_pwd_get_scalar() 457 if (!scalar || crypto_bignum_is_zero(scalar) || in eap_pwd_get_scalar() 458 crypto_bignum_is_one(scalar) || in eap_pwd_get_scalar() 459 crypto_bignum_cmp(scalar, order) >= 0) { in eap_pwd_get_scalar() 461 crypto_bignum_deinit(scalar, 0); in eap_pwd_get_scalar() 462 scalar = NULL; in eap_pwd_get_scalar() 465 return scalar; in eap_pwd_get_scalar() 471 struct crypto_bignum *scalar) in eap_pwd_get_rand_mask() argument 474 _rand, _mask, scalar); in eap_pwd_get_rand_mask()
|
D | eap_pwd_common.h | 75 struct crypto_bignum *scalar);
|
/hostap-3.7.0/src/common/ |
D | dragonfly.c | 197 struct crypto_bignum *scalar) in dragonfly_generate_scalar() argument 206 crypto_bignum_add(_rand, _mask, scalar) == 0 && in dragonfly_generate_scalar() 207 crypto_bignum_mod(scalar, order, scalar) == 0 && in dragonfly_generate_scalar() 208 !crypto_bignum_is_zero(scalar) && in dragonfly_generate_scalar() 209 !crypto_bignum_is_one(scalar)) in dragonfly_generate_scalar()
|
D | dragonfly.h | 29 struct crypto_bignum *scalar);
|
/hostap-3.7.0/tests/hwsim/ |
D | test_sae.py | 1089 scalar = "f7df19f4a7fef1d3b895ea1de150b7c5a7a705c8ebb31a52b623e0057908bd93" 1092 …=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element_x + elem… 1094 …X_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar[:-2]) 1096 …_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + "ffff" + scalar[:-2]) 1098 …PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr2 + "030001000000" + "ffff" + scalar[:-2]) 1113 scalar = "9e9a959bf2dda875a4a29ce9b2afef46f2d83060930124cd9e39ddce798cd69a" 1119 …=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element_x + elem… 1136 …scalar = "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000… 1139 …CESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element) 1158 scalar = "033d3635b39666ed427fd4a3e7d37acec2810afeaf1687f746a14163ff0e6d03" [all …]
|
D | test_eap_proto.py | 7448 … scalar = binascii.unhexlify("450f31e058cf2ac2636a5d6e2b3c70b1fcc301957f0716e77f13aa69f9a2e5bd") 7449 payload = struct.pack(">B", 0x02) + element + scalar 7474 … scalar = binascii.unhexlify("450f31e058cf2ac2636a5d6e2b3c70b1fcc301957f0716e77f13aa69f9a2e5bd") 7475 payload = struct.pack(">B", 0x02) + element + scalar 7734 def run_eap_proto_pwd_invalid_scalar(dev, apdev, scalar, valid_scalar=False): argument 7757 …615d3a2c19bdf6826eb6f5efa303aed86af3a072ed819d518d620adb2659f0e84c4f8b739629db8c93088cfc") + scalar 7947 def run_eap_proto_pwd_invalid_scalar_peer(dev, apdev, scalar, argument 7955 msg = resp[0:20] + resp[20:148] + scalar
|
/hostap-3.7.0/src/eap_server/ |
D | eap_server_pwd.c | 239 u8 *scalar, *element; in eap_pwd_build_commit_req() local 295 scalar = wpabuf_put(data->outbuf, order_len); in eap_pwd_build_commit_req() 296 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_build_commit_req()
|
/hostap-3.7.0/src/eap_peer/ |
D | eap_pwd.c | 361 u8 *scalar, *element; in eap_pwd_perform_commit_exchange() local 662 scalar = wpabuf_put(data->outbuf, order_len); in eap_pwd_perform_commit_exchange() 669 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_perform_commit_exchange()
|
/hostap-3.7.0/hostapd/ |
D | ChangeLog | 91 - verify peer scalar/element
|
/hostap-3.7.0/wpa_supplicant/ |
D | ChangeLog | 106 - verify server scalar/element
|