AnsweredAssumed Answered

i.MX6UL XTS mode CAAM support

Question asked by michalhojsik on Jan 3, 2018
Latest reply on Jan 3, 2018 by jamesbone

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

Outcomes