summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/random/hash.h')
-rw-r--r--sys/dev/random/hash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/random/hash.h b/sys/dev/random/hash.h
index 62f116d..4e6a4a0 100644
--- a/sys/dev/random/hash.h
+++ b/sys/dev/random/hash.h
@@ -26,6 +26,9 @@
* $FreeBSD$
*/
+#ifndef SYS_DEV_RANDOM_HASH_H_INCLUDED
+#define SYS_DEV_RANDOM_HASH_H_INCLUDED
+
#define KEYSIZE 32 /* (in bytes) == 256 bits */
#define BLOCKSIZE 16 /* (in bytes) == 128 bits */
@@ -43,3 +46,5 @@ void randomdev_hash_iterate(struct randomdev_hash *, void *, size_t);
void randomdev_hash_finish(struct randomdev_hash *, void *);
void randomdev_encrypt_init(struct randomdev_key *, void *);
void randomdev_encrypt(struct randomdev_key *context, void *, void *, unsigned);
+
+#endif
OpenPOWER on IntegriCloud