From: Konstantinos Margaritis Date: Sat, 18 Mar 2023 00:07:50 +0000 (+0000) Subject: use svp64 version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2befc7ed020f791df1df9087d986a78ef57826;p=openpower-isa.git use svp64 version --- diff --git a/crypto/chacha20/src/xchacha20.c b/crypto/chacha20/src/xchacha20.c index 1144928e..23171fca 100644 --- a/crypto/chacha20/src/xchacha20.c +++ b/crypto/chacha20/src/xchacha20.c @@ -118,6 +118,7 @@ void xchacha_keysetup(XChaCha_ctx *ctx, const uint8_t *k, uint8_t *iv){ * We then use this sub-key and the last 8 bytes of the iv * as normal. */ + //xchacha_hchacha20(k2, iv, k); xchacha_hchacha20_svp64(k2, iv, k); ctx->input[0] = 0x61707865;