X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/21e870b486a45199812490d9668534f7255c3ff1..e8291c5548e7edd0beb647e84f4a4585f32b5265:/OneRoundIoT/OneRound/rc4_hash.cpp?ds=sidebyside diff --git a/OneRoundIoT/OneRound/rc4_hash.cpp b/OneRoundIoT/OneRound/rc4_hash.cpp index d088af7..0084c37 100644 --- a/OneRoundIoT/OneRound/rc4_hash.cpp +++ b/OneRoundIoT/OneRound/rc4_hash.cpp @@ -121,17 +121,17 @@ 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