chacha-riscv64-v-zbb.pl: better format
authorYangyu Chen <cyy@cyyself.name>
Mon, 22 Apr 2024 02:40:25 +0000 (10:40 +0800)
committerTomas Mraz <tomas@openssl.org>
Wed, 8 May 2024 09:10:45 +0000 (11:10 +0200)
commitf6ce48f5b8ad4d8d748ea87d2490cbed08db9936
tree10ef611112f24f0ba69ec660f1d7b6c31a07919a
parentc857205407a0a074baf0db7fa7237a469f297c83
chacha-riscv64-v-zbb.pl: better format

This patch merged the `add` and `xor` part of chacha_sub_round, which are
same in RISC-V Vector only and Zvkb implementation. There is no change to
the generated ASM code except for the indent.

Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24069)
crypto/chacha/asm/chacha-riscv64-v-zbb.pl