Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1449 uint64_t hashed_pin_salt_length, new_hashed_pin_len, swaped_val; in soft_keystore_setpin() local
1597 if (readn_nointr(fd, (char *)&hashed_pin_salt_length, in soft_keystore_setpin()
1602 if (writen_nointr(tmp_ks_fd, (void *)&hashed_pin_salt_length, in soft_keystore_setpin()
1607 hashed_pin_salt_length = SWAP64(hashed_pin_salt_length); in soft_keystore_setpin()
1609 hashed_pin_salt = malloc(hashed_pin_salt_length + 1); in soft_keystore_setpin()
1614 if ((readn_nointr(fd, hashed_pin_salt, hashed_pin_salt_length)) != in soft_keystore_setpin()
1615 (ssize_t)hashed_pin_salt_length) { in soft_keystore_setpin()
1617 hashed_pin_salt_length + 1); in soft_keystore_setpin()
1621 if ((writen_nointr(tmp_ks_fd, hashed_pin_salt, hashed_pin_salt_length)) in soft_keystore_setpin()
1622 != (ssize_t)hashed_pin_salt_length) { in soft_keystore_setpin()
[all …]