Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c104 #define KS_HMAC_SALT_SIZE PBKD2_SALT_SIZE macro
107 #define KS_HASHED_PIN_SALT_LEN_OFFSET (KS_HMAC_SALT_OFFSET + KS_HMAC_SALT_SIZE)
429 if (writen_nointr(fd, (void *)salt, KS_HMAC_SALT_SIZE) in create_keystore()
430 != KS_HMAC_SALT_SIZE) { in create_keystore()
1526 hmac_salt = malloc(KS_HMAC_SALT_SIZE); in soft_keystore_setpin()
1530 if (readn_nointr(fd, (char *)hmac_salt, KS_HMAC_SALT_SIZE) in soft_keystore_setpin()
1531 != KS_HMAC_SALT_SIZE) { in soft_keystore_setpin()
1562 KS_HMAC_SALT_SIZE) != KS_HMAC_SALT_SIZE) { in soft_keystore_setpin()
1564 KS_HMAC_SALT_SIZE); in soft_keystore_setpin()
1567 freezero(new_hmac_salt, KS_HMAC_SALT_SIZE); in soft_keystore_setpin()
[all …]