Changes

Jump to navigation Jump to search
78 bytes removed ,  10:28, 23 October 2017
Line 232: Line 232:     
== Endianness and word order ==
 
== Endianness and word order ==
When writing to the AES_CTR, AES_MAC or AES_KEY0/1/2/3 register, the hardware will process the written data according to the current input endianness specified in AES_CNT. However, the current specified input word order will not be honored for this register, and always defaults to reversed word order. Therefore, for normal word order, the reversal must be carried out manually if required.
+
When writing to the AES_CTR, AES_MAC or AES_KEY0/1/2/3 register, the hardware will process the written data according to the current input endianness specified in AES_CNT. This means that the byte ordering within each word is endian swapped accordingly but the word ordering of the register remains little endian.
    
== CCM mode pitfall ==
 
== CCM mode pitfall ==

Navigation menu