Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c867 uint64_t hashed_pin_size; in get_hashed_pin() local
881 if (readn_nointr(fd, (char *)&hashed_pin_size, in get_hashed_pin()
886 hashed_pin_size = SWAP64(hashed_pin_size); in get_hashed_pin()
888 *hashed_pin = malloc(hashed_pin_size + 1); in get_hashed_pin()
893 if ((readn_nointr(fd, *hashed_pin, hashed_pin_size)) in get_hashed_pin()
894 != (ssize_t)hashed_pin_size) { in get_hashed_pin()
895 freezero(*hashed_pin, hashed_pin_size + 1); in get_hashed_pin()
899 (*hashed_pin)[hashed_pin_size] = '\0'; in get_hashed_pin()