]> AND Private Git Repository - Cipher_code.git/blobdiff - Old_one_round/one_round_light_auth.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update of enhance one round with cbc rm
[Cipher_code.git] / Old_one_round / one_round_light_auth.cpp
index 6e6a4afcd8310e95c8280dae6ea71ebb365a00d6..97abebf8df93a77125167842048d90a6fb09d919 100644 (file)
@@ -140,7 +140,7 @@ void myhash(uchar *X, uchar* RM2, uchar *Sbox2) {
 
 
     Y[0]=X2[0]^X2[h-1];
-    for(int a=4;a<h;a++) {
+    for(int a=1;a<h;a++) {
       Y[a]=Y[a-1]^X2[a-1];
     }