robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

bfredlMerge pull request #35206 from bfredl/nopreproc_cleanup38986188ba

master
309 B16 linesraw
1#pragma once
2
3#include <stdbool.h>
4#include <stddef.h>  // IWYU pragma: keep
5#include <stdint.h>
6
7#define SHA256_BUFFER_SIZE 64
8#define SHA256_SUM_SIZE    32
9
10typedef struct {
11  uint32_t total[2];
12  uint32_t state[8];
13  uint8_t buffer[SHA256_BUFFER_SIZE];
14} context_sha256_T;
15
16#include "sha256.h.generated.h"