Home
last modified time | relevance | path

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

12345678

/third_party/gstreamer/gstplugins_bad/ext/dtls/
Dgstdtlscertificate.c74 EVP_PKEY *private_key; member
123 priv->private_key = NULL; in gst_dtls_certificate_init()
135 EVP_PKEY_free (priv->private_key); in gst_dtls_certificate_finalize()
136 priv->private_key = NULL; in gst_dtls_certificate_finalize()
202 g_return_if_fail (!priv->private_key); in init_generated()
204 priv->private_key = EVP_PKEY_new (); in init_generated()
206 if (!priv->private_key) { in init_generated()
215 EVP_PKEY_free (priv->private_key); in init_generated()
216 priv->private_key = NULL; in init_generated()
239 EVP_PKEY_free (priv->private_key); in init_generated()
[all …]
/third_party/glib/glib/deprecated/
Dgthread-deprecated.c1301 g_static_private_init (GStaticPrivate *private_key) in g_static_private_init() argument
1303 private_key->index = 0; in g_static_private_init()
1317 g_static_private_get (GStaticPrivate *private_key) in g_static_private_get() argument
1324 if (array && private_key->index != 0 && private_key->index <= array->len) in g_static_private_get()
1328 node = &g_array_index (array, GStaticPrivateNode, private_key->index - 1); in g_static_private_get()
1335 if (G_UNLIKELY (node->owner != private_key)) in g_static_private_get()
1369 g_static_private_set (GStaticPrivate *private_key, in g_static_private_set() argument
1377 if (!private_key->index) in g_static_private_set()
1381 if (!private_key->index) in g_static_private_set()
1385 private_key->index = GPOINTER_TO_UINT (g_thread_free_indices->data); in g_static_private_set()
[all …]
Dgthread.h73 gpointer (*private_get) (GPrivate *private_key);
74 void (*private_set) (GPrivate *private_key,
244 void g_static_private_init (GStaticPrivate *private_key);
247 gpointer g_static_private_get (GStaticPrivate *private_key);
250 void g_static_private_set (GStaticPrivate *private_key,
255 void g_static_private_free (GStaticPrivate *private_key);
/third_party/openssl/crypto/ec/curve448/
Dcurve448_local.h13 int X448(uint8_t out_shared_key[56], const uint8_t private_key[56],
17 const uint8_t private_key[56]);
20 const uint8_t public_key[57], const uint8_t private_key[57],
28 const uint8_t public_key[57], const uint8_t private_key[57],
36 const uint8_t private_key[57]);
Deddsa.c339 const uint8_t public_key[57], const uint8_t private_key[57], in ED448_sign()
342 return c448_ed448_sign(out_sig, private_key, public_key, message, in ED448_sign()
356 const uint8_t public_key[57], const uint8_t private_key[57], in ED448ph_sign()
359 return c448_ed448_sign_prehash(out_sig, private_key, public_key, hash, in ED448ph_sign()
373 const uint8_t private_key[57]) in ED448_public_from_private()
375 return c448_ed448_derive_public_key(out_public_key, private_key) in ED448_public_from_private()
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_server_ssl_cert_config_test.py176 private_key=None, argument
180 private_key=private_key,
191 private_key=CLIENT_KEY_2_PEM,
204 private_key=CLIENT_KEY_2_PEM,
218 private_key=CLIENT_KEY_2_PEM,
232 private_key=CLIENT_KEY_1_PEM,
245 private_key=CLIENT_KEY_2_PEM,
259 private_key=CLIENT_KEY_2_PEM,
274 private_key=CLIENT_KEY_2_PEM,
292 private_key=CLIENT_KEY_2_PEM,
[all …]
D_xds_credentials_test.py40 ((resources.private_key(), resources.certificate_chain()),))
56 ((resources.private_key(), resources.certificate_chain()),))
63 private_key=resources.private_key(),
/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.h148 PemKeyCertPair(absl::string_view private_key, absl::string_view cert_chain) in PemKeyCertPair() argument
149 : private_key_(private_key), cert_chain_(cert_chain) {} in PemKeyCertPair()
164 : private_key_(other.private_key()), cert_chain_(other.cert_chain()) {} in PemKeyCertPair()
166 private_key_ = other.private_key();
172 return this->private_key() == other.private_key() &&
176 const std::string& private_key() const { return private_key_; } in private_key() function
/third_party/grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc41 gpr_free(const_cast<char*>(kp[i].private_key)); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
100 GPR_ASSERT(pem_key_cert_pair->private_key != nullptr); in build_config()
106 config_.pem_key_cert_pair->private_key = in build_config()
107 gpr_strdup(pem_key_cert_pair->private_key); in build_config()
208 GPR_ASSERT(pem_key_cert_pairs[i].private_key != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs()
211 tsi_pairs[i].private_key = gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_convert_grpc_to_tsi_cert_pairs()
252 GPR_ASSERT(pem_key_cert_pairs[i].private_key != nullptr); in grpc_ssl_server_certificate_config_create()
256 config->pem_key_cert_pairs[i].private_key = in grpc_ssl_server_certificate_config_create()
257 gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_ssl_server_certificate_config_create()
266 gpr_free(const_cast<char*>(config->pem_key_cert_pairs[i].private_key)); in grpc_ssl_server_certificate_config_destroy()
/third_party/grpc/test/core/security/
Dssl_credentials_test.cc48 GPR_ASSERT(strncmp(grpc_pairs[i].private_key, tsi_pairs[i].private_key, in test_convert_grpc_to_tsi_cert_pairs()
49 strlen(grpc_pairs[i].private_key)) == 0); in test_convert_grpc_to_tsi_cert_pairs()
/third_party/libcoap/src/
Dcoap_mbedtls.c100 mbedtls_pk_context private_key; member
115 mbedtls_pk_context private_key; member
454 mbedtls_pk_context *private_key, in setup_pki_credentials() argument
472 setup_data->pki_key.key.pem.private_key && in setup_pki_credentials()
473 setup_data->pki_key.key.pem.private_key[0]) { in setup_pki_credentials()
476 mbedtls_pk_init(private_key); in setup_pki_credentials()
486 ret = mbedtls_pk_parse_keyfile(private_key, in setup_pki_credentials()
487 setup_data->pki_key.key.pem.private_key, NULL); in setup_pki_credentials()
494 ret = mbedtls_ssl_conf_own_cert(&m_env->conf, public_cert, private_key); in setup_pki_credentials()
524 setup_data->pki_key.key.pem_buf.private_key && in setup_pki_credentials()
[all …]
Dcoap_tinydtls.c1015 setup_data->pki_key.key.pem_buf.private_key && in coap_dtls_context_set_pki()
1016 setup_data->pki_key.key.pem_buf.private_key[0]) { in coap_dtls_context_set_pki()
1019 setup_data->pki_key.key.pem_buf.private_key); in coap_dtls_context_set_pki()
1022 setup_data->pki_key.key.pem_buf.private_key); in coap_dtls_context_set_pki()
1042 setup_data->pki_key.key.pem_buf.private_key); in coap_dtls_context_set_pki()
1045 setup_data->pki_key.key.pem_buf.private_key); in coap_dtls_context_set_pki()
1076 if (setup_data->pki_key.key.asn1.private_key && in coap_dtls_context_set_pki()
1079 const uint8_t* private_key = setup_data->pki_key.key.asn1.private_key; in coap_dtls_context_set_pki() local
1084 setup_data->pki_key.key.asn1.private_key, in coap_dtls_context_set_pki()
1087 private_key = asn1_temp->s; in coap_dtls_context_set_pki()
[all …]
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc111 result.private_key = in grpc_auth_json_key_create_from_json()
113 if (result.private_key == nullptr) { in grpc_auth_json_key_create_from_json()
148 if (json_key->private_key != nullptr) { in grpc_auth_json_key_destruct()
149 RSA_free(json_key->private_key); in grpc_auth_json_key_destruct()
150 json_key->private_key = nullptr; in grpc_auth_json_key_destruct()
238 EVP_PKEY_set1_RSA(key, json_key->private_key); in compute_and_encode_signature()
/third_party/libcoap/include/coap3/
Dcoap_dtls.h161 const char *private_key; /**< File location of Private Key in PEM format */ member
176 const uint8_t *private_key; /**< PEM buffer Private Key member
190 const uint8_t *private_key; /**< ASN1 (DER) Private Key */ member
203 const char *private_key; /**< pkcs11: URI for Private Key */ member
/third_party/grpc/src/python/grpcio_tests/tests/interop/
Dserver.py50 private_key = resources.private_key()
52 return grpc.ssl_server_credentials(((private_key, certificate_chain),))
/third_party/grpc/test/cpp/client/
Dcredentials_test.cc287 EXPECT_STREQ(pair.private_key.c_str(), in TEST_F()
288 c_config->pem_key_cert_pair_list()[0].private_key()); in TEST_F()
303 EXPECT_STREQ(list[0].private_key.c_str(), "private_key"); in TEST_F()
327 c_arg->key_materials_config->pem_key_cert_pair_list()[0].private_key(), in TEST_F()
365 EXPECT_STREQ(c_pair_list[0].private_key(), "private_key1"); in TEST_F()
367 EXPECT_STREQ(c_pair_list[1].private_key(), "private_key2"); in TEST_F()
369 EXPECT_STREQ(c_pair_list[2].private_key(), "private_key3"); in TEST_F()
398 ssl_pair->private_key = gpr_strdup(test_private_key.c_str()); in TEST_F()
422 EXPECT_STREQ(pair_list[0].private_key(), "private_key"); in TEST_F()
424 EXPECT_STREQ(pair_list[1].private_key(), "private_key3"); in TEST_F()
[all …]
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Drecords.pyx.pxi157 def __cinit__(self, bytes private_key, bytes certificate_chain): argument
158 self.private_key = private_key
160 self.c_pair.private_key = self.private_key
/third_party/libwebsockets/lib/tls/
Dtls-network.c127 const char *private_key) in lws_tls_generic_cert_checks() argument
142 if (!cert || !private_key) in lws_tls_generic_cert_checks()
148 m = (int)lws_tls_use_any_upgrade_check_extant(private_key); in lws_tls_generic_cert_checks()
154 lwsl_vhost_notice(vhost, "Ignoring missing %s or %s", cert, private_key); in lws_tls_generic_cert_checks()
/third_party/node/test/pummel/
Dtest-crypto-dh-hash-modp18.js43 const private_key = group.getPrime('hex'); constant
46 .update(private_key.toUpperCase()).digest('hex');
Dtest-crypto-dh-hash.js49 const private_key = group.getPrime('hex'); constant
52 .update(private_key.toUpperCase()).digest('hex');
/third_party/openssl/crypto/asn1/
Dn_pkey.c28 ASN1_OCTET_STRING *private_key;
53 ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-server.c154 const char *cert, const char *private_key, argument
177 int n = (int)lws_tls_generic_cert_checks(vhost, cert, private_key), m;
179 if (!cert && !private_key)
202 private_key = NULL;
231 if (private_key) {
233 if (SSL_CTX_use_PrivateKey_file(vhost->tls.ssl_ctx, private_key,
244 private_key, error, s);
289 if (lws_tls_alloc_pem_to_der_file(vhost->context, private_key,
392 if (n != LWS_TLS_EXTANT_ALTERNATIVE && private_key) {
394 if (SSL_CTX_use_PrivateKey_file(vhost->tls.ssl_ctx, private_key,
[all …]
/third_party/boost/boost/asio/ssl/
Dcontext.hpp499 const const_buffer& private_key, file_format format);
514 const const_buffer& private_key, file_format format,
562 const const_buffer& private_key, file_format format);
578 const const_buffer& private_key, file_format format,
/third_party/boost/libs/asio/include/boost/asio/ssl/
Dcontext.hpp499 const const_buffer& private_key, file_format format);
514 const const_buffer& private_key, file_format format,
562 const const_buffer& private_key, file_format format);
578 const const_buffer& private_key, file_format format,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_supplicant.conf1728 private_key="/etc/cert/user.prv"
1842 private_key="/etc/cert/user.prv"
1977 private_key="/etc/cert/user.prv"
1995 private_key="pkcs11:manufacturer=piv_II;id=%01"

12345678