diff options
Diffstat (limited to 'src/libstdcrypto/sha256_init.c')
-rw-r--r-- | src/libstdcrypto/sha256_init.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstdcrypto/sha256_init.c b/src/libstdcrypto/sha256_init.c new file mode 100644 index 0000000..e8a9ae1 --- /dev/null +++ b/src/libstdcrypto/sha256_init.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <skalibs/sha256.h> + +void sha256_init (SHA256Schedule_ref ctx) +{ + SHA256Schedule empty = SHA256_INIT() ; + *ctx = empty ; +} |