aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-20 02:53:08 -0400
committerJack Lloyd <[email protected]>2017-09-20 02:53:08 -0400
commit8731d4920fa8b17374a442d62c2d8c1c6d34967a (patch)
tree0a0e98cf0c50e502397d920d8d4aa66f0036ce90 /src/lib/hash
parentf7927e4081f1029e0b9c735cfff12ab1fc5f05b8 (diff)
Change header guard format to BOTAN_FOO_H_
ISO C++ reserves names with double underscores in them Closes #512
Diffstat (limited to 'src/lib/hash')
-rw-r--r--src/lib/hash/blake2/blake2b.h4
-rw-r--r--src/lib/hash/checksum/adler32/adler32.h4
-rw-r--r--src/lib/hash/checksum/crc24/crc24.h4
-rw-r--r--src/lib/hash/checksum/crc32/crc32.h4
-rw-r--r--src/lib/hash/comb4p/comb4p.h4
-rw-r--r--src/lib/hash/gost_3411/gost_3411.h4
-rw-r--r--src/lib/hash/hash.h4
-rw-r--r--src/lib/hash/keccak/keccak.h4
-rw-r--r--src/lib/hash/md4/md4.h4
-rw-r--r--src/lib/hash/md5/md5.h4
-rw-r--r--src/lib/hash/mdx_hash/mdx_hash.h4
-rw-r--r--src/lib/hash/par_hash/par_hash.h4
-rw-r--r--src/lib/hash/rmd160/rmd160.h4
-rw-r--r--src/lib/hash/sha1/sha160.h4
-rw-r--r--src/lib/hash/sha2_32/sha2_32.h4
-rw-r--r--src/lib/hash/sha2_64/sha2_64.h4
-rw-r--r--src/lib/hash/sha3/sha3.h4
-rw-r--r--src/lib/hash/shake/shake.h4
-rw-r--r--src/lib/hash/skein/skein_512.h4
-rw-r--r--src/lib/hash/sm3/sm3.h4
-rw-r--r--src/lib/hash/streebog/streebog.h4
-rw-r--r--src/lib/hash/tiger/tiger.h4
-rw-r--r--src/lib/hash/whirlpool/whrlpool.h4
23 files changed, 46 insertions, 46 deletions
diff --git a/src/lib/hash/blake2/blake2b.h b/src/lib/hash/blake2/blake2b.h
index c177cc620..fa67ab2cf 100644
--- a/src/lib/hash/blake2/blake2b.h
+++ b/src/lib/hash/blake2/blake2b.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_BLAKE2B_H__
-#define BOTAN_BLAKE2B_H__
+#ifndef BOTAN_BLAKE2B_H_
+#define BOTAN_BLAKE2B_H_
#include <botan/hash.h>
#include <string>
diff --git a/src/lib/hash/checksum/adler32/adler32.h b/src/lib/hash/checksum/adler32/adler32.h
index 93a68267a..f0aac72b5 100644
--- a/src/lib/hash/checksum/adler32/adler32.h
+++ b/src/lib/hash/checksum/adler32/adler32.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_ADLER32_H__
-#define BOTAN_ADLER32_H__
+#ifndef BOTAN_ADLER32_H_
+#define BOTAN_ADLER32_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/checksum/crc24/crc24.h b/src/lib/hash/checksum/crc24/crc24.h
index 91b947e00..9465b0724 100644
--- a/src/lib/hash/checksum/crc24/crc24.h
+++ b/src/lib/hash/checksum/crc24/crc24.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CRC24_H__
-#define BOTAN_CRC24_H__
+#ifndef BOTAN_CRC24_H_
+#define BOTAN_CRC24_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/checksum/crc32/crc32.h b/src/lib/hash/checksum/crc32/crc32.h
index 6da2a06d4..2c24acf04 100644
--- a/src/lib/hash/checksum/crc32/crc32.h
+++ b/src/lib/hash/checksum/crc32/crc32.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CRC32_H__
-#define BOTAN_CRC32_H__
+#ifndef BOTAN_CRC32_H_
+#define BOTAN_CRC32_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/comb4p/comb4p.h b/src/lib/hash/comb4p/comb4p.h
index 1cc9ff566..5d25ff3ad 100644
--- a/src/lib/hash/comb4p/comb4p.h
+++ b/src/lib/hash/comb4p/comb4p.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_COMB4P_H__
-#define BOTAN_COMB4P_H__
+#ifndef BOTAN_COMB4P_H_
+#define BOTAN_COMB4P_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/gost_3411/gost_3411.h b/src/lib/hash/gost_3411/gost_3411.h
index cc38f1a87..9bafa6828 100644
--- a/src/lib/hash/gost_3411/gost_3411.h
+++ b/src/lib/hash/gost_3411/gost_3411.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_GOST_3411_H__
-#define BOTAN_GOST_3411_H__
+#ifndef BOTAN_GOST_3411_H_
+#define BOTAN_GOST_3411_H_
#include <botan/hash.h>
#include <botan/gost_28147.h>
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h
index 557e60476..3041774b8 100644
--- a/src/lib/hash/hash.h
+++ b/src/lib/hash/hash.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_HASH_FUNCTION_BASE_CLASS_H__
-#define BOTAN_HASH_FUNCTION_BASE_CLASS_H__
+#ifndef BOTAN_HASH_FUNCTION_BASE_CLASS_H_
+#define BOTAN_HASH_FUNCTION_BASE_CLASS_H_
#include <botan/buf_comp.h>
#include <string>
diff --git a/src/lib/hash/keccak/keccak.h b/src/lib/hash/keccak/keccak.h
index 72143c8e5..b6a50fb6d 100644
--- a/src/lib/hash/keccak/keccak.h
+++ b/src/lib/hash/keccak/keccak.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_KECCAK_H__
-#define BOTAN_KECCAK_H__
+#ifndef BOTAN_KECCAK_H_
+#define BOTAN_KECCAK_H_
#include <botan/hash.h>
#include <botan/secmem.h>
diff --git a/src/lib/hash/md4/md4.h b/src/lib/hash/md4/md4.h
index 278bd16f7..15f796df8 100644
--- a/src/lib/hash/md4/md4.h
+++ b/src/lib/hash/md4/md4.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MD4_H__
-#define BOTAN_MD4_H__
+#ifndef BOTAN_MD4_H_
+#define BOTAN_MD4_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/md5/md5.h b/src/lib/hash/md5/md5.h
index 3f4d52536..54231e785 100644
--- a/src/lib/hash/md5/md5.h
+++ b/src/lib/hash/md5/md5.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MD5_H__
-#define BOTAN_MD5_H__
+#ifndef BOTAN_MD5_H_
+#define BOTAN_MD5_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/mdx_hash/mdx_hash.h b/src/lib/hash/mdx_hash/mdx_hash.h
index dd3faadd0..5b5aef7b0 100644
--- a/src/lib/hash/mdx_hash/mdx_hash.h
+++ b/src/lib/hash/mdx_hash/mdx_hash.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MDX_BASE_H__
-#define BOTAN_MDX_BASE_H__
+#ifndef BOTAN_MDX_BASE_H_
+#define BOTAN_MDX_BASE_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/par_hash/par_hash.h b/src/lib/hash/par_hash/par_hash.h
index c3cbdae49..78077cc61 100644
--- a/src/lib/hash/par_hash/par_hash.h
+++ b/src/lib/hash/par_hash/par_hash.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_PARALLEL_HASH_H__
-#define BOTAN_PARALLEL_HASH_H__
+#ifndef BOTAN_PARALLEL_HASH_H_
+#define BOTAN_PARALLEL_HASH_H_
#include <botan/hash.h>
#include <vector>
diff --git a/src/lib/hash/rmd160/rmd160.h b/src/lib/hash/rmd160/rmd160.h
index 3e0dbb9d7..daba812d9 100644
--- a/src/lib/hash/rmd160/rmd160.h
+++ b/src/lib/hash/rmd160/rmd160.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_RIPEMD_160_H__
-#define BOTAN_RIPEMD_160_H__
+#ifndef BOTAN_RIPEMD_160_H_
+#define BOTAN_RIPEMD_160_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/sha1/sha160.h b/src/lib/hash/sha1/sha160.h
index 326ea6329..9f7035ee6 100644
--- a/src/lib/hash/sha1/sha160.h
+++ b/src/lib/hash/sha1/sha160.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHA_160_H__
-#define BOTAN_SHA_160_H__
+#ifndef BOTAN_SHA_160_H_
+#define BOTAN_SHA_160_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/sha2_32/sha2_32.h b/src/lib/hash/sha2_32/sha2_32.h
index 89e21f0a4..6a0d87ac7 100644
--- a/src/lib/hash/sha2_32/sha2_32.h
+++ b/src/lib/hash/sha2_32/sha2_32.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHA_224_256_H__
-#define BOTAN_SHA_224_256_H__
+#ifndef BOTAN_SHA_224_256_H_
+#define BOTAN_SHA_224_256_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/sha2_64/sha2_64.h b/src/lib/hash/sha2_64/sha2_64.h
index 5d9496871..cbe1ad70b 100644
--- a/src/lib/hash/sha2_64/sha2_64.h
+++ b/src/lib/hash/sha2_64/sha2_64.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHA_64BIT_H__
-#define BOTAN_SHA_64BIT_H__
+#ifndef BOTAN_SHA_64BIT_H_
+#define BOTAN_SHA_64BIT_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/sha3/sha3.h b/src/lib/hash/sha3/sha3.h
index 5c2c280be..c198515df 100644
--- a/src/lib/hash/sha3/sha3.h
+++ b/src/lib/hash/sha3/sha3.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHA3_H__
-#define BOTAN_SHA3_H__
+#ifndef BOTAN_SHA3_H_
+#define BOTAN_SHA3_H_
#include <botan/hash.h>
#include <botan/secmem.h>
diff --git a/src/lib/hash/shake/shake.h b/src/lib/hash/shake/shake.h
index b76d00546..b41baa492 100644
--- a/src/lib/hash/shake/shake.h
+++ b/src/lib/hash/shake/shake.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHAKE_HASH_H__
-#define BOTAN_SHAKE_HASH_H__
+#ifndef BOTAN_SHAKE_HASH_H_
+#define BOTAN_SHAKE_HASH_H_
#include <botan/hash.h>
#include <botan/secmem.h>
diff --git a/src/lib/hash/skein/skein_512.h b/src/lib/hash/skein/skein_512.h
index f34c4c283..a602b4b5e 100644
--- a/src/lib/hash/skein/skein_512.h
+++ b/src/lib/hash/skein/skein_512.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SKEIN_512_H__
-#define BOTAN_SKEIN_512_H__
+#ifndef BOTAN_SKEIN_512_H_
+#define BOTAN_SKEIN_512_H_
#include <botan/hash.h>
#include <botan/threefish.h>
diff --git a/src/lib/hash/sm3/sm3.h b/src/lib/hash/sm3/sm3.h
index f065637a3..5aa0f289c 100644
--- a/src/lib/hash/sm3/sm3.h
+++ b/src/lib/hash/sm3/sm3.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SM3_H__
-#define BOTAN_SM3_H__
+#ifndef BOTAN_SM3_H_
+#define BOTAN_SM3_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/streebog/streebog.h b/src/lib/hash/streebog/streebog.h
index 1bc2cd9db..d18ac02fc 100644
--- a/src/lib/hash/streebog/streebog.h
+++ b/src/lib/hash/streebog/streebog.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_STREEBOG_H__
-#define BOTAN_STREEBOG_H__
+#ifndef BOTAN_STREEBOG_H_
+#define BOTAN_STREEBOG_H_
#include <botan/hash.h>
diff --git a/src/lib/hash/tiger/tiger.h b/src/lib/hash/tiger/tiger.h
index fc74b821b..ef15fb16e 100644
--- a/src/lib/hash/tiger/tiger.h
+++ b/src/lib/hash/tiger/tiger.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_TIGER_H__
-#define BOTAN_TIGER_H__
+#ifndef BOTAN_TIGER_H_
+#define BOTAN_TIGER_H_
#include <botan/mdx_hash.h>
diff --git a/src/lib/hash/whirlpool/whrlpool.h b/src/lib/hash/whirlpool/whrlpool.h
index 2e96f3013..3a07ea5c5 100644
--- a/src/lib/hash/whirlpool/whrlpool.h
+++ b/src/lib/hash/whirlpool/whrlpool.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_WHIRLPOOL_H__
-#define BOTAN_WHIRLPOOL_H__
+#ifndef BOTAN_WHIRLPOOL_H_
+#define BOTAN_WHIRLPOOL_H_
#include <botan/mdx_hash.h>