Vector GCM/GMAC
Type: unprivileged
Zve32x
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2023-09 |
Instructions to enable the efficient implementation of GHASHH which is used in Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC).
All of these instructions work on 128-bit element groups comprised of four 32-bit elements.
To help avoid side-channel timing attacks, these instructions shall be implemented with data-independent timing.
The number of element groups to be processed is vl/EGS. vl must be set to the number of SEW=32 elements to be processed and therefore must be a multiple of EGS=4.
Likewise, vstart must be a multiple of EGS=4.
vghsh.vv — Vector add-multiply over GHASH Galois-fieldvgmul.vv — Vector multiply over GHASH Galois-fieldVersion af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.