You've already forked opencryptoki
mirror of
https://github.com/opencryptoki/opencryptoki.git
synced 2026-10-24 05:39:17 +03:00
Hi Klaus, While running sess_perf.c, I routinely got CKR_BUFFER_TOO_SMALL as the test called encrypt_DATA during its run. I believe this patch fixes the issue, which is that an uninitialized outlen parameter was being passed into C_EncryptUpdate and C_EncryptFile. I also added a return code value from main in this patch. Please consider for inclusion in opencryptoki-next. Thanks, Kent Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>