mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +00:00

* refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
22 lines
428 B
C
22 lines
428 B
C
#ifndef NVIM_SHA256_H
|
|
#define NVIM_SHA256_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h> // for uint32_t
|
|
|
|
#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[SHA256_BUFFER_SIZE];
|
|
} context_sha256_T;
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "sha256.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_SHA256_H
|