Home
last modified time | relevance | path

Searched refs:privkey_len (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-modexp.c44 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
81 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
Dcrypto_nettle.c335 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
367 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
Dcrypto_gnutls.c314 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
353 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
Dcrypto_libtomcrypt.c728 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
733 return crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
Dcrypto.h424 const u8 *privkey, size_t privkey_len,
Dcrypto_wolfssl.c830 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
846 if (wc_DhAgree(dh, secret, &secret_sz, privkey, privkey_len, pubkey, in crypto_dh_derive_secret()
Dcrypto_openssl.c548 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
580 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
/external/wpa_supplicant_8/src/common/
Ddpp_i.h100 const u8 *privkey, size_t privkey_len);
102 const u8 *privkey, size_t privkey_len);
Ddpp.c3149 size_t privkey_len) in dpp_keygen_configurator() argument
3166 privkey_len); in dpp_keygen_configurator()
3553 size_t privkey_len = 0; in dpp_bootstrap_gen() local
3580 privkey_len = os_strlen(key) / 2; in dpp_bootstrap_gen()
3581 privkey = os_malloc(privkey_len); in dpp_bootstrap_gen()
3583 hexstr2bin(key, privkey, privkey_len) < 0) in dpp_bootstrap_gen()
3587 if (dpp_keygen(bi, curve, privkey, privkey_len) < 0 || in dpp_bootstrap_gen()
3603 bin_clear_free(privkey, privkey_len); in dpp_bootstrap_gen()
3858 size_t privkey_len = 0; in dpp_configurator_add() local
3866 privkey_len = os_strlen(key) / 2; in dpp_configurator_add()
[all …]
Ddpp_crypto.c559 const u8 *privkey, size_t privkey_len) in dpp_set_keypair() argument
569 eckey = d2i_ECPrivateKey(NULL, &privkey, privkey_len); in dpp_set_keypair()
704 const u8 *privkey, size_t privkey_len) in dpp_keygen() argument
718 bi->pubkey = dpp_set_keypair(&bi->curve, privkey, privkey_len); in dpp_keygen()
Ddpp.h553 size_t privkey_len);