1. Data_length_err_it
1.1. Function description:
This demo shows how to trigger data length error interrupt.
Enable global interrupt & register HASH interrupt.
Enable the related interrupt.
Configure the HASH, enable the hash and configuring the current segment length is 0 to trigger interrupt.
Waiting trigger the related interrupt and enter interrupt service routine.
1.2. Main configuration:
Algorithm |
Mode |
DMA |
Data Type |
sha512 |
hash |
disable |
no swap |
1.3. Test result:
If successfully trigger and enter interrupt service routine, then print pass, if not print fail.
1.4. IO connection:
None