Hi, I'm not as close on the software, but we had some problems with the driver, there was a change of return values and therfore the application failed.
Fabio Estevam <festevam@denx.de> debugged the issue for us. Here is the result:
Since commit 4d370a103695 ("crypto: caam - change return code
in caam_jr_enqueue function") the caam_jr_enqueue() does not return 0
on success anymore.
The new return value when caam_jr_enqueue() succeeds is
-EINPROGRESS.
Maybe this helps.