Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-crypto/pktool/
H A Dsetpin.c49 CK_UTF8CHAR_PTR old_pin = NULL, new_pin = NULL; in setpin_nss() local
77 "Re-enter new passphrase:"), &new_pin, &new_pinlen)) != CKR_OK) { in setpin_nss()
96 newpincred.cred = (char *)new_pin; in setpin_nss()
104 if (new_pin) in setpin_nss()
105 free(new_pin); in setpin_nss()
117 CK_UTF8CHAR_PTR old_pin = NULL, new_pin = NULL; in setpin_pkcs11() local
174 "Re-enter new passphrase:"), &new_pin, &new_pinlen)) != CKR_OK) { in setpin_pkcs11()
205 newpincred.cred = (char *)new_pin; in setpin_pkcs11()
224 if (new_pin != NULL) in setpin_pkcs11()
225 free(new_pin); in setpin_pkcs11()
/titanic_50/usr/src/uts/common/sys/crypto/
H A Dimpl.h1199 #define KCF_PROV_SET_PIN(pd, session, old_pin, old_len, new_pin, new_len, \ argument
1203 session, old_pin, old_len, new_pin, new_len, req) : \
1299 size_t old_len, char *new_pin, size_t new_len, crypto_call_req_t *req);
/titanic_50/usr/src/uts/common/crypto/io/
H A Dcrypto.c3608 char *new_pin = NULL; in set_pin() local
3639 new_pin = kmem_alloc(new_pin_len, KM_SLEEP); in set_pin()
3642 new_pin, new_pin_len) != 0) { in set_pin()
3655 new_pin, new_pin_len, NULL, NULL, real_provider); in set_pin()
3671 if (new_pin != NULL) { in set_pin()
3672 bzero(new_pin, new_pin_len); in set_pin()
3673 kmem_free(new_pin, new_pin_len); in set_pin()
H A Ddprov.c4185 char *old_pin, size_t old_pin_len, char *new_pin, size_t new_pin_len, in dprov_set_pin() argument
4198 session_id, new_pin, new_pin_len, old_pin, old_pin_len, NULL, NULL); in dprov_set_pin()
8640 char *new_pin = taskq_req->dr_mgmt_req.mr_pin; in dprov_mgmt_task() local
8661 if (old_pin == NULL || new_pin == NULL) { in dprov_mgmt_task()
8684 bcopy(new_pin, softc->ds_user_pin, new_pin_len); in dprov_mgmt_task()