diff options
Diffstat (limited to 'src/sha256.h')
-rw-r--r-- | src/sha256.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sha256.h b/src/sha256.h index 0732ba8ec7..c7c93672d9 100644 --- a/src/sha256.h +++ b/src/sha256.h @@ -1,6 +1,12 @@ #ifndef NEOVIM_SHA256_H #define NEOVIM_SHA256_H -/* sha256.c */ + +typedef struct { + UINT32_T total[2]; + UINT32_T state[8]; + char_u buffer[64]; +} context_sha256_T; + void sha256_start(context_sha256_T *ctx); void sha256_update(context_sha256_T *ctx, char_u *input, UINT32_T length); |