summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/hash.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-10-09 09:11:14 +0000
committerdes <des@FreeBSD.org>2013-10-09 09:11:14 +0000
commit9053fadebecd1b660c007b6d8a78efaa30df9c01 (patch)
tree93cf8b1740ba47f7d59551fba27e9584cf7bce39 /sys/dev/random/hash.h
parent910e40a469b76eb7a0a7ab826835835a8e753047 (diff)
downloadFreeBSD-src-9053fadebecd1b660c007b6d8a78efaa30df9c01.zip
FreeBSD-src-9053fadebecd1b660c007b6d8a78efaa30df9c01.tar.gz
Add missing include guards and move the existing ones out of the
implementation namespace.
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