hmac/sha256: move size define to sha256.h

This commit is contained in:
Grigori Goronzy
2022-03-15 21:17:00 +01:00
parent c8a4306e63
commit e560cf4f71
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include <stdint.h>
#include <stdlib.h>
#define SHA256_DIGEST_SIZE 32
#include "sha256.h"
/* Unoptimized implementation based on FIPS 198. 'res' has to be allocated by
* the caller. Prefer external OpenSSL functions, and use this only when
+2
View File
@@ -8,6 +8,8 @@
#include "types-fundamental.h"
#define SHA256_DIGEST_SIZE 32
struct sha256_ctx {
uint32_t H[8];