HASH (Hash Function Engine) is used to calculate mainstream international and domestic hash functions (hash algorithms) and supports HMAC operation mode. HASH provides an optional physical attack protection design and can support module-specific DMA. The module supports a standard AMBA bus for quick integration into the SoC. This engine includes features such as dedicated high-speed DMA, interleaving context management, and physical attack protection against DPA and FI attacks. Supported algorithms include SHA1, SHA2, SHA3, SM3, HMAC, BLAKE, and Uncle 12/Uncle20 Poly1305.