I enabled cryptodev on my imx6UL and I'm interested to understand if caam driver are really utilized or not by my dm-crypt. I added some print in api to verify that the algorithm selected is the one corresponding to the caam, but I'm still not sure that at the end that driver is really used to accelerate my encryption. Can you suggest me a better place or variable to print when really a caam driver is used?
When I use cryptsetup to create a new encrypted partition I can see that there are differences between having mounted the cryptodev module or not. With the module the algorithm selected is one of caam, otherwise the selected one is a generic algorithm. I'm not sure that caam is used because I can't see any performance difference.