| /freebsd-14.2/crypto/heimdal/lib/hx509/ |
| H A D | collector.c | 36 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 D | crypto.c | 77 } 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 D | cert.c | 81 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 D | ecx.h | 87 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 D | keys.c | 34 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 D | brssl.h | 455 } 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 D | eddsa.c | 378 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 D | curve448_local.h | 15 const uint8_t public_key[57], const uint8_t private_key[57],
|
| /freebsd-14.2/crypto/openssl/crypto/asn1/ |
| H A D | n_pkey.c | 28 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 D | wpa_supplicant.conf | 1817 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 D | eapol_test.c | 678 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 D | tls_gnutls.c | 546 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 D | tls_openssl.c | 1273 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 D | tls_wolfssl.c | 526 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 D | ipc-freebsd.h | 110 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 D | ipc-uapi.h | 45 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 D | containers.h | 84 uint8_t private_key[WG_KEY_LEN]; member
|
| /freebsd-14.2/contrib/wpa/src/tls/ |
| H A D | rsa.c | 18 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 D | tlsv1_cred.h | 41 const char *private_key,
|
| /freebsd-14.2/contrib/wpa/wpa_supplicant/examples/ |
| H A D | wpa2-eap-ccmp.conf | 13 private_key="/etc/cert/user.p12"
|
| /freebsd-14.2/contrib/wpa/src/eap_peer/ |
| H A D | eap_config.h | 97 char *private_key; member
|
| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | authsrv.c | 291 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 D | wpa_supplicant.conf.sgml | 74 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 D | radius_client.h | 66 char *private_key; member
|
| /freebsd-14.2/crypto/openssl/test/recipes/90-test_includes_data/conf-includes/ |
| H A D | includes1.cnf | 23 private_key = $dir/private/CAkey.pem# The private key
|