OpenSolaris

Printable Version Enter a New Search
Bug ID 6534628
Synopsis /dev/crypto can use in-place when calling crypto_encrypt API
State 10-Fix Delivered (Fix available in build)
Category:Subcategory solaris-crypto:kernel
Keywords
Responsible Engineer Mark Powers
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_70
Fixed In snv_70
Release Fixed solaris_nevada(snv_70)
Related Bugs 6577321 , 6579499
Submit Date 14-March-2007
Last Update Date 8-August-2007
Description
Currently, /dev/crypto allocates memory for both plaintext and ciphertext for an encrypt or decrypt operation. Instead, it can allocate a single buffer and use the in-place convention when calling the k-API (set the pointer to the output crypto_data_t to NULL). This saves memory and could be faster for some symmetric ciphers which do the transformaion internally in-place.

Lawrence Spracklen noticed this issue and I agree it is a good enhancement.
Work Around
N/A
Comments
N/A