Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c2781 uint64_t hashed_pin_salt_size; in soft_keystore_get_pin_salt() local
2793 if (readn_nointr(fd, (char *)&hashed_pin_salt_size, in soft_keystore_get_pin_salt()
2797 hashed_pin_salt_size = SWAP64(hashed_pin_salt_size); in soft_keystore_get_pin_salt()
2799 *salt = malloc(hashed_pin_salt_size + 1); in soft_keystore_get_pin_salt()
2804 if ((readn_nointr(fd, *salt, hashed_pin_salt_size)) in soft_keystore_get_pin_salt()
2805 != (ssize_t)hashed_pin_salt_size) { in soft_keystore_get_pin_salt()
2809 (*salt)[hashed_pin_salt_size] = '\0'; in soft_keystore_get_pin_salt()