Hi.
Is XTS mode supported in CAAM accelerated AES on iMX.6 UL?
From drivers/crypto/caam/desc.h line 1181:
#define OP_ALG_AAI_XTS (0x50 << OP_ALG_AAI_SHIFT)
However, in iMX.6 UL manual states:
“The ability to function either as a Class 1 or a Class 2 CHA is further leveraged to allow
AESA to operate simultaneously as both a Class 1 and a Class 2 CHA. This allows the user to perform encryption/decryption using any of the supported AES confidentiality modes except the XTS, i.e. ECB, CBC, CTR, OFB, CFB128, while simultaneously performing authentication using either XCBC-MAC or CMAC modes.”
The xts(aes) is not explicitly defined in caamalg.c, neither it appears in /proc/crypto algorithms.
Regards,
Michal
已解决! 转到解答。
Hello Micha,
I understand that the actual driver does not seem to support the XTS mode for AES, but the CAAM it is able to supported, if you want to have this feature we offer our professional services to add this feature in our driver.
Happy New year.
Best Regards,
TIC Team
Hello Micha,
I understand that the actual driver does not seem to support the XTS mode for AES, but the CAAM it is able to supported, if you want to have this feature we offer our professional services to add this feature in our driver.
Happy New year.
Best Regards,
TIC Team