/hostap-3.6.0/src/crypto/ |
D | crypto_internal-modexp.c | 19 size_t pubkey_len, pad; in crypto_dh_init() local 28 pubkey_len = prime_len; in crypto_dh_init() 30 pubkey, &pubkey_len) < 0) in crypto_dh_init() 32 if (pubkey_len < prime_len) { in crypto_dh_init() 33 pad = prime_len - pubkey_len; in crypto_dh_init() 34 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 51 if (pubkey_len > prime_len || in crypto_dh_derive_secret() 52 (pubkey_len == prime_len && in crypto_dh_derive_secret() 57 if (!pub || bignum_set_unsigned_bin(pub, pubkey, pubkey_len) < 0 || in crypto_dh_derive_secret() [all …]
|
D | crypto_nettle.c | 310 size_t pubkey_len, pad; in crypto_dh_init() local 319 pubkey_len = prime_len; in crypto_dh_init() 321 pubkey, &pubkey_len) < 0) in crypto_dh_init() 323 if (pubkey_len < prime_len) { in crypto_dh_init() 324 pad = prime_len - pubkey_len; in crypto_dh_init() 325 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 336 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 342 if (pubkey_len > prime_len || in crypto_dh_derive_secret() 343 (pubkey_len == prime_len && in crypto_dh_derive_secret() 348 mpz_import(pub, pubkey_len, 1, 1, 1, 0, pubkey); in crypto_dh_derive_secret() [all …]
|
D | crypto_gnutls.c | 289 size_t pubkey_len, pad; in crypto_dh_init() local 298 pubkey_len = prime_len; in crypto_dh_init() 300 pubkey, &pubkey_len) < 0) in crypto_dh_init() 302 if (pubkey_len < prime_len) { in crypto_dh_init() 303 pad = prime_len - pubkey_len; in crypto_dh_init() 304 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 315 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 321 if (pubkey_len > prime_len || in crypto_dh_derive_secret() 322 (pubkey_len == prime_len && in crypto_dh_derive_secret() 326 if (gcry_mpi_scan(&pub, GCRYMPI_FMT_USG, pubkey, pubkey_len, NULL) != in crypto_dh_derive_secret() [all …]
|
D | crypto_libtomcrypt.c | 703 size_t pubkey_len, pad; in crypto_dh_init() local 712 pubkey_len = prime_len; in crypto_dh_init() 714 pubkey, &pubkey_len) < 0) in crypto_dh_init() 716 if (pubkey_len < prime_len) { in crypto_dh_init() 717 pad = prime_len - pubkey_len; in crypto_dh_init() 718 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 729 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 733 return crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
|
D | crypto_openssl.c | 596 size_t pubkey_len, pad; in crypto_dh_init() local 605 pubkey_len = prime_len; in crypto_dh_init() 607 pubkey, &pubkey_len) < 0) in crypto_dh_init() 609 if (pubkey_len < prime_len) { in crypto_dh_init() 610 pad = prime_len - pubkey_len; in crypto_dh_init() 611 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 622 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 628 pub = BN_bin2bn(pubkey, pubkey_len, NULL); in crypto_dh_derive_secret() 653 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
|
D | crypto.h | 425 const u8 *pubkey, size_t pubkey_len,
|
D | crypto_wolfssl.c | 835 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 851 pubkey_len) != 0) in crypto_dh_derive_secret()
|
/hostap-3.6.0/src/common/ |
D | sae_pk.c | 547 const u8 *pubkey, size_t pubkey_len, u8 *hash) in sae_pk_hash_sig_data() argument 556 sig_data = wpabuf_alloc(tmp->prime_len * 6 + m_len + pubkey_len + in sae_pk_hash_sig_data() 580 wpabuf_put_data(sig_data, pubkey, pubkey_len); in sae_pk_hash_sig_data()
|
D | wpa_common.h | 545 u8 pubkey_len; member
|
D | wpa_common.c | 3701 pasn_params->pubkey_len = *pos++; in wpa_pasn_parse_parameter_ie() 3704 len -= pasn_params->pubkey_len; in wpa_pasn_parse_parameter_ie() 3705 pos += pasn_params->pubkey_len; in wpa_pasn_parse_parameter_ie()
|
/hostap-3.6.0/wpa_supplicant/ |
D | pasn_supplicant.c | 1471 if (!pasn_params.pubkey || !pasn_params.pubkey_len) { in wpas_pasn_auth_rx() 1490 pasn_params.pubkey_len - 1); in wpas_pasn_auth_rx()
|
/hostap-3.6.0/src/ap/ |
D | ieee802_11.c | 3200 if (!pasn_params.pubkey || !pasn_params.pubkey_len) { in handle_auth_pasn_1() 3249 pasn_params.pubkey_len - 1); in handle_auth_pasn_1() 3438 if (pasn_params.pubkey || pasn_params.pubkey_len) { in handle_auth_pasn_3()
|