Relates :
|
When using AES GCM encryption/decryption impl from SunPKCS11 provider, its native parameter structure contains Iv and AAD byte arrays which should be explicitly freed after use. Current impl only frees the mechanism structure and its generic parameter pointer. It should also free the algorithm specific pointers, i.e. iv and aad, inside the memory pointed to by the parameter pointer.
|