English
Language : 

EFM32WG Datasheet, PDF (739/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
• KEYWR: Cleared on a AES_KEYHn write or AES_CTRL write
31.3.5 Block Chaining Example
Example 31.1 (p. 739) below illustrates how the AES module could be configured to perform Cipher
Block Chaining with 128-bit keys.
Example 31.1. AES Cipher Block Chaining
1. Configure module to encryption, key buffer enabled and XORSTART in AES_CTRL
2. Write 128-bit initialization vector to AES_DATA, starting with least significant word.
3. Write PlainKey to AES_KEYHn, starting with least significant word.
4. Write PlainText to AES_XORDATA, starting with least significant word. Encryption will be started
when the DATA3 is written. KEYH (PlainKey) will be copied to KEYL before encryption starts.
5. When encryption finished, read CipherText from AES_DATA, starting with least significant word.
6. Loop to step 4, if new PlainText is available.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
739
www.energymicro.com