Searched refs:obj_fd (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 2192 int fd, tmp_ks_fd, obj_fd; in soft_keystore_put_new_obj() local 2276 obj_fd = open_nointr(obj_name, in soft_keystore_put_new_obj() 2278 if (obj_fd < 0) { in soft_keystore_put_new_obj() 2284 if (lock_file(obj_fd, B_FALSE, B_TRUE) != 0) { in soft_keystore_put_new_obj() 2285 (void) close(obj_fd); in soft_keystore_put_new_obj() 2291 if (writen_nointr(obj_fd, (void *)&version, sizeof (version)) in soft_keystore_put_new_obj() 2306 if (writen_nointr(obj_fd, (void *)iv, sizeof (iv)) != sizeof (iv)) { in soft_keystore_put_new_obj() 2313 if (writen_nointr(obj_fd, (void *)obj_hmac, in soft_keystore_put_new_obj() 2318 if (writen_nointr(obj_fd, (char *)buf, len) != len) { in soft_keystore_put_new_obj() 2368 if (writen_nointr(obj_fd, (void *)obj_hmac, in soft_keystore_put_new_obj() [all …]
|