Searched refs:kmfh (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 217 PK11Cert2KMFCert(KMF_HANDLE *kmfh, CK_OBJECT_HANDLE hObj, in PK11Cert2KMFCert() argument 234 ckrv = C_GetAttributeValue(kmfh->pk11handle, hObj, templ, 1); in PK11Cert2KMFCert() 236 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert() 241 ckrv = C_GetAttributeValue(kmfh->pk11handle, hObj, templ, 1); in PK11Cert2KMFCert() 244 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert() 266 ckrv = C_GetAttributeValue(kmfh->pk11handle, hObj, templ, i); in PK11Cert2KMFCert() 268 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert() 302 ckrv = C_GetAttributeValue(kmfh->pk11handle, hObj, in PK11Cert2KMFCert() 306 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert() 317 ckrv = getObjectLabel(kmfh, hObj, &label); in PK11Cert2KMFCert() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 440 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in PKCS_VerifyData() local 507 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData() 508 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData() 521 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData() 522 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData() 532 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_VerifyData() 533 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData() 545 PKCS_EncryptData(KMF_HANDLE_T kmfh, in PKCS_EncryptData() argument 598 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; in PKCS_EncryptData() 599 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData() [all …]
|
H A D | pk11tokens.c | 552 kmf_get_pk11_handle(KMF_HANDLE_T kmfh) in kmf_get_pk11_handle() argument 554 return (kmfh->pk11handle); in kmf_get_pk11_handle()
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 205 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in nss_authenticate() local 221 SET_ERROR(kmfh, nssrv); in nss_authenticate() 268 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in NSS_ConfigureKeystore() local 287 SET_ERROR(kmfh, err); in NSS_ConfigureKeystore() 312 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in do_nss_init() local 334 SET_ERROR(kmfh, PORT_GetError()); in do_nss_init() 372 nss_getcert_by_label(KMF_HANDLE *kmfh, in nss_getcert_by_label() argument 383 SET_ERROR(kmfh, PORT_GetError()); in nss_getcert_by_label() 589 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in NSS_FindCert() local 635 rv = nss_getcert_by_label(kmfh, certlabel, kmfcerts, num_certs, in NSS_FindCert() [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 402 ssl_cert2KMFDATA(KMF_HANDLE *kmfh, X509 *x509cert, KMF_DATA *cert) in ssl_cert2KMFDATA() argument 412 SET_ERROR(kmfh, ERR_get_error()); in ssl_cert2KMFDATA() 417 SET_SYS_ERROR(kmfh, errno); in ssl_cert2KMFDATA() 428 SET_ERROR(kmfh, ERR_get_error()); in ssl_cert2KMFDATA() 568 load_X509cert(KMF_HANDLE *kmfh, char *issuer, char *subject, KMF_BIGINT *serial, in load_X509cert() argument 590 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert() 606 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert() 615 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert() 651 load_certs(KMF_HANDLE *kmfh, char *issuer, char *subject, KMF_BIGINT *serial, in load_certs() argument 675 rv = kmf_load_cert(kmfh, issuer, subject, serial, validity, in load_certs() [all …]
|