Searched refs:hashed_pin (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.h | 84 int soft_keystore_getpin(char **hashed_pin, boolean_t lock_held); 97 CK_RV soft_keystore_pin_initialized(boolean_t *initialized, char **hashed_pin,
|
H A D | softKeystoreUtil.c | 315 char *hashed_pin = NULL, *hashed_pin_salt = NULL; in create_keystore() local 434 if (soft_gen_hashed_pin((CK_CHAR_PTR)SOFT_DEFAULT_PIN, &hashed_pin, in create_keystore() 439 if ((hashed_pin_salt == NULL) || (hashed_pin == NULL)) { in create_keystore() 444 hashed_pin_len = (uint64_t)strlen(hashed_pin); in create_keystore() 465 if (writen_nointr(fd, (void *)hashed_pin, hashed_pin_len) in create_keystore() 865 get_hashed_pin(int fd, char **hashed_pin) in get_hashed_pin() argument 888 *hashed_pin = malloc(hashed_pin_size + 1); in get_hashed_pin() 889 if (*hashed_pin == NULL) { in get_hashed_pin() 893 if ((readn_nointr(fd, *hashed_pin, hashed_pin_size)) in get_hashed_pin() 895 free(*hashed_pin); in get_hashed_pin() [all …]
|