Searched refs:crypt_salt (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1447 CK_BYTE *crypt_salt = NULL, *hmac_salt = NULL; local
1517 crypt_salt = malloc(KS_KEY_SALT_SIZE);
1518 if (crypt_salt == NULL) {
1521 if (readn_nointr(fd, (char *)crypt_salt, KS_KEY_SALT_SIZE)
1539 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) {
1569 (CK_BYTE **)&crypt_salt) != CKR_OK) {
1573 if (writen_nointr(tmp_ks_fd, (void *)crypt_salt,
1766 if (crypt_salt != NULL) {
1767 free(crypt_salt);
1806 CK_BYTE *crypt_salt local
2854 CK_BYTE crypt_salt[KS_KEY_SALT_SIZE], tmp_buf[KS_KEY_SALT_SIZE]; local
[all...]

Completed in 46 milliseconds