crypto: caam - pass the correct buffer length