RISC-V ISA Explorer · Cryptography (Zk*)

Zknh: NIST Hash

Ratified 2022-02 · version 1.0.1

Accelerates the round and message-schedule functions of SHA-256 and SHA-512 from the SHA-2 family.

Typical use: SHA-2 hash instructions

Specification

Open Zknh in the explorer

Dependencies

Required by

Instructions (14)

MnemonicNameEncodingMatchMask
SHA256SIG0000100000010-----001-----00100110x102010130xfff0707f
SHA256SIG1000100000011-----001-----00100110x103010130xfff0707f
SHA256SUM0000100000000-----001-----00100110x100010130xfff0707f
SHA256SUM1000100000001-----001-----00100110x101010130xfff0707f
SHA512SIG0000100000110-----001-----00100110x106010130xfff0707f
SHA512SIG0H0101110----------000-----01100110x5c0000330xfe00707f
SHA512SIG0L0101010----------000-----01100110x540000330xfe00707f
SHA512SIG1000100000111-----001-----00100110x107010130xfff0707f
SHA512SIG1H0101111----------000-----01100110x5e0000330xfe00707f
SHA512SIG1L0101011----------000-----01100110x560000330xfe00707f
SHA512SUM0000100000100-----001-----00100110x104010130xfff0707f
SHA512SUM0R0101000----------000-----01100110x500000330xfe00707f
SHA512SUM1000100000101-----001-----00100110x105010130xfff0707f
SHA512SUM1R0101001----------000-----01100110x520000330xfe00707f