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=6646cb71c460b34c34d754240fe3c0731bf7547e;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;