Home
last modified time | relevance | path

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

123

/freebsd-14.2/crypto/heimdal/lib/hx509/
H A Dcollector.c36 struct private_key { struct
38 hx509_private_key private_key; argument
47 struct private_key **data; argument
107 if (key->private_key) in free_private_key()
121 struct private_key *key; in _hx509_collector_private_key_add()
143 if (private_key) { in _hx509_collector_private_key_add()
144 key->private_key = private_key; in _hx509_collector_private_key_add()
149 &key->private_key); in _hx509_collector_private_key_add()
175 struct private_key *value, in match_localkeyid()
196 if (value->private_key) in match_localkeyid()
[all …]
H A Dcrypto.c77 } private_key; member
763 private_key->private_key.rsa = in rsa_private_key_import()
765 if (private_key->private_key.rsa == NULL) { in rsa_private_key_import()
811 i2d_RSAPublicKey(private_key->private_key.rsa, &pp); in rsa_private_key2SPKI()
829 private_key->private_key.rsa = RSA_new(); in rsa_generate_private_key()
830 if (private_key->private_key.rsa == NULL) { in rsa_generate_private_key()
991 if (private_key->private_key.ecdsa == NULL) { in ecdsa_private_key_import()
1158 private_key->private_key.dsa =
1160 if (private_key->private_key.dsa == NULL)
2989 if (private_key->private_key.rsa == NULL) in match_keys_rsa()
[all …]
H A Dcert.c81 hx509_private_key private_key; member
231 (*cert)->private_key = NULL; in hx509_cert_init()
312 if (cert->private_key) in _hx509_cert_assign_key()
313 hx509_private_key_free(&cert->private_key); in _hx509_cert_assign_key()
314 cert->private_key = _hx509_private_key_ref(private_key); in _hx509_cert_assign_key()
343 if (cert->private_key) in hx509_cert_free()
1580 return p->private_key; in _hx509_cert_private_key()
1586 return p->private_key ? 1 : 0; in hx509_cert_have_private_key()
1593 if (p->private_key == NULL) in _hx509_cert_private_key_exportable()
1608 if (p->private_key == NULL) { in _hx509_cert_private_decrypt()
[all …]
/freebsd-14.2/crypto/openssl/include/crypto/
H A Decx.h87 int ossl_x25519(uint8_t out_shared_key[32], const uint8_t private_key[32],
90 const uint8_t private_key[32]);
94 const uint8_t private_key[32],
98 const uint8_t public_key[32], const uint8_t private_key[32],
107 const uint8_t private_key[57], const char *propq);
111 const uint8_t private_key[57], const uint8_t *context,
120 ossl_x448(uint8_t out_shared_key[56], const uint8_t private_key[56],
124 const uint8_t private_key[56]);
/freebsd-14.2/contrib/bearssl/tools/
H A Dkeys.c34 static private_key *
39 private_key *sk; in decode_key()
97 private_key *
102 private_key *sk; in read_private_key()
152 free_private_key(private_key *sk) in free_private_key()
H A Dbrssl.h455 } private_key; typedef
461 private_key *read_private_key(const char *fname);
466 void free_private_key(private_key *sk);
/freebsd-14.2/crypto/openssl/crypto/ec/curve448/
H A Deddsa.c378 const uint8_t private_key[57], const uint8_t *context, in ossl_ed448_sign()
381 return ossl_c448_ed448_sign(ctx, out_sig, private_key, public_key, message, in ossl_ed448_sign()
398 const uint8_t public_key[57], const uint8_t private_key[57], in ossl_ed448ph_sign()
401 return ossl_c448_ed448_sign_prehash(ctx, out_sig, private_key, public_key, in ossl_ed448ph_sign()
419 const uint8_t private_key[57], const char *propq) in ossl_ed448_public_from_private()
421 return ossl_c448_ed448_derive_public_key(ctx, out_public_key, private_key, in ossl_ed448_public_from_private()
H A Dcurve448_local.h15 const uint8_t public_key[57], const uint8_t private_key[57],
/freebsd-14.2/crypto/openssl/crypto/asn1/
H A Dn_pkey.c28 ASN1_OCTET_STRING *private_key; member
53 ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant.conf1817 private_key="/etc/cert/user.prv"
1931 private_key="/etc/cert/user.prv"
2066 private_key="/etc/cert/user.prv"
2084 private_key="pkcs11:manufacturer=piv_II;id=%01"
H A Deapol_test.c678 os_free(e->radius_conf->auth_server->private_key); in test_eapol_clean()
1019 const char *private_key, in wpa_init_conf() argument
1065 if (private_key) in wpa_init_conf()
1066 as->private_key = os_strdup(private_key); in wpa_init_conf()
1341 char *private_key = NULL, *private_key_passwd = NULL; in main() local
1396 private_key = optarg; in main()
1551 ca_cert, client_cert, private_key, private_key_passwd, in main()
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dtls_gnutls.c546 if (params->client_cert && params->private_key) { in tls_connection_set_params()
549 params->client_cert, params->private_key); in tls_connection_set_params()
567 params->private_key, GNUTLS_X509_FMT_PEM, in tls_connection_set_params()
572 params->private_key, GNUTLS_X509_FMT_PEM); in tls_connection_set_params()
586 } else if (params->private_key) { in tls_connection_set_params()
592 params->private_key); in tls_connection_set_params()
793 if (params->client_cert && params->private_key) { in tls_global_set_params()
797 params->private_key, GNUTLS_X509_FMT_DER); in tls_global_set_params()
803 params->private_key, GNUTLS_X509_FMT_PEM); in tls_global_set_params()
811 } else if (params->private_key) { in tls_global_set_params()
[all …]
H A Dtls_openssl.c1273 if (!conn->private_key) { in tls_engine_init()
1328 if (!conn->private_key) { in tls_engine_init()
1365 if (conn->private_key) { in tls_engine_init()
1367 conn->private_key = NULL; in tls_engine_init()
1381 if (conn->private_key) { in tls_engine_deinit()
1383 conn->private_key = NULL; in tls_engine_deinit()
4044 while (!ok && private_key) { in tls_connection_private_key()
4093 if (private_key == NULL) in tls_global_private_key()
5380 if (params->private_key && in tls_connection_set_params()
5384 params->private_key); in tls_connection_set_params()
[all …]
H A Dtls_wolfssl.c526 const char *private_key, in tls_connection_private_key() argument
535 if (!private_key && !private_key_blob) in tls_connection_private_key()
570 if (!ok && private_key) { in tls_connection_private_key()
571 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
576 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
1319 if (tls_connection_private_key(tls_ctx, conn, params->private_key, in tls_connection_set_params()
1434 if (!private_key) in tls_global_private_key()
1446 if (wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
1448 wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
1545 if (tls_global_private_key(tls_ctx, params->private_key, in tls_global_set_params()
[all …]
/freebsd-14.2/contrib/wireguard-tools/
H A Dipc-freebsd.h110 if (binary && size == sizeof(dev->private_key)) { in kernel_get_device()
111 memcpy(dev->private_key, binary, sizeof(dev->private_key)); in kernel_get_device()
272 nvlist_add_binary(nvl_device, "private-key", dev->private_key, sizeof(dev->private_key)); in kernel_set_device()
H A Dipc-uapi.h45 key_to_hex(hex, dev->private_key); in userspace_set_device()
176 if (!key_from_hex(dev->private_key, value)) in userspace_get_device()
178 curve25519_generate_public(dev->public_key, dev->private_key); in userspace_get_device()
H A Dcontainers.h84 uint8_t private_key[WG_KEY_LEN]; member
/freebsd-14.2/contrib/wpa/src/tls/
H A Drsa.c18 int private_key; /* whether private key is set */ member
155 key->private_key = 1; in crypto_rsa_import_private_key()
263 if (use_private && !key->private_key) in crypto_rsa_exptmod()
H A Dtlsv1_cred.h41 const char *private_key,
/freebsd-14.2/contrib/wpa/wpa_supplicant/examples/
H A Dwpa2-eap-ccmp.conf13 private_key="/etc/cert/user.p12"
/freebsd-14.2/contrib/wpa/src/eap_peer/
H A Deap_config.h97 char *private_key; member
/freebsd-14.2/contrib/wpa/src/ap/
H A Dauthsrv.c291 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
322 params.private_key = hapd->conf->private_key; in authsrv_init()
/freebsd-14.2/contrib/wpa/wpa_supplicant/doc/docbook/
H A Dwpa_supplicant.conf.sgml74 private_key="/etc/cert/user.prv"
139 private_key="/etc/cert/user.prv"
168 private_key="/etc/cert/user.prv"
/freebsd-14.2/contrib/wpa/src/radius/
H A Dradius_client.h66 char *private_key; member
/freebsd-14.2/crypto/openssl/test/recipes/90-test_includes_data/conf-includes/
H A Dincludes1.cnf23 private_key = $dir/private/CAkey.pem# The private key

123