From c96430e0c7c0b315f878471051660405d3f89b99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Couturier?= Date: Tue, 25 Feb 2020 20:56:22 +0100 Subject: [PATCH 1/1] new --- OneRoundIoT/OneRound/rc4_hash.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OneRoundIoT/OneRound/rc4_hash.cpp b/OneRoundIoT/OneRound/rc4_hash.cpp index d088af7..3852dd2 100644 --- a/OneRoundIoT/OneRound/rc4_hash.cpp +++ b/OneRoundIoT/OneRound/rc4_hash.cpp @@ -121,12 +121,12 @@ void rc4keyperm(uchar *key,int len, int rp,int *sc, int size_DK) { } } -void prga(uchar *sc, int ldata, uchar *r) { +void prga(uchar *sc, uchar *X, int ldata, uchar *r, int h) { uchar i0=0; uchar j0=0; for (int it=0; it