diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-10 19:42:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-10 19:42:06 +0200 |
commit | 2b3043e578f00a5071dfae40c237b86cc6d70c7e (patch) | |
tree | 2c7876ce55f85fcbbd58e980dee7ae474b24fe19 /src/sha256.h | |
parent | 4ab823eb500a8a63061eb23581e73ff9d8bffce1 (diff) | |
download | fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.tar fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.zip |
Use #pragma once
Diffstat (limited to 'src/sha256.h')
-rw-r--r-- | src/sha256.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sha256.h b/src/sha256.h index 4cfe11f..30a8d35 100644 --- a/src/sha256.h +++ b/src/sha256.h @@ -24,8 +24,7 @@ */ -#ifndef _FASTD_SHA256_H_ -#define _FASTD_SHA256_H_ +#pragma once #include <stdbool.h> #include <stddef.h> @@ -56,5 +55,3 @@ void fastd_hmacsha256_blocks(fastd_sha256_t *out, const uint32_t key[FASTD_HMACS bool fastd_hmacsha256_blocks_verify(const uint8_t mac[FASTD_SHA256_HASH_BYTES], const uint32_t key[FASTD_HMACSHA256_KEY_WORDS], ...); void fastd_hmacsha256(fastd_sha256_t *out, const uint32_t key[FASTD_HMACSHA256_KEY_WORDS], const uint32_t *in, size_t len); bool fastd_hmacsha256_verify(const uint8_t mac[FASTD_SHA256_HASH_BYTES], const uint32_t key[FASTD_HMACSHA256_KEY_WORDS], const uint32_t *in, size_t len); - -#endif /* _FASTD_SHA256_H_ */ |