Home
last modified time | relevance | path

Searched refs:credlen (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dsetpin.c90 oldcred.credlen = old_pinlen; in setpin_nss()
97 newpincred.credlen = new_pinlen; in setpin_nss()
196 oldcred.credlen = old_pinlen; in setpin_pkcs11()
206 newpincred.credlen = new_pinlen; in setpin_pkcs11()
H A Dimport.c146 if (cred != NULL && cred->credlen > 0) { in pk_import_pk12_files()
259 if (tokencred->credlen > 0) { in pk_import_pk12_nss()
527 if (tokencred != NULL && tokencred->credlen > 0) { in pk_import_pk12_pk11()
666 if (cred != NULL && cred->credlen > 0) { in pk_import_keys()
781 if (cred != NULL && cred->credlen > 0) { in pk_import_rawkey()
H A Ddelete.c78 if (cred.credlen > 0) { in pk_destroy_keys()
101 if (cred.credlen > 0) { in pk_destroy_keys()
250 if (tokencred->credlen > 0) { in delete_nss_keys()
453 if (tokencred != NULL && tokencred->credlen > 0) { in delete_pk11_keys()
H A Dcommon.c804 (ulong_t *)&cred->credlen) != CKR_OK) { in get_pk12_password()
806 cred->credlen = 0; in get_pk12_password()
1145 (ulong_t *)&cred->credlen) != CKR_OK) { in get_token_password()
1147 cred->credlen = 0; in get_token_password()
H A Dlist.c375 tokencred->credlen > 0) { in list_pk11_objects()
397 tokencred->credlen > 0) { in list_pk11_objects()
723 if (tokencred != NULL && tokencred->credlen > 0) { in list_nss_objects()
H A Dgencsr.c347 if (tokencred != NULL && tokencred->credlen > 0) { in gencsr_nss()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dksslutil.c65 pk12cred.credlen = strlen(password_buf); in PKCS12_get_rsa_key_certs()
125 creds.credlen = strlen(password_buf); in PEM_get_rsa_key_certs()
H A Dkssladm_create.c177 bufsize += creds->credlen; in kmf_to_kssl()
229 kssl_params->kssl_token.pinlen = creds->credlen; in kmf_to_kssl()
233 bcopy(creds->cred, buf, creds->credlen); in kmf_to_kssl()
234 buf += creds->credlen; in kmf_to_kssl()
367 (CK_UTF8CHAR_PTR)creds->cred, creds->credlen); in get_sensitive_key_data()
600 creds.credlen = strlen(password_buf); in load_from_pkcs11()
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c659 unsigned credlen; in nsldapi_sasl_do_bind() local
709 &credlen, in nsldapi_sasl_do_bind()
722 ccred.bv_len = credlen; in nsldapi_sasl_do_bind()
787 &credlen ); in nsldapi_sasl_do_bind()
796 ccred.bv_len = credlen; in nsldapi_sasl_do_bind()
/titanic_41/usr/src/lib/libelfsign/common/
H A Delfcertlib.c433 pincred.credlen = strlen(pin); in elfcertlib_loadtokenkey()
/titanic_41/usr/src/lib/libkmf/include/
H A Dkmftypes.h153 uint32_t credlen; member
/titanic_41/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c809 cred.credlen = strlen(pin); in create_csr()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c3069 cred->cred, cred->credlen, NULL, 0, in add_cert_to_safe()
3096 cred->cred, cred->credlen, in add_key_to_safe()
3461 if (!PKCS12_set_mac(p12_elem, cred->cred, cred->credlen, in local_export_pk12()
4413 (uint32_t)cred->credlen, &privkeys, &certs, &cacerts); in openssl_import_objects()
4425 (uchar_t *)cred->cred, (uint32_t)cred->credlen, in openssl_import_objects()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c205 cred->credlen)) != CKR_OK) { in pk11_authenticate()
3792 oldcred->credlen); in KMFPK11_SetTokenPin()
3807 (CK_BYTE *)oldcred->cred, oldcred->credlen, in KMFPK11_SetTokenPin()
3808 (CK_BYTE *)newcred->cred, newcred->credlen); in KMFPK11_SetTokenPin()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c207 if (cred == NULL || cred->cred == NULL || cred->credlen == 0 || in nss_authenticate()
1841 pwitem.len = p12cred->credlen; in NSS_ExportPK12()