Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1252 CK_BYTE hmac[OBJ_HMAC_SIZE], *decrypted_buf = NULL, *buf = NULL; in reencrypt_obj() local
1327 decrypted_buf = malloc(decrypted_len); in reencrypt_obj()
1328 if (decrypted_buf == NULL) { in reencrypt_obj()
1334 decrypted_buf, &decrypted_len) != CKR_OK) { in reencrypt_obj()
1336 free(decrypted_buf); in reencrypt_obj()
1344 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf, in reencrypt_obj()
1346 free(decrypted_buf); in reencrypt_obj()
1352 free(decrypted_buf); in reencrypt_obj()
1356 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf, in reencrypt_obj()
1359 free(decrypted_buf); in reencrypt_obj()
[all …]