Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Daltcp_tls.h72 const u8_t *privkey, size_t privkey_len,
81 …cp_tls_config *altcp_tls_create_config_server_privkey_cert(const u8_t *privkey, size_t privkey_len,
93 …eate_config_client_2wayauth(const u8_t *ca, size_t ca_len, const u8_t *privkey, size_t privkey_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c834 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
850 if (wc_DhAgree(dh, secret, &secret_sz, privkey, privkey_len, pubkey, in crypto_dh_derive_secret()
Dcrypto_openssl.c621 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() argument
653 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_i.h97 const u8 *privkey, size_t privkey_len);
99 const u8 *privkey, size_t privkey_len);
Ddpp.c3437 size_t privkey_len, const u8 *pp_key, size_t pp_key_len) in dpp_keygen_configurator() argument
3454 privkey_len); in dpp_keygen_configurator()
3874 size_t privkey_len = 0; in dpp_bootstrap_gen() local
3901 privkey_len = os_strlen(key) / 2; in dpp_bootstrap_gen()
3902 privkey = os_malloc(privkey_len); in dpp_bootstrap_gen()
3904 hexstr2bin(key, privkey, privkey_len) < 0) in dpp_bootstrap_gen()
3908 if (dpp_keygen(bi, curve, privkey, privkey_len) < 0 || in dpp_bootstrap_gen()
3924 bin_clear_free(privkey, privkey_len); in dpp_bootstrap_gen()
4179 size_t privkey_len = 0, pp_key_len = 0; in dpp_configurator_add() local
4188 privkey_len = os_strlen(key) / 2; in dpp_configurator_add()
[all …]
Ddpp_crypto.c264 const u8 *privkey, size_t privkey_len) in dpp_set_keypair() argument
269 key = crypto_ec_key_parse_priv(privkey, privkey_len); in dpp_set_keypair()
313 const u8 *privkey, size_t privkey_len) in dpp_keygen() argument
327 bi->pubkey = dpp_set_keypair(&bi->curve, privkey, privkey_len); in dpp_keygen()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c800 const u8_t *privkey, size_t privkey_len, in altcp_tls_config_server_add_privkey_cert() argument
828 …ret = mbedtls_pk_parse_key(pkey, (const unsigned char *) privkey, privkey_len, privkey_pass, privk… in altcp_tls_config_server_add_privkey_cert()
853 altcp_tls_create_config_server_privkey_cert(const u8_t *privkey, size_t privkey_len, in altcp_tls_create_config_server_privkey_cert() argument
862 if (altcp_tls_config_server_add_privkey_cert(conf, privkey, privkey_len, in altcp_tls_create_config_server_privkey_cert()
904 …eate_config_client_2wayauth(const u8_t *ca, size_t ca_len, const u8_t *privkey, size_t privkey_len, in altcp_tls_create_config_client_2wayauth() argument
931 ret = mbedtls_pk_parse_key(conf->pkey, privkey, privkey_len, privkey_pass, privkey_pass_len); in altcp_tls_create_config_client_2wayauth()
/third_party/libwebsockets/include/libwebsockets/
Dlws-x509.h269 size_t *privkey_len);
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c618 size_t *privkey_len) in lws_tls_acme_sni_csr_create() argument
691 *privkey_len = strlen((const char *)buf); in lws_tls_acme_sni_csr_create()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.h396 const u8 *privkey, size_t privkey_len);
453 size_t privkey_len);
Ddpp.c1301 const u8 *privkey, size_t privkey_len) in dpp_set_keypair() argument
1311 eckey = d2i_ECPrivateKey(NULL, &privkey, privkey_len); in dpp_set_keypair()
1455 const u8 *privkey, size_t privkey_len) in dpp_keygen() argument
1475 bi->pubkey = dpp_set_keypair(&bi->curve, privkey, privkey_len); in dpp_keygen()
6188 size_t privkey_len) in dpp_keygen_configurator() argument
6213 privkey_len); in dpp_keygen_configurator()
8406 size_t privkey_len = 0; in dpp_bootstrap_gen() local
8432 privkey_len = os_strlen(key) / 2; in dpp_bootstrap_gen()
8433 privkey = os_malloc(privkey_len); in dpp_bootstrap_gen()
8435 hexstr2bin(key, privkey, privkey_len) < 0) in dpp_bootstrap_gen()
[all …]
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-server.c957 size_t *privkey_len) argument
1091 *privkey_len = (size_t)bio_len;