add adler32 checksum algorithm
This commit is contained in:
@@ -322,6 +322,9 @@ const char *crypt_build_settings =
|
||||
#endif
|
||||
|
||||
"\nVarious others: "
|
||||
#if defined(LTC_ADLER32)
|
||||
" ADLER32 "
|
||||
#endif
|
||||
#if defined(LTC_BASE64)
|
||||
" BASE64 "
|
||||
#endif
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user