StupidOS/lib/crypto/sha2/sha2.h
d0p1 🏳️‍⚧️ 0365dd5da5
Some checks are pending
Build / test (push) Waiting to run
Docs / test (push) Waiting to run
build: define INCDIR,BINDIR,LIBDIR...
2024-03-26 07:48:32 +01:00

16 lines
411 B
C

#ifndef CRYPTO_SHA2_H
# define CRYPTO_SHA2_H 1
# define SHA224_BYTES 28
# define SHA256_BYTES 32
# define SHA384_BYTES 48
# define SHA512_BYTES 64
void sha224(void *out, const void *in, unsigned int len);
void sha256(void *out, const void *in, unsigned int len);
void sha384(void *out, const void *in, unsigned int len);
void sha512(void *out, const void *in, unsigned int len);
#endif /* !CRYPTO_SHA2_H */