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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c100 #define KS_KEY_SALT_SIZE PBKD2_SALT_SIZE macro
102 #define KS_HMAC_SALT_OFFSET (KS_KEY_SALT_OFFSET + KS_KEY_SALT_SIZE)
314 CK_BYTE salt[KS_KEY_SALT_SIZE];
422 if (writen_nointr(fd, (void *)salt, KS_KEY_SALT_SIZE)
423 != KS_KEY_SALT_SIZE) {
1517 crypt_salt = malloc(KS_KEY_SALT_SIZE);
1521 if (readn_nointr(fd, (char *)crypt_salt, KS_KEY_SALT_SIZE)
1522 != KS_KEY_SALT_SIZE) {
1539 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) {
1549 KS_KEY_SALT_SIZE) !
[all...]

Completed in 59 milliseconds