commit f47c515
xplshn
·
2026-07-01 02:31:42 +0000 UTC
parent 941abd4
md5.h, crypt.h, sha*.h: add missing stdint.h include Signed-off-by: xplshn <anto@xplshn.com.ar>
9 files changed,
+9,
-0
1@@ -1,4 +1,5 @@
2 /* See LICENSE file for copyright and license details. */
3+#include <stdint.h>
4 struct crypt_ops {
5 void (*init)(void *);
6 void (*update)(void *, const void *, unsigned long);
1@@ -1,5 +1,6 @@
2 /* public domain md5 implementation based on rfc1321 and libtomcrypt */
3
4+#include <stdint.h>
5 struct md5 {
6 uint64_t len; /* processed message length */
7 uint32_t h[4]; /* hash state */
1@@ -1,5 +1,6 @@
2 /* public domain sha1 implementation based on rfc3174 and libtomcrypt */
3
4+#include <stdint.h>
5 struct sha1 {
6 uint64_t len; /* processed message length */
7 uint32_t h[5]; /* hash state */
1@@ -1,6 +1,7 @@
2 /* public domain sha224 implementation based on fips180-3 */
3
4 #include "sha256.h"
5+#include <stdint.h>
6
7 #define sha224 sha256 /*struct*/
8
1@@ -1,5 +1,6 @@
2 /* public domain sha256 implementation based on fips180-3 */
3
4+#include <stdint.h>
5 struct sha256 {
6 uint64_t len; /* processed message length */
7 uint32_t h[8]; /* hash state */
1@@ -1,6 +1,7 @@
2 /* public domain sha512 implementation based on fips180-3 */
3
4 #include "sha512.h"
5+#include <stdint.h>
6
7 #define sha384 sha512 /*struct*/
8
1@@ -1,6 +1,7 @@
2 /* public domain sha512/224 implementation based on fips180-3 */
3
4 #include "sha512.h"
5+#include <stdint.h>
6
7 #define sha512_224 sha512 /*struct*/
8
1@@ -1,6 +1,7 @@
2 /* public domain sha512/256 implementation based on fips180-3 */
3
4 #include "sha512.h"
5+#include <stdint.h>
6
7 #define sha512_256 sha512 /*struct*/
8
1@@ -1,5 +1,6 @@
2 /* public domain sha512 implementation based on fips180-3 */
3
4+#include <stdint.h>
5 struct sha512 {
6 uint64_t len; /* processed message length */
7 uint64_t h[8]; /* hash state */