Searched refs:KS_COUNTER_SIZE (Results 1 – 1 of 1) sorted by relevance
97 #define KS_COUNTER_SIZE 4 /* size in bytes of the monotonic counter */ macro99 #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()