add crc32

This commit is contained in:
Steffen Jaeckel
2015-08-23 22:02:42 +02:00
parent 9585faca2b
commit ee03c97cde
6 changed files with 228 additions and 0 deletions
+3
View File
@@ -331,6 +331,9 @@ const char *crypt_build_settings =
#if defined(LTC_BASE64_URL)
" BASE64-URL-SAFE "
#endif
#if defined(LTC_CRC32)
" CRC32 "
#endif
#if defined(LTC_DER)
" DER "
#endif
+3
View File
@@ -235,6 +235,9 @@ static const crypt_size _crypt_sizes[] = {
#ifdef LTC_ADLER32
_SZ_STRINGIFY_T(adler32_state),
#endif
#ifdef LTC_CRC32
_SZ_STRINGIFY_T(crc32_state),
#endif
};
/* crypt_get_size()