22.5. Equal symmetric encryption and decryption algorithm AES-CTR¶
22.5.1. Overview¶
aes_ctr_prng_example the example project shows the implementation of aes-ctr mode of equal symmetric encryption and decryption algorithm.
The equal symmetry encryption and decryption algorithm of this project adopts AES encryption algorithm ctr-prng mode to complete the module encryption and decryption test.
22.5.2. Board Setting¶
No special settings
22.5.3. Running the example¶
When the project runs correctly, and the serial port terminal will output the following information:
> tc_start() - Performing CTR-PRNG tests:
> All CTR PRNG tests succeeded!
> ===================================================================
> PASS - main.
> ===================================================================
> PROJECT EXECUTION SUCCESSFUL