aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block
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/block
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/block')
-rw-r--r--src/lib/block/aes/aes.h4
-rw-r--r--src/lib/block/aria/aria.h4
-rw-r--r--src/lib/block/block_cipher.h4
-rw-r--r--src/lib/block/blowfish/blowfish.h4
-rw-r--r--src/lib/block/camellia/camellia.h4
-rw-r--r--src/lib/block/cascade/cascade.h4
-rw-r--r--src/lib/block/cast/cast128.h4
-rw-r--r--src/lib/block/cast/cast256.h4
-rw-r--r--src/lib/block/cast/cast_sboxes.h4
-rw-r--r--src/lib/block/des/des.h4
-rw-r--r--src/lib/block/des/desx.h4
-rw-r--r--src/lib/block/gost_28147/gost_28147.h4
-rw-r--r--src/lib/block/idea/idea.h4
-rw-r--r--src/lib/block/kasumi/kasumi.h4
-rw-r--r--src/lib/block/lion/lion.h4
-rw-r--r--src/lib/block/misty1/misty1.h4
-rw-r--r--src/lib/block/noekeon/noekeon.h4
-rw-r--r--src/lib/block/seed/seed.h4
-rw-r--r--src/lib/block/serpent/serpent.h4
-rw-r--r--src/lib/block/serpent/serpent_sbox.h4
-rw-r--r--src/lib/block/shacal2/shacal2.h4
-rw-r--r--src/lib/block/sm4/sm4.h4
-rw-r--r--src/lib/block/threefish/threefish.h4
-rw-r--r--src/lib/block/twofish/twofish.h4
-rw-r--r--src/lib/block/xtea/xtea.h4
25 files changed, 50 insertions, 50 deletions
diff --git a/src/lib/block/aes/aes.h b/src/lib/block/aes/aes.h
index c3f7dbdd9..8af2423d0 100644
--- a/src/lib/block/aes/aes.h
+++ b/src/lib/block/aes/aes.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AES_H__
-#define BOTAN_AES_H__
+#ifndef BOTAN_AES_H_
+#define BOTAN_AES_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/aria/aria.h b/src/lib/block/aria/aria.h
index 17d665e9e..f412197cf 100644
--- a/src/lib/block/aria/aria.h
+++ b/src/lib/block/aria/aria.h
@@ -13,8 +13,8 @@
* Internet & Security Agency homepage</A>
*/
-#ifndef BOTAN_ARIA_H__
-#define BOTAN_ARIA_H__
+#ifndef BOTAN_ARIA_H_
+#define BOTAN_ARIA_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/block_cipher.h b/src/lib/block/block_cipher.h
index 627691f01..03e8a5512 100644
--- a/src/lib/block/block_cipher.h
+++ b/src/lib/block/block_cipher.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_BLOCK_CIPHER_H__
-#define BOTAN_BLOCK_CIPHER_H__
+#ifndef BOTAN_BLOCK_CIPHER_H_
+#define BOTAN_BLOCK_CIPHER_H_
#include <botan/sym_algo.h>
#include <string>
diff --git a/src/lib/block/blowfish/blowfish.h b/src/lib/block/blowfish/blowfish.h
index 24b57ed36..fa84e2a3d 100644
--- a/src/lib/block/blowfish/blowfish.h
+++ b/src/lib/block/blowfish/blowfish.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_BLOWFISH_H__
-#define BOTAN_BLOWFISH_H__
+#ifndef BOTAN_BLOWFISH_H_
+#define BOTAN_BLOWFISH_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/camellia/camellia.h b/src/lib/block/camellia/camellia.h
index 822f8aa1f..3d639bf77 100644
--- a/src/lib/block/camellia/camellia.h
+++ b/src/lib/block/camellia/camellia.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CAMELLIA_H__
-#define BOTAN_CAMELLIA_H__
+#ifndef BOTAN_CAMELLIA_H_
+#define BOTAN_CAMELLIA_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/cascade/cascade.h b/src/lib/block/cascade/cascade.h
index c96b61a6e..8a641fc2f 100644
--- a/src/lib/block/cascade/cascade.h
+++ b/src/lib/block/cascade/cascade.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CASCADE_H__
-#define BOTAN_CASCADE_H__
+#ifndef BOTAN_CASCADE_H_
+#define BOTAN_CASCADE_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/cast/cast128.h b/src/lib/block/cast/cast128.h
index 7840c30cf..3a1740777 100644
--- a/src/lib/block/cast/cast128.h
+++ b/src/lib/block/cast/cast128.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CAST128_H__
-#define BOTAN_CAST128_H__
+#ifndef BOTAN_CAST128_H_
+#define BOTAN_CAST128_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/cast/cast256.h b/src/lib/block/cast/cast256.h
index 183dfe845..798649ef7 100644
--- a/src/lib/block/cast/cast256.h
+++ b/src/lib/block/cast/cast256.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CAST256_H__
-#define BOTAN_CAST256_H__
+#ifndef BOTAN_CAST256_H_
+#define BOTAN_CAST256_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/cast/cast_sboxes.h b/src/lib/block/cast/cast_sboxes.h
index c8d6a3a90..9d52f6f6c 100644
--- a/src/lib/block/cast/cast_sboxes.h
+++ b/src/lib/block/cast/cast_sboxes.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CAST_SBOX_TABLES_H__
-#define BOTAN_CAST_SBOX_TABLES_H__
+#ifndef BOTAN_CAST_SBOX_TABLES_H_
+#define BOTAN_CAST_SBOX_TABLES_H_
#include <botan/types.h>
diff --git a/src/lib/block/des/des.h b/src/lib/block/des/des.h
index 4d17f0bed..bdedeff64 100644
--- a/src/lib/block/des/des.h
+++ b/src/lib/block/des/des.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_DES_H__
-#define BOTAN_DES_H__
+#ifndef BOTAN_DES_H_
+#define BOTAN_DES_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/des/desx.h b/src/lib/block/des/desx.h
index 6f525b6ef..fa9a99663 100644
--- a/src/lib/block/des/desx.h
+++ b/src/lib/block/des/desx.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_DESX_H__
-#define BOTAN_DESX_H__
+#ifndef BOTAN_DESX_H_
+#define BOTAN_DESX_H_
#include <botan/des.h>
diff --git a/src/lib/block/gost_28147/gost_28147.h b/src/lib/block/gost_28147/gost_28147.h
index 543723c95..735cc6161 100644
--- a/src/lib/block/gost_28147/gost_28147.h
+++ b/src/lib/block/gost_28147/gost_28147.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_GOST_28147_89_H__
-#define BOTAN_GOST_28147_89_H__
+#ifndef BOTAN_GOST_28147_89_H_
+#define BOTAN_GOST_28147_89_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/idea/idea.h b/src/lib/block/idea/idea.h
index b76d18a13..4c45a3aaa 100644
--- a/src/lib/block/idea/idea.h
+++ b/src/lib/block/idea/idea.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_IDEA_H__
-#define BOTAN_IDEA_H__
+#ifndef BOTAN_IDEA_H_
+#define BOTAN_IDEA_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/kasumi/kasumi.h b/src/lib/block/kasumi/kasumi.h
index 7d51285ea..4a3712cd2 100644
--- a/src/lib/block/kasumi/kasumi.h
+++ b/src/lib/block/kasumi/kasumi.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_KASUMI_H__
-#define BOTAN_KASUMI_H__
+#ifndef BOTAN_KASUMI_H_
+#define BOTAN_KASUMI_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/lion/lion.h b/src/lib/block/lion/lion.h
index 87abfab60..54e13175e 100644
--- a/src/lib/block/lion/lion.h
+++ b/src/lib/block/lion/lion.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_LION_H__
-#define BOTAN_LION_H__
+#ifndef BOTAN_LION_H_
+#define BOTAN_LION_H_
#include <botan/block_cipher.h>
#include <botan/stream_cipher.h>
diff --git a/src/lib/block/misty1/misty1.h b/src/lib/block/misty1/misty1.h
index c3ab3db5f..c63e3713e 100644
--- a/src/lib/block/misty1/misty1.h
+++ b/src/lib/block/misty1/misty1.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MISTY1_H__
-#define BOTAN_MISTY1_H__
+#ifndef BOTAN_MISTY1_H_
+#define BOTAN_MISTY1_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/noekeon/noekeon.h b/src/lib/block/noekeon/noekeon.h
index 2b823cd39..a93266309 100644
--- a/src/lib/block/noekeon/noekeon.h
+++ b/src/lib/block/noekeon/noekeon.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_NOEKEON_H__
-#define BOTAN_NOEKEON_H__
+#ifndef BOTAN_NOEKEON_H_
+#define BOTAN_NOEKEON_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/seed/seed.h b/src/lib/block/seed/seed.h
index fa5136de6..e30293645 100644
--- a/src/lib/block/seed/seed.h
+++ b/src/lib/block/seed/seed.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SEED_H__
-#define BOTAN_SEED_H__
+#ifndef BOTAN_SEED_H_
+#define BOTAN_SEED_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/serpent/serpent.h b/src/lib/block/serpent/serpent.h
index edae9b338..a6463546e 100644
--- a/src/lib/block/serpent/serpent.h
+++ b/src/lib/block/serpent/serpent.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SERPENT_H__
-#define BOTAN_SERPENT_H__
+#ifndef BOTAN_SERPENT_H_
+#define BOTAN_SERPENT_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/serpent/serpent_sbox.h b/src/lib/block/serpent/serpent_sbox.h
index afde289b1..2301893a5 100644
--- a/src/lib/block/serpent/serpent_sbox.h
+++ b/src/lib/block/serpent/serpent_sbox.h
@@ -8,8 +8,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SERPENT_SBOX_H__
-#define BOTAN_SERPENT_SBOX_H__
+#ifndef BOTAN_SERPENT_SBOX_H_
+#define BOTAN_SERPENT_SBOX_H_
#define SBoxE1(B0, B1, B2, B3) \
do { \
diff --git a/src/lib/block/shacal2/shacal2.h b/src/lib/block/shacal2/shacal2.h
index 6d1613558..c4a8f2073 100644
--- a/src/lib/block/shacal2/shacal2.h
+++ b/src/lib/block/shacal2/shacal2.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SHACAL2_H__
-#define BOTAN_SHACAL2_H__
+#ifndef BOTAN_SHACAL2_H_
+#define BOTAN_SHACAL2_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/sm4/sm4.h b/src/lib/block/sm4/sm4.h
index f740ba6f5..bf3fa59dc 100644
--- a/src/lib/block/sm4/sm4.h
+++ b/src/lib/block/sm4/sm4.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_SM4_H__
-#define BOTAN_SM4_H__
+#ifndef BOTAN_SM4_H_
+#define BOTAN_SM4_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/threefish/threefish.h b/src/lib/block/threefish/threefish.h
index 1a0cc1bf4..de46913c5 100644
--- a/src/lib/block/threefish/threefish.h
+++ b/src/lib/block/threefish/threefish.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_THREEFISH_H__
-#define BOTAN_THREEFISH_H__
+#ifndef BOTAN_THREEFISH_H_
+#define BOTAN_THREEFISH_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/twofish/twofish.h b/src/lib/block/twofish/twofish.h
index bdfb81ef5..8201ede76 100644
--- a/src/lib/block/twofish/twofish.h
+++ b/src/lib/block/twofish/twofish.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_TWOFISH_H__
-#define BOTAN_TWOFISH_H__
+#ifndef BOTAN_TWOFISH_H_
+#define BOTAN_TWOFISH_H_
#include <botan/block_cipher.h>
diff --git a/src/lib/block/xtea/xtea.h b/src/lib/block/xtea/xtea.h
index 2392f07e8..1a073418b 100644
--- a/src/lib/block/xtea/xtea.h
+++ b/src/lib/block/xtea/xtea.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_XTEA_H__
-#define BOTAN_XTEA_H__
+#ifndef BOTAN_XTEA_H_
+#define BOTAN_XTEA_H_
#include <botan/block_cipher.h>