Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1446 CK_BYTE *crypt_salt = NULL, *hmac_salt = NULL; in soft_keystore_setpin() local
1526 hmac_salt = malloc(KS_HMAC_SALT_SIZE); in soft_keystore_setpin()
1527 if (hmac_salt == NULL) { in soft_keystore_setpin()
1530 if (readn_nointr(fd, (char *)hmac_salt, KS_HMAC_SALT_SIZE) in soft_keystore_setpin()
1581 (CK_BYTE **)&hmac_salt) != CKR_OK) { in soft_keystore_setpin()
1587 if (writen_nointr(tmp_ks_fd, (void *)hmac_salt, in soft_keystore_setpin()
1771 freezero(hmac_salt, KS_HMAC_SALT_SIZE); in soft_keystore_setpin()
1806 CK_BYTE *crypt_salt = NULL, *hmac_salt; in soft_keystore_authpin() local
1833 hmac_salt = malloc(KS_HMAC_SALT_SIZE); in soft_keystore_authpin()
1834 if (hmac_salt == NULL) { in soft_keystore_authpin()
[all …]