mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
sha: define SHA256_BUFFER_SIZE and SUM_SIZE.
This commit is contained in:
@@ -5,10 +5,13 @@
|
||||
|
||||
#include "nvim/types.h" // for char_u
|
||||
|
||||
#define SHA256_BUFFER_SIZE 64
|
||||
#define SHA256_SUM_SIZE 32
|
||||
|
||||
typedef struct {
|
||||
uint32_t total[2];
|
||||
uint32_t state[8];
|
||||
char_u buffer[64];
|
||||
char_u buffer[SHA256_BUFFER_SIZE];
|
||||
} context_sha256_T;
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user