commit f47c515d5312956998a1b6808687642b8c25d097
parent 941abd446fc22f174f7644e0957ad39a4d7d6cab
Author: xplshn <anto@xplshn.com.ar>
Date: Tue, 30 Jun 2026 23:31:42 -0300
md5.h, crypt.h, sha*.h: add missing stdint.h include
Signed-off-by: xplshn <anto@xplshn.com.ar>
Diffstat:
9 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/shared/crypt.h b/shared/crypt.h
@@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include <stdint.h>
struct crypt_ops {
void (*init)(void *);
void (*update)(void *, const void *, unsigned long);
diff --git a/shared/md5.h b/shared/md5.h
@@ -1,5 +1,6 @@
/* public domain md5 implementation based on rfc1321 and libtomcrypt */
+#include <stdint.h>
struct md5 {
uint64_t len; /* processed message length */
uint32_t h[4]; /* hash state */
diff --git a/shared/sha1.h b/shared/sha1.h
@@ -1,5 +1,6 @@
/* public domain sha1 implementation based on rfc3174 and libtomcrypt */
+#include <stdint.h>
struct sha1 {
uint64_t len; /* processed message length */
uint32_t h[5]; /* hash state */
diff --git a/shared/sha224.h b/shared/sha224.h
@@ -1,6 +1,7 @@
/* public domain sha224 implementation based on fips180-3 */
#include "sha256.h"
+#include <stdint.h>
#define sha224 sha256 /*struct*/
diff --git a/shared/sha256.h b/shared/sha256.h
@@ -1,5 +1,6 @@
/* public domain sha256 implementation based on fips180-3 */
+#include <stdint.h>
struct sha256 {
uint64_t len; /* processed message length */
uint32_t h[8]; /* hash state */
diff --git a/shared/sha384.h b/shared/sha384.h
@@ -1,6 +1,7 @@
/* public domain sha512 implementation based on fips180-3 */
#include "sha512.h"
+#include <stdint.h>
#define sha384 sha512 /*struct*/
diff --git a/shared/sha512-224.h b/shared/sha512-224.h
@@ -1,6 +1,7 @@
/* public domain sha512/224 implementation based on fips180-3 */
#include "sha512.h"
+#include <stdint.h>
#define sha512_224 sha512 /*struct*/
diff --git a/shared/sha512-256.h b/shared/sha512-256.h
@@ -1,6 +1,7 @@
/* public domain sha512/256 implementation based on fips180-3 */
#include "sha512.h"
+#include <stdint.h>
#define sha512_256 sha512 /*struct*/
diff --git a/shared/sha512.h b/shared/sha512.h
@@ -1,5 +1,6 @@
/* public domain sha512 implementation based on fips180-3 */
+#include <stdint.h>
struct sha512 {
uint64_t len; /* processed message length */
uint64_t h[8]; /* hash state */