Hmac_sha256 =========== Function description: --------------------- This demo shows the operation of **HMAC SHA256**, the means about filling data writed to fifo is *via soft*. * Configure the **HMAC**. * Enable HASH and filling data by soft to start calculation. * Waiting calculation done to compare the result with the golden data to check. .. note:: When the length of the key is greater than one block size, need to using hash operation to get the real key for hmac operation. The golden data getted by hash online calculator. Main configuration: ------------------- Hash configure ^^^^^^^^^^^^^^ ============= ========= ========= ============= Algorithm Mode DMA Data Type ------------- --------- --------- ------------- sha256 hmac&hash disable no swap ============= ========= ========= ============= Test result: ------------ If the output result is same as the golden data, then print pass, if not print fail. IO connection: -------------- None