i.MX6UL XTS mode CAAM support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6UL XTS mode CAAM support

跳至解决方案
1,031 次查看
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

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
864 次查看
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 项奖励
回复
1 回复
865 次查看
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 项奖励
回复