summaryrefslogtreecommitdiffstats
path: root/src/hkdf_sha256.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 19:42:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 19:42:06 +0200
commit2b3043e578f00a5071dfae40c237b86cc6d70c7e (patch)
tree2c7876ce55f85fcbbd58e980dee7ae474b24fe19 /src/hkdf_sha256.h
parent4ab823eb500a8a63061eb23581e73ff9d8bffce1 (diff)
downloadfastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.tar
fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.zip
Use #pragma once
Diffstat (limited to 'src/hkdf_sha256.h')
-rw-r--r--src/hkdf_sha256.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hkdf_sha256.h b/src/hkdf_sha256.h
index d882c1b..94b726e 100644
--- a/src/hkdf_sha256.h
+++ b/src/hkdf_sha256.h
@@ -24,8 +24,7 @@
*/
-#ifndef _FASTD_HKDF_SHA256_H_
-#define _FASTD_HKDF_SHA256_H_
+#pragma once
#include "sha256.h"
#include "types.h"
@@ -36,5 +35,3 @@ static inline void fastd_hkdf_sha256_extract(fastd_sha256_t *out, const uint32_t
}
void fastd_hkdf_sha256_expand(fastd_sha256_t *out, size_t blocks, const fastd_sha256_t *prk, const uint8_t *info, size_t infolen);
-
-#endif /* _FASTD_HKDF_SHA256_H_ */