Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c97 #define KS_COUNTER_SIZE 4 /* size in bytes of the monotonic counter */ macro
99 #define KS_KEY_SALT_OFFSET (KS_COUNTER_OFFSET + KS_COUNTER_SIZE)
415 if (writen_nointr(fd, (void *)&buf, KS_COUNTER_SIZE) in create_keystore()
416 != KS_COUNTER_SIZE) { in create_keystore()
1507 if (readn_nointr(fd, filebuf, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) { in soft_keystore_setpin()
1511 if (writen_nointr(tmp_ks_fd, filebuf, KS_COUNTER_SIZE) in soft_keystore_setpin()
1512 != KS_COUNTER_SIZE) { in soft_keystore_setpin()
2265 if (readn_nointr(fd, &counter, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) { in soft_keystore_put_new_obj()