From eae6fe567588b80562439f3fc32b83f6f2048cbd Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 9 Apr 2014 15:51:58 +0200 Subject: [PATCH] algos_sig: use chacha instead of rc4 for padding --- src/algos_sig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algos_sig.cpp b/src/algos_sig.cpp index c87885d..1882c86 100644 --- a/src/algos_sig.cpp +++ b/src/algos_sig.cpp @@ -20,7 +20,7 @@ #include "fmtseq.h" #include "hash.h" -#include "arcfour.h" +#include "chacha.h" /* * DISCUSSION. @@ -55,7 +55,7 @@ #define MIN(a,b) ((a)<(b)?(a):(b)) -typedef arcfour padding_generator; +typedef chacha20 padding_generator; static void msg_pad (const bvector&in, std::vector&out, size_t minsize) {