Home
last modified time | relevance | path

Searched refs:hashed_pin (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.h84 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 DsoftKeystoreUtil.c316 char *hashed_pin = NULL, *hashed_pin_salt = NULL; in create_keystore() local
445 hashed_pin_len = (uint64_t)strlen(hashed_pin); 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()
895 freezero(*hashed_pin, hashed_pin_size + 1); in get_hashed_pin()
896 *hashed_pin = NULL; in get_hashed_pin()
899 (*hashed_pin)[hashed_pin_size] = '\0'; in get_hashed_pin()
1153 rv = get_hashed_pin(fd, hashed_pin); in soft_keystore_getpin()
2881 hashed_pin = NULL; in soft_keystore_pin_initialized()
[all …]