add adler32 checksum algorithm

This commit is contained in:
Steffen Jaeckel
2015-08-22 17:29:46 +02:00
parent d6cea55b13
commit 1987a2f975
6 changed files with 158 additions and 0 deletions
+3
View File
@@ -322,6 +322,9 @@ const char *crypt_build_settings =
#endif
"\nVarious others: "
#if defined(LTC_ADLER32)
" ADLER32 "
#endif
#if defined(LTC_BASE64)
" BASE64 "
#endif
+4
View File
@@ -231,6 +231,10 @@ static const crypt_size _crypt_sizes[] = {
#endif
// sprng has no state as it uses other potentially available sources
// like /dev/random. See Developers Guide for more info.
#ifdef LTC_ADLER32
_SZ_STRINGIFY_T(adler32_state),
#endif
};
/* crypt_get_size()