Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c2328 uchar_t *encrypted_buf, *prepared_buf; in soft_keystore_put_new_obj() local
2343 encrypted_buf = malloc(out_len * sizeof (char)); in soft_keystore_put_new_obj()
2344 if (encrypted_buf == NULL) { in soft_keystore_put_new_obj()
2351 encrypted_buf, &out_len) != CKR_OK) { in soft_keystore_put_new_obj()
2352 free(encrypted_buf); in soft_keystore_put_new_obj()
2360 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_put_new_obj()
2362 free(encrypted_buf); in soft_keystore_put_new_obj()
2367 free(encrypted_buf); in soft_keystore_put_new_obj()
2374 free(encrypted_buf); in soft_keystore_put_new_obj()
2379 if (writen_nointr(obj_fd, (void *)encrypted_buf, out_len) in soft_keystore_put_new_obj()
[all …]