diff options
author | Marvin Borner | 2021-03-21 19:13:17 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-21 19:13:17 +0100 |
commit | 48852d97c6a506b3876b139ceb7fde203b9205c2 (patch) | |
tree | 67510beec46385ca62c6cfed5daa354b77ac5d8d /libc/inc/crypto.h | |
parent | 3d0c30e6697b2b6ae77a03adefa2a8b81ebe4d92 (diff) |
Added hashing functions
Diffstat (limited to 'libc/inc/crypto.h')
-rw-r--r-- | libc/inc/crypto.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/inc/crypto.h b/libc/inc/crypto.h new file mode 100644 index 0000000..bbe8d7e --- /dev/null +++ b/libc/inc/crypto.h @@ -0,0 +1,11 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef CRYPTO_H +#define CRYPTO_H + +#include <def.h> + +void md5(const void *initial_msg, u32 initial_len, u8 digest[16]); +u32 crc32(u32 crc, const void *buf, u32 size); + +#endif |