5. Hash_md5

5.1. Function description:

This demo shows the operation of HASH MD5, 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.

5.2. Main configuration:

5.2.1. Hash configure

Algorithm

Mode

DMA

Data Type

md5

hash

disable

no swap

5.3. Test result:

If the output result is same as the golden data, then print pass, if not print fail.

5.4. IO connection:

None