This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280039C: 使用AES模块的F8模式,如何输入初始向量IV?

Part Number: TMS320F280039C


我配置AES工作在F8模式,在IV0-IV3配置为0时,加密数据的结果符合预期;

现在我想使用非零的IV,但加密结果与标准F8不同,例如:

输入:IV0=0x55,IV1=0xaa,IV2=0x00,IV3=0xff,key128=0x00,DATA0=0,DATA1=1,DATA2=2,DATA3=3

输出:DATA0=0xfe699d7c,DATA1=0xbce05868,DATA2=0xa1306bba,DATA3=0xf14e6db0

另外280039的TRM中关于IV0-IV3的寄存器描述:“For f8 this field must be written with zeroes.”

请问,F8模式如何使用非零的IV呢?或者说0039上设置了非零IV后是怎样计算加密结果的?