13. Hash_sha384
13.1. Function description:
This demo shows the operation of HASH SHA384, the means about filling data writed to fifo is via soft.
Configure the HASH.
Enable HASH and filling data by soft to start calculation, by reading the hash calculation finish status to judge whether calculation is done.
Waiting calculation done to compare the result with the golden data to check.
Note
The golden data getted by hash online calculator.
13.2. Main configuration:
13.2.1. Hash configure
Algorithm |
Mode |
DMA |
Data Type |
sha384 |
hash |
disable |
no swap |
13.3. Test result:
If the output result is same as the golden data, then print pass, if not print fail.
13.4. IO connection:
None