xref: /freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256.c (revision 3611ec604864a7d4dcc9a3ea898c80eb35eef8a0)
1 #include "crypto_hash_sha256.h"
2 
3 size_t
crypto_hash_sha256_bytes(void)4 crypto_hash_sha256_bytes(void)
5 {
6     return crypto_hash_sha256_BYTES;
7 }
8 
9 size_t
crypto_hash_sha256_statebytes(void)10 crypto_hash_sha256_statebytes(void)
11 {
12     return sizeof(crypto_hash_sha256_state);
13 }
14