Neovim Home
src
nvim
sha256.h
Go to the documentation of this file.
1
#ifndef NVIM_SHA256_H
2
#define NVIM_SHA256_H
3
4
#include <stddef.h>
5
#include <stdint.h>
// for uint32_t
6
7
#include "
nvim/types.h
"
// for char_u
8
9
#define SHA256_BUFFER_SIZE 64
10
#define SHA256_SUM_SIZE 32
11
12
typedef
struct
{
13
uint32_t total[2];
14
uint32_t state[8];
15
char_u
buffer[
SHA256_BUFFER_SIZE
];
16
}
context_sha256_T
;
17
18
#ifdef INCLUDE_GENERATED_DECLARATIONS
19
# include "sha256.h.generated.h"
20
#endif
21
#endif // NVIM_SHA256_H
types.h
SHA256_BUFFER_SIZE
#define SHA256_BUFFER_SIZE
Definition:
sha256.h:9
context_sha256_T
Definition:
sha256.h:12
char_u
unsigned char char_u
Definition:
types.h:12