riscv / riscv-crypto

RISC-V cryptography extensions standardisation work.
https://wiki.riscv.org/x/MVcF
Creative Commons Attribution 4.0 International
361 stars 83 forks source link

Are any of Zvkn/Zvks/Zvkg included in Zvkt? #357

Closed aamartin0000 closed 1 year ago

aamartin0000 commented 1 year ago

By omission in the Zvkt spec, can I assume that all of the above subsets are exempt from DIEL? The scalar crypto Zkn and Zks subsets are explicitly included in the Zkt spec.

nibrunieAtSi5 commented 1 year ago

The spec mentions

All cryptography-specific instructions defined in this Vector Crypto specification (i.e., those in [zvkned], Zvknh[ab], [Zvkg], [Zvksed] and [zvksh] but not [zvbb],[zvkb], or [zvbc]) shall be executed with data-independent execution latency as defined in the RISC-V Scalar Cryptography Extensions specification.

This may need to be repeated in Zvkt

nibrunieAtSi5 commented 1 year ago

Reference https://github.com/riscv/riscv-crypto/blob/master/doc/vector/riscv-crypto-spec-vector.adoc#1-extensions-overview

aamartin0000 commented 1 year ago

Ok, thanks. I just looked specifically at the Zvkt adoc, so I missed that.

nibrunieAtSi5 commented 1 year ago

Ok, thanks. I just looked specifically at the Zvkt adoc, so I missed that.

No worries.