Home
last modified time | relevance | path

Searched refs:privkey (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c827 KMF_KEY_HANDLE *privkey = NULL; in NSS_CreateKeypair() local
865 privkey = kmf_get_attr_ptr(KMF_PRIVKEY_HANDLE_ATTR, attrlist, numattr); in NSS_CreateKeypair()
866 if (pubkey == NULL || privkey == NULL) in NSS_CreateKeypair()
870 (void) memset(privkey, 0, sizeof (KMF_KEY_HANDLE)); in NSS_CreateKeypair()
974 privkey->kstype = KMF_KEYSTORE_NSS; in NSS_CreateKeypair()
975 privkey->keyalg = keytype; in NSS_CreateKeypair()
976 privkey->keyclass = KMF_ASYM_PRI; in NSS_CreateKeypair()
977 privkey->keylabel = PK11_GetPrivateKeyNickname(NSSprivkey); in NSS_CreateKeypair()
978 privkey->keyp = (void *)NSSprivkey; in NSS_CreateKeypair()
995 privkey->keyp = NULL; in NSS_CreateKeypair()
[all …]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1657 KMF_KEY_HANDLE *pubkey, *privkey; in KMFPK11_CreateKeypair() local
1698 privkey = kmf_get_attr_ptr(KMF_PRIVKEY_HANDLE_ATTR, attlist, numattr); in KMFPK11_CreateKeypair()
1699 if (privkey == NULL) in KMFPK11_CreateKeypair()
1703 (void) memset(privkey, 0, sizeof (KMF_KEY_HANDLE)); in KMFPK11_CreateKeypair()
1727 privkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1728 privkey->keyalg = KMF_RSA; in KMFPK11_CreateKeypair()
1729 privkey->keyclass = KMF_ASYM_PRI; in KMFPK11_CreateKeypair()
1730 privkey->keyp = (void *)priKey; in KMFPK11_CreateKeypair()
1773 privkey->kstype = KMF_KEYSTORE_PK11TOKEN; in KMFPK11_CreateKeypair()
1774 privkey->keyalg = KMF_DSA; in KMFPK11_CreateKeypair()
[all …]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c1462 KMF_KEY_HANDLE *pubkey = NULL, *privkey = NULL; in OpenSSL_CreateKeypair() local
1495 privkey = kmf_get_attr_ptr(KMF_PRIVKEY_HANDLE_ATTR, attrlist, numattr); in OpenSSL_CreateKeypair()
1496 if (privkey == NULL) { in OpenSSL_CreateKeypair()
1502 (void) memset(privkey, 0, sizeof (KMF_KEY_HANDLE)); in OpenSSL_CreateKeypair()
1556 privkey->kstype = KMF_KEYSTORE_OPENSSL; in OpenSSL_CreateKeypair()
1557 privkey->keyalg = KMF_RSA; in OpenSSL_CreateKeypair()
1558 privkey->keyclass = KMF_ASYM_PRI; in OpenSSL_CreateKeypair()
1559 privkey->israw = FALSE; in OpenSSL_CreateKeypair()
1560 privkey->keyp = (void *)eprikey; in OpenSSL_CreateKeypair()
1603 privkey->kstype = KMF_KEYSTORE_OPENSSL; in OpenSSL_CreateKeypair()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h439 char *privkey; member
H A Dns_writes.c2952 ptr->privkey == NULL) { in __s_cvt_publickey()
2978 rc = __s_add_attr(e, "nisSecretkey", ptr->privkey); in __s_cvt_publickey()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2398 data.privkey = tmpprivkey; in genent_publickey()
2420 free(data.privkey); in genent_publickey()