MAX32665-MAX32668 User Guide
Maxim Integrated Page 433 of 457
Figure 23-3 is a block diagram of the block cipher accelerator and its interface to the CMDA.
Figure 23-3. Block Cipher Block Diagram
The symmetric block ciphers encrypt or decrypt data in blocks. The block sizes for each cipher are shown in Table 23-2.
Table 23-2. Symmetric Block Ciphers
The accelerator supports the block cipher modes approved by NIST SP800-38A.
• Electronic Code Book (ECB)
• Cipher Block Chaining (CBC)
• Cipher Feedback (CFB)
• Output Feedback (OFB)
• Counter (CTR)
In the simplest mode Electronic Code Book (ECB), each data block is simply encrypted or decrypted using the cipher. A side
effect of this is that identical data blocks will encrypt to the same ciphertext. Various modes of operation are used that
chain or feedback ciphertext from the previous block to seed the next encryption operation. This causes identical, plain-text
data blocks to encrypt to different ciphertexts.