1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-27 09:18:16 +00:00

algos_sig: use chacha instead of rc4 for padding

This commit is contained in:
Mirek Kratochvil 2014-04-09 15:51:58 +02:00
parent 5c739804fd
commit eae6fe5675

@ -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<byte, 8, 256> padding_generator;
typedef chacha20 padding_generator;
static void msg_pad (const bvector&in, std::vector<byte>&out, size_t minsize)
{