neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

sha256.h (309B)


      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 
     10 typedef 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"