Home
last modified time | relevance | path

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

/titanic_50/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]; in create_keystore()
422 if (writen_nointr(fd, (void *)salt, KS_KEY_SALT_SIZE) in create_keystore()
423 != KS_KEY_SALT_SIZE) { in create_keystore()
1517 crypt_salt = malloc(KS_KEY_SALT_SIZE); in soft_keystore_setpin()
1521 if (readn_nointr(fd, (char *)crypt_salt, KS_KEY_SALT_SIZE) in soft_keystore_setpin()
1522 != KS_KEY_SALT_SIZE) { in soft_keystore_setpin()
1539 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) { in soft_keystore_setpin()
1549 KS_KEY_SALT_SIZE) != KS_KEY_SALT_SIZE) { in soft_keystore_setpin()
[all …]