added libtomcrypt-1.15

This commit is contained in:
Tom St Denis
2006-11-17 14:21:24 +00:00
committed by Steffen Jaeckel
parent 479cc9c261
commit 2de2976d25
141 changed files with 6686 additions and 1520 deletions
+3 -3
View File
@@ -97,10 +97,10 @@ int ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, s
len -= ctr->blocklen;
ctr->padlen = ctr->blocklen;
continue;
}
}
#endif
*ct++ = *pt++ ^ ctr->pad[ctr->padlen++];
--len;
*ct++ = *pt++ ^ ctr->pad[ctr->padlen++];
--len;
}
return CRYPT_OK;
}