Searched refs:hashed_pin_salt_length (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1450 uint64_t hashed_pin_salt_length, new_hashed_pin_len, swaped_val; in soft_keystore_setpin() local 1596 if (readn_nointr(fd, (char *)&hashed_pin_salt_length, in soft_keystore_setpin() 1601 if (writen_nointr(tmp_ks_fd, (void *)&hashed_pin_salt_length, in soft_keystore_setpin() 1606 hashed_pin_salt_length = SWAP64(hashed_pin_salt_length); in soft_keystore_setpin() 1608 hashed_pin_salt = malloc(hashed_pin_salt_length + 1); in soft_keystore_setpin() 1613 if ((readn_nointr(fd, hashed_pin_salt, hashed_pin_salt_length)) != in soft_keystore_setpin() 1614 (ssize_t)hashed_pin_salt_length) { in soft_keystore_setpin() 1619 if ((writen_nointr(tmp_ks_fd, hashed_pin_salt, hashed_pin_salt_length)) in soft_keystore_setpin() 1620 != (ssize_t)hashed_pin_salt_length) { in soft_keystore_setpin() 1625 hashed_pin_salt[hashed_pin_salt_length] = '\0'; in soft_keystore_setpin()
|