49. Cryp_sm4_gmac
49.1. Function description:
This demo shows the operation of cryptographic processor, algorithm is SM4, algorithm mode including GMAC, appending data using the CPU in polling mode.
Configure and prepare the authenticated data firstly, then start the authentication to get tag data.
Compare the tag data with the standard to verify the function of authentication.
49.2. Test result:
After the operation done, if the tag data is same as the standard data, then print pass, if not print fail.
49.3. IO connection:
None