Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c2323 uchar_t *encrypted_buf, *prepared_buf; in soft_keystore_put_new_obj() local
2338 encrypted_buf = malloc(out_len * sizeof (char)); in soft_keystore_put_new_obj()
2339 if (encrypted_buf == NULL) { in soft_keystore_put_new_obj()
2346 encrypted_buf, &out_len) != CKR_OK) { in soft_keystore_put_new_obj()
2347 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2355 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_put_new_obj()
2357 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2362 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2369 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2374 if (writen_nointr(obj_fd, (void *)encrypted_buf, out_len) in soft_keystore_put_new_obj()
[all …]