This corrects a misleading comment in sha256-riscv64-zbb.pl. The rotation
operation corresponds to the Sum0 function as defined in the FIPS 180-4
standard, not Sigma0.
CLA: trivial
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27480)
$a, $b, $c,
) = @_;
my $code=<<___;
- # Sigma0
+ # Sum0
@{[roriw $T2, $a, 2]} # roriw $T2, $a, 2
@{[roriw $T3, $a, 13]} # roriw $T3, $a, 13
@{[roriw $T4, $a, 22]} # roriw $T4, $a, 22