RISC-V ISA Explorer · Cryptography (Zk*)
Zkr: Entropy Source
Ratified 2022-02 · version 1.0.1
Defines the seed CSR, which returns physical entropy for seeding cryptographic random bit generators.
Typical use: True random source interface
Open Zkr in the explorerDependencies
Required by
Instructions (2)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
CSRRAND | 00000001010100000010-----1110011 | 0x1502073 | 0xfffff07f | |
CSRRAND64 | 00000001010100000010-----1110011 | 0x1502073 | 0xfffff07f |
Control and status registers (2)
| Name | Address | Mode | Description |
|---|---|---|---|
mseccfg | 0x747 | M | Machine Security Configuration |
mseccfgh | 0x757 | M | Most significant 32 bits of Machine Security Configuration |