use svp64 version
authorKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Sat, 18 Mar 2023 00:07:50 +0000 (00:07 +0000)
committerKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Sat, 18 Mar 2023 00:07:50 +0000 (00:07 +0000)
crypto/chacha20/src/xchacha20.c

index 1144928eafcaf94485c74057b51dca939774c4e4..23171fca4d26ae1ce73873f9e2ce7abbce17428b 100644 (file)
@@ -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;