mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add support for CRC-32C (Castagnoli polynomial) to lib/crypto_backend
This commit is contained in:
@@ -88,6 +88,7 @@ int crypt_pbkdf_perf(const char *kdf, const char *hash,
|
||||
|
||||
/* CRC32 */
|
||||
uint32_t crypt_crc32(uint32_t seed, const unsigned char *buf, size_t len);
|
||||
uint32_t crypt_crc32c(uint32_t seed, const unsigned char *buf, size_t len);
|
||||
|
||||
/* Base64 */
|
||||
int crypt_base64_encode(char **out, size_t *out_length, const char *in, size_t in_length);
|
||||
|
||||
Reference in New Issue
Block a user