i.MX6UL XTS mode CAAM support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6UL XTS mode CAAM support

Jump to solution
716 Views
michalhojsik
Contributor II

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

Labels (1)
Tags (3)
0 Kudos
1 Solution
549 Views
jamesbone
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
1 Reply
550 Views
jamesbone
NXP TechSupport
NXP TechSupport

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

0 Kudos