robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
38986188ba
master
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 { 11uint32_t total [2 ]; 12uint32_t state [8 ]; 13uint8_t buffer [SHA256_BUFFER_SIZE ]; 14}context_sha256_T ; 15 16#include "sha256.h.generated.h"