Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 25 of 32) sorted by relevance

12

/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_shared_secret.c34 int ecc_shared_secret(ecc_key *private_key, ecc_key *public_key, in ecc_shared_secret() argument
42 LTC_ARGCHK(private_key != NULL); in ecc_shared_secret()
48 if (private_key->type != PK_PRIVATE) { in ecc_shared_secret()
52 if (ltc_ecc_is_valid_idx(private_key->idx) == 0 || ltc_ecc_is_valid_idx(public_key->idx) == 0) { in ecc_shared_secret()
56 if (XSTRCMP(private_key->dp->name, public_key->dp->name) != 0) { in ecc_shared_secret()
71 …if ((err = mp_read_radix(prime, (char *)private_key->dp->prime, 16)) != CRYPT_OK) … in ecc_shared_secret()
72 …if ((err = ltc_mp.ecc_ptmul(private_key->k, &public_key->pubkey, result, prime, 1)) != CRYPT_OK) … in ecc_shared_secret()
/external/bluetooth/glib/glib/
Dgthread.h95 gpointer (*private_get) (GPrivate *private_key);
96 void (*private_set) (GPrivate *private_key,
208 #define g_private_get(private_key) G_THREAD_CF (private_get, \ argument
209 ((gpointer)private_key), \
210 (private_key))
211 #define g_private_set(private_key, value) G_THREAD_CF (private_set, \ argument
212 (void) (private_key = \
214 (private_key, value))
255 void g_static_private_init (GStaticPrivate *private_key);
256 gpointer g_static_private_get (GStaticPrivate *private_key);
[all …]
Dgthread.c414 g_static_private_init (GStaticPrivate *private_key) in g_static_private_init() argument
416 private_key->index = 0; in g_static_private_init()
420 g_static_private_get (GStaticPrivate *private_key) in g_static_private_get() argument
429 if (!private_key->index) in g_static_private_get()
431 else if (private_key->index <= array->len) in g_static_private_get()
433 private_key->index - 1).data; in g_static_private_get()
439 g_static_private_set (GStaticPrivate *private_key, in g_static_private_set() argument
455 if (!private_key->index) in g_static_private_set()
459 if (!private_key->index) in g_static_private_set()
463 private_key->index = in g_static_private_set()
[all …]
/external/wpa_supplicant/
Dtls_openssl.c63 EVP_PKEY *private_key; /* the private key if using engine */ member
827 conn->private_key = ENGINE_load_private_key(conn->engine, in tls_engine_init()
829 if (!conn->private_key) { in tls_engine_init()
844 if (conn->private_key) { in tls_engine_init()
845 EVP_PKEY_free(conn->private_key); in tls_engine_init()
846 conn->private_key = NULL; in tls_engine_init()
860 if (conn->private_key) { in tls_engine_deinit()
861 EVP_PKEY_free(conn->private_key); in tls_engine_deinit()
862 conn->private_key = NULL; in tls_engine_deinit()
1501 static int tls_read_pkcs12(SSL_CTX *ssl_ctx, SSL *ssl, const char *private_key, in tls_read_pkcs12() argument
[all …]
Dtls_gnutls.c595 if (params->client_cert && params->private_key) { in tls_connection_set_params()
598 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params()
605 params->private_key, GNUTLS_X509_FMT_DER); in tls_connection_set_params()
613 } else if (params->private_key) { in tls_connection_set_params()
619 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params()
715 if (params->client_cert && params->private_key) { in tls_global_set_params()
719 params->private_key, GNUTLS_X509_FMT_PEM); in tls_global_set_params()
725 params->private_key, GNUTLS_X509_FMT_DER); in tls_global_set_params()
733 } else if (params->private_key) { in tls_global_set_params()
739 global->xcred, params->private_key, in tls_global_set_params()
Drsa.c25 int private_key; /* whether private key is set */ member
144 key->private_key = 1; in crypto_rsa_import_private_key()
256 if (use_private && !key->private_key) in crypto_rsa_exptmod()
Deap_tls_common.c54 params->private_key = (char *) config->private_key; in eap_tls_params_from_conf1()
71 params->private_key = (char *) config->private_key2; in eap_tls_params_from_conf2()
98 eap_tls_check_blob(sm, &params->private_key, in eap_tls_params_from_conf()
Deap_tls.c38 ((sm->init_phase2 ? config->private_key2 : config->private_key) in eap_tls_init()
56 } else if (config->private_key && !config->private_key_passwd) in eap_tls_init()
Dtlsv1_client.h53 const char *private_key,
Dconfig_ssid.h334 u8 *private_key; member
Dtls.h87 const char *private_key; member
Dtls_internal.c130 params->private_key, in tls_connection_set_params()
Dtlsv1_client.c2579 const char *private_key, in tlsv1_client_set_private_key() argument
2591 if (private_key) { in tlsv1_client_set_private_key()
2596 buf = (u8 *) os_readfile(private_key, &len); in tlsv1_client_set_private_key()
2599 private_key); in tlsv1_client_set_private_key()
Dconfig.c1154 { STR(private_key) },
1331 os_free(ssid->private_key); in wpa_config_free_ssid()
Dconfig_file.c599 STR(private_key); in wpa_config_write_network()
Dconfig_winreg.c749 STR(private_key); in wpa_config_write_network()
/external/openssl/crypto/asn1/
Dn_pkey.c76 ASN1_OCTET_STRING *private_key; member
102 ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
149 pkey->private_key->length=rsalen; in i2d_RSA_NET()
177 pkey->private_key->data = zz; in i2d_RSA_NET()
196 OPENSSL_cleanse(pkey->private_key->data, rsalen); in i2d_RSA_NET()
325 zz=pkey->private_key->data; in d2i_RSA_NET_2()
326 if ((ret=d2i_RSAPrivateKey(a,&zz,pkey->private_key->length)) == NULL) in d2i_RSA_NET_2()
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_shared_secret.c29 int dsa_shared_secret(void *private_key, void *base, in dsa_shared_secret() argument
37 LTC_ARGCHK(private_key != NULL); in dsa_shared_secret()
47 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) { in dsa_shared_secret()
/external/bluetooth/glib/gthread/
Dgthread-posix.c277 g_private_set_posix_impl (GPrivate * private_key, gpointer value) in g_private_set_posix_impl() argument
279 if (!private_key) in g_private_set_posix_impl()
281 pthread_setspecific (*(pthread_key_t *) private_key, value); in g_private_set_posix_impl()
285 g_private_get_posix_impl (GPrivate * private_key) in g_private_get_posix_impl() argument
287 if (!private_key) in g_private_get_posix_impl()
290 return pthread_getspecific (*(pthread_key_t *) private_key); in g_private_get_posix_impl()
294 posix_check_cmd (pthread_getspecific (*(pthread_key_t *) private_key, in g_private_get_posix_impl()
Dgthread-win32.c350 g_private_set_win32_impl (GPrivate * private_key, gpointer value) in g_private_set_win32_impl() argument
353 guint index = GPOINTER_TO_UINT (private_key); in g_private_set_win32_impl()
368 g_private_get_win32_impl (GPrivate * private_key) in g_private_get_win32_impl() argument
371 guint index = GPOINTER_TO_UINT (private_key); in g_private_get_win32_impl()
/external/wpa_supplicant/examples/
Dwpa2-eap-ccmp.conf13 private_key="/etc/cert/user.p12"
/external/bluetooth/glib/docs/reference/glib/
Dglib-overrides.txt185 GPrivate *private_key
191 GPrivate *private_key, gpointer data
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_pk.h228 int ecc_shared_secret(ecc_key *private_key, ecc_key *public_key,
357 int dsa_shared_secret(void *private_key, void *base,
/external/openssl/apps/
Dopenssl-vms.cnf50 private_key = $dir.private]cakey.pem# The private key
Dopenssl.cnf50 private_key = $dir/private/cakey.pem# The private key

12