| /freebsd-12-stable/crypto/heimdal/lib/hx509/ |
| D | collector.c | 36 struct private_key { struct 38 hx509_private_key private_key; member 47 struct private_key **data; argument 104 free_private_key(struct private_key *key) in free_private_key() 107 if (key->private_key) in free_private_key() 108 hx509_private_key_free(&key->private_key); in free_private_key() 117 hx509_private_key private_key, in _hx509_collector_private_key_add() argument 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() [all …]
|
| D | crypto.c | 77 } private_key; member 453 sig->length = ECDSA_size(signer->private_key.ecdsa); in ecdsa_create_signature() 465 sig->data, &siglen, signer->private_key.ecdsa); in ecdsa_create_signature() 503 group = EC_KEY_get0_group(signer->private_key.ecdsa); in ecdsa_available() 723 sig->length = RSA_size(signer->private_key.rsa); in rsa_create_signature() 733 signer->private_key.rsa, in rsa_create_signature() 757 hx509_private_key private_key) in rsa_private_key_import() argument 763 private_key->private_key.rsa = in rsa_private_key_import() 765 if (private_key->private_key.rsa == NULL) { in rsa_private_key_import() 770 private_key->signature_alg = ASN1_OID_ID_PKCS1_SHA1WITHRSAENCRYPTION; in rsa_private_key_import() [all …]
|
| D | cert.c | 81 hx509_private_key private_key; member 231 (*cert)->private_key = NULL; in hx509_cert_init() 310 _hx509_cert_assign_key(hx509_cert cert, hx509_private_key private_key) in _hx509_cert_assign_key() argument 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() 344 hx509_private_key_free(&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() [all …]
|
| D | hxtool.c | 1752 hx509_private_key private_key = NULL; in hxtool_ca() local 1813 ret = read_private_key(opt->ca_private_key_string, &private_key); in hxtool_ca() 1817 ret = hx509_private_key2SPKI(context, private_key, &spki); in hxtool_ca() 1822 cert_key = private_key; in hxtool_ca() 1867 private_key = cert_key; in hxtool_ca() 1976 ret = hx509_ca_sign_self(context, tbs, private_key, &cert); in hxtool_ca() 2017 if (private_key != cert_key) in hxtool_ca() 2018 hx509_private_key_free(&private_key); in hxtool_ca()
|
| /freebsd-12-stable/crypto/openssl/crypto/ec/curve448/ |
| D | curve448_local.h | 13 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]);
|
| D | eddsa.c | 339 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()
|
| D | curve448.c | 717 int X448(uint8_t out_shared_key[56], const uint8_t private_key[56], in X448() 720 return x448_int(out_shared_key, peer_public_value, private_key) in X448() 725 const uint8_t private_key[56]) in X448_public_from_private() 727 x448_derive_public_key(out_public_value, private_key); in X448_public_from_private()
|
| /freebsd-12-stable/contrib/bearssl/tools/ |
| 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()
|
| 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-12-stable/contrib/wpa/wpa_supplicant/ |
| D | wpa_supplicant.conf | 1728 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"
|
| D | interworking.c | 704 (cred->private_key == NULL || in nai_realm_find_eap() 705 cred->private_key[0] == '\0') && in nai_realm_find_eap() 711 cred->private_key ? cred->private_key : "NULL", in nai_realm_find_eap() 721 if (((cred->private_key && cred->private_key[0]) || in nai_realm_find_eap() 1526 if (cred->private_key && in interworking_set_eap_params() 1527 os_strncmp(cred->private_key, "keystore://", 11) == 0) { in interworking_set_eap_params() 1531 cred->private_key + 11) < 0 || in interworking_set_eap_params() 1536 if (cred->private_key && cred->private_key[0] && in interworking_set_eap_params() 1537 wpa_config_set_quoted(ssid, "private_key", cred->private_key) < 0) in interworking_set_eap_params()
|
| /freebsd-12-stable/crypto/openssl/crypto/asn1/ |
| D | n_pkey.c | 28 ASN1_OCTET_STRING *private_key; 53 ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
|
| /freebsd-12-stable/contrib/wpa/src/crypto/ |
| 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() 552 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params() 557 conn->xcred, 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() 594 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params() 793 if (params->client_cert && params->private_key) { in tls_global_set_params() [all …]
|
| D | tls_openssl.c | 240 EVP_PKEY *private_key; /* the private key if using engine */ member 1192 conn->private_key = EVP_PKEY_from_keystore(key_id); in tls_engine_init() 1193 if (!conn->private_key) { in tls_engine_init() 1245 conn->private_key = ENGINE_load_private_key(conn->engine, in tls_engine_init() 1248 if (!conn->private_key) { in tls_engine_init() 1285 if (conn->private_key) { in tls_engine_init() 1286 EVP_PKEY_free(conn->private_key); in tls_engine_init() 1287 conn->private_key = NULL; in tls_engine_init() 1301 if (conn->private_key) { in tls_engine_deinit() 1302 EVP_PKEY_free(conn->private_key); in tls_engine_deinit() [all …]
|
| D | tls_wolfssl.c | 513 const char *private_key, in tls_connection_private_key() argument 522 if (!private_key && !private_key_blob) in tls_connection_private_key() 546 if (!ok && private_key) { in tls_connection_private_key() 547 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key() 551 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key() 1284 if (tls_connection_private_key(tls_ctx, conn, params->private_key, in tls_connection_set_params() 1394 static int tls_global_private_key(void *ssl_ctx, const char *private_key, in tls_global_private_key() argument 1401 if (!private_key) in tls_global_private_key() 1413 if (wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key() 1415 wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/tls/ |
| 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()
|
| D | tlsv1_cred.h | 41 const char *private_key,
|
| D | tlsv1_cred.c | 1037 const char *private_key, in tlsv1_set_private_key() argument 1050 if (private_key) { in tlsv1_set_private_key() 1055 buf = (u8 *) os_readfile(private_key, &len); in tlsv1_set_private_key() 1058 private_key); in tlsv1_set_private_key()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/examples/ |
| D | wpa2-eap-ccmp.conf | 13 private_key="/etc/cert/user.p12"
|
| /freebsd-12-stable/contrib/wpa/src/ap/ |
| D | authsrv.c | 235 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init() 266 params.private_key = hapd->conf->private_key; in authsrv_init()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/doc/docbook/ |
| 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-12-stable/contrib/wpa/src/eap_peer/ |
| D | eap_config.h | 97 char *private_key; member
|
| D | eap_tls.c | 46 if (!cert->private_key && cert->engine == 0) { in eap_tls_init() 66 } else if (cert->private_key && !cert->private_key_passwd) { in eap_tls_init()
|
| /freebsd-12-stable/crypto/openssl/doc/man1/ |
| D | tsget.pod | 16 [B<-k> private_key.pem] 82 =item B<-k> private_key.pem 85 <private_key.pem> must contain the private key of the user. The private key
|
| /freebsd-12-stable/crypto/openssl/crypto/ec/ |
| D | ec_local.h | 658 const uint8_t public_key[32], const uint8_t private_key[32]); 662 const uint8_t private_key[32]); 664 int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32], 667 const uint8_t private_key[32]);
|