Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c316 char *hashed_pin = NULL, *hashed_pin_salt = NULL; in create_keystore() local
436 &hashed_pin_salt) < 0) { in create_keystore()
440 if ((hashed_pin_salt == NULL) || (hashed_pin == NULL)) { in create_keystore()
444 hashed_pin_salt_len = (uint64_t)strlen(hashed_pin_salt); in create_keystore()
454 if (writen_nointr(fd, (void *)hashed_pin_salt, in create_keystore()
474 freezero(hashed_pin_salt, hashed_pin_salt_len); in create_keystore()
1450 char *hashed_pin_salt = NULL; in soft_keystore_setpin() local
1609 hashed_pin_salt = malloc(hashed_pin_salt_length + 1); in soft_keystore_setpin()
1610 if (hashed_pin_salt == NULL) { in soft_keystore_setpin()
1614 if ((readn_nointr(fd, hashed_pin_salt, hashed_pin_salt_length)) != in soft_keystore_setpin()
[all …]