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.c2324 uchar_t *encrypted_buf, *prepared_buf; in soft_keystore_put_new_obj() local
2339 encrypted_buf = malloc(out_len * sizeof (char)); in soft_keystore_put_new_obj()
2340 if (encrypted_buf == NULL) { in soft_keystore_put_new_obj()
2347 encrypted_buf, &out_len) != CKR_OK) { in soft_keystore_put_new_obj()
2348 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2356 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_put_new_obj()
2358 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2363 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2370 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj()
2375 if (writen_nointr(obj_fd, (void *)encrypted_buf, out_len) in soft_keystore_put_new_obj()
[all …]