I tried encrypting 2GB .txt file using opnessl commands with af_alg engine. Output with command time -v is:
Command being timed: "openssl aes-256-cbc -in aki6.txt -out aki6.aes -e -engine af_alg"
User time (seconds): 11.24
System time (seconds): 91.19
Percent of CPU this job got: 14%
Elapsed (wall clock) time (h:mm:ss or m:ss): 11m 52.71s
It looks like CAAM is taking too much of time to encrypt the 2GB data which is 11.24 mins. Need suggestion to improve the CAAM performance in order to reduce the time taken to encrypt and decrypt a file.