From 6646cb71c460b34c34d754240fe3c0731bf7547e Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Sat, 18 Mar 2023 00:07:50 +0000 Subject: [PATCH] use svp64 version --- crypto/chacha20/src/xchacha20.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2