blob: b52d300de6f25550e67184c44b8900b73a165c3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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
|