Home
last modified time | relevance | path

Searched refs:pubk (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dgencsr.c56 KMF_KEY_HANDLE pubk, prik; in gencsr_pkcs11() local
80 keyAlg, keylen, tokencred, curveoid, &prik, &pubk); in gencsr_pkcs11()
84 SET_VALUE(kmf_set_csr_pubkey(kmfhandle, &pubk, &csr), "keypair"); in gencsr_pkcs11()
127 &pubk, sizeof (KMF_KEY_HANDLE)); in gencsr_pkcs11()
177 KMF_KEY_HANDLE pubk, prik; in gencsr_file() local
211 fmt, outkey, &prik, &pubk); in gencsr_file()
215 SET_VALUE(kmf_set_csr_pubkey(kmfhandle, &pubk, &csr), in gencsr_file()
272 KMF_KEY_HANDLE pubk, prik; in gencsr_nss() local
290 (void) memset(&pubk, 0, sizeof (pubk)); in gencsr_nss()
300 &prik, &pubk); in gencsr_nss()
[all …]
H A Dgenkeypair.c54 KMF_KEY_HANDLE pubk, prik; in genkeypair_pkcs11() local
104 KMF_PUBKEY_HANDLE_ATTR, &pubk, in genkeypair_pkcs11()
125 *outPubKey = pubk; in genkeypair_pkcs11()
138 KMF_KEY_HANDLE pubk, prik; in genkeypair_file() local
200 KMF_PUBKEY_HANDLE_ATTR, &pubk, in genkeypair_file()
217 *outPubKey = pubk; in genkeypair_file()
233 KMF_KEY_HANDLE pubk, prik; in genkeypair_nss() local
292 KMF_PUBKEY_HANDLE_ATTR, &pubk, in genkeypair_nss()
312 *outPubKey = pubk; in genkeypair_nss()
H A Dgencert.c56 KMF_KEY_HANDLE pubk, prik; in gencert_pkcs11() local
99 keytype, keylength, tokencred, curveoid, &prik, &pubk); in gencert_pkcs11()
103 SET_VALUE(kmf_set_cert_pubkey(kmfhandle, &pubk, &signedCert), in gencert_pkcs11()
207 KMF_KEY_HANDLE_ATTR, &pubk, sizeof (KMF_KEY_HANDLE)); in gencert_pkcs11()
255 KMF_KEY_HANDLE pubk, prik; in gencert_file() local
305 fmt, outkey, &prik, &pubk); in gencert_file()
309 SET_VALUE(kmf_set_cert_pubkey(kmfhandle, &pubk, &signedCert), in gencert_file()
420 KMF_KEY_HANDLE pubk, prik; in gencert_nss() local
457 &prik, &pubk); in gencert_nss()
461 SET_VALUE(kmf_set_cert_pubkey(kmfhandle, &pubk, &signedCert), in gencert_nss()
/titanic_44/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c735 KMF_KEY_HANDLE pubk, prik; in create_csr() local
798 (void) memset(&pubk, 0, sizeof (pubk)); in create_csr()
816 KMF_PUBKEY_HANDLE_ATTR, &pubk, sizeof (KMF_KEY_HANDLE)); in create_csr()
845 SET_VALUE(kmf_set_csr_pubkey(kmfhandle, &pubk, &csr), "keypair"); in create_csr()