aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes
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/modes
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/modes')
-rw-r--r--src/lib/modes/aead/aead.h4
-rw-r--r--src/lib/modes/aead/ccm/ccm.h4
-rw-r--r--src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h4
-rw-r--r--src/lib/modes/aead/eax/eax.h4
-rw-r--r--src/lib/modes/aead/gcm/clmul/clmul.h4
-rw-r--r--src/lib/modes/aead/gcm/gcm.h4
-rw-r--r--src/lib/modes/aead/gcm/pmull/pmull.h4
-rw-r--r--src/lib/modes/aead/ocb/ocb.h4
-rw-r--r--src/lib/modes/aead/siv/siv.h4
-rw-r--r--src/lib/modes/cbc/cbc.h4
-rw-r--r--src/lib/modes/cfb/cfb.h4
-rw-r--r--src/lib/modes/cipher_mode.h4
-rw-r--r--src/lib/modes/mode_pad/mode_pad.h4
-rw-r--r--src/lib/modes/stream_mode.h4
-rw-r--r--src/lib/modes/xts/xts.h4
15 files changed, 30 insertions, 30 deletions
diff --git a/src/lib/modes/aead/aead.h b/src/lib/modes/aead/aead.h
index 95a595542..18bc339f1 100644
--- a/src/lib/modes/aead/aead.h
+++ b/src/lib/modes/aead/aead.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_MODE_H__
-#define BOTAN_AEAD_MODE_H__
+#ifndef BOTAN_AEAD_MODE_H_
+#define BOTAN_AEAD_MODE_H_
#include <botan/cipher_mode.h>
diff --git a/src/lib/modes/aead/ccm/ccm.h b/src/lib/modes/aead/ccm/ccm.h
index 636df6fa7..38c0affe7 100644
--- a/src/lib/modes/aead/ccm/ccm.h
+++ b/src/lib/modes/aead/ccm/ccm.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_CCM_H__
-#define BOTAN_AEAD_CCM_H__
+#ifndef BOTAN_AEAD_CCM_H_
+#define BOTAN_AEAD_CCM_H_
#include <botan/aead.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h b/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h
index bbe21fdba..e12cfb115 100644
--- a/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h
+++ b/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_CHACHA20_POLY1305_H__
-#define BOTAN_AEAD_CHACHA20_POLY1305_H__
+#ifndef BOTAN_AEAD_CHACHA20_POLY1305_H_
+#define BOTAN_AEAD_CHACHA20_POLY1305_H_
#include <botan/aead.h>
#include <botan/stream_cipher.h>
diff --git a/src/lib/modes/aead/eax/eax.h b/src/lib/modes/aead/eax/eax.h
index 67679dcc2..84a4f3f92 100644
--- a/src/lib/modes/aead/eax/eax.h
+++ b/src/lib/modes/aead/eax/eax.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_EAX_H__
-#define BOTAN_AEAD_EAX_H__
+#ifndef BOTAN_AEAD_EAX_H_
+#define BOTAN_AEAD_EAX_H_
#include <botan/aead.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/aead/gcm/clmul/clmul.h b/src/lib/modes/aead/gcm/clmul/clmul.h
index 5e4a0de35..b47c73f27 100644
--- a/src/lib/modes/aead/gcm/clmul/clmul.h
+++ b/src/lib/modes/aead/gcm/clmul/clmul.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_GCM_CLMUL_H__
-#define BOTAN_GCM_CLMUL_H__
+#ifndef BOTAN_GCM_CLMUL_H_
+#define BOTAN_GCM_CLMUL_H_
#include <botan/types.h>
diff --git a/src/lib/modes/aead/gcm/gcm.h b/src/lib/modes/aead/gcm/gcm.h
index 0326533ff..0c5edba45 100644
--- a/src/lib/modes/aead/gcm/gcm.h
+++ b/src/lib/modes/aead/gcm/gcm.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_GCM_H__
-#define BOTAN_AEAD_GCM_H__
+#ifndef BOTAN_AEAD_GCM_H_
+#define BOTAN_AEAD_GCM_H_
#include <botan/aead.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/aead/gcm/pmull/pmull.h b/src/lib/modes/aead/gcm/pmull/pmull.h
index 04afddfbf..4ddcc8f27 100644
--- a/src/lib/modes/aead/gcm/pmull/pmull.h
+++ b/src/lib/modes/aead/gcm/pmull/pmull.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_GCM_PMULL_H__
-#define BOTAN_GCM_PMULL_H__
+#ifndef BOTAN_GCM_PMULL_H_
+#define BOTAN_GCM_PMULL_H_
#include <botan/types.h>
diff --git a/src/lib/modes/aead/ocb/ocb.h b/src/lib/modes/aead/ocb/ocb.h
index 4c06527ba..e53ee0867 100644
--- a/src/lib/modes/aead/ocb/ocb.h
+++ b/src/lib/modes/aead/ocb/ocb.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_OCB_H__
-#define BOTAN_AEAD_OCB_H__
+#ifndef BOTAN_AEAD_OCB_H_
+#define BOTAN_AEAD_OCB_H_
#include <botan/aead.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/aead/siv/siv.h b/src/lib/modes/aead/siv/siv.h
index 3266c6644..2f76847a8 100644
--- a/src/lib/modes/aead/siv/siv.h
+++ b/src/lib/modes/aead/siv/siv.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_AEAD_SIV_H__
-#define BOTAN_AEAD_SIV_H__
+#ifndef BOTAN_AEAD_SIV_H_
+#define BOTAN_AEAD_SIV_H_
#include <botan/aead.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/cbc/cbc.h b/src/lib/modes/cbc/cbc.h
index f088b817b..65b639511 100644
--- a/src/lib/modes/cbc/cbc.h
+++ b/src/lib/modes/cbc/cbc.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MODE_CBC_H__
-#define BOTAN_MODE_CBC_H__
+#ifndef BOTAN_MODE_CBC_H_
+#define BOTAN_MODE_CBC_H_
#include <botan/cipher_mode.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/cfb/cfb.h b/src/lib/modes/cfb/cfb.h
index 14e4e3d0e..bb6d350b8 100644
--- a/src/lib/modes/cfb/cfb.h
+++ b/src/lib/modes/cfb/cfb.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MODE_CFB_H__
-#define BOTAN_MODE_CFB_H__
+#ifndef BOTAN_MODE_CFB_H_
+#define BOTAN_MODE_CFB_H_
#include <botan/cipher_mode.h>
#include <botan/block_cipher.h>
diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h
index 80b77d5f8..7abfdac97 100644
--- a/src/lib/modes/cipher_mode.h
+++ b/src/lib/modes/cipher_mode.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_CIPHER_MODE_H__
-#define BOTAN_CIPHER_MODE_H__
+#ifndef BOTAN_CIPHER_MODE_H_
+#define BOTAN_CIPHER_MODE_H_
#include <botan/secmem.h>
#include <botan/key_spec.h>
diff --git a/src/lib/modes/mode_pad/mode_pad.h b/src/lib/modes/mode_pad/mode_pad.h
index 7b54db985..4c539b181 100644
--- a/src/lib/modes/mode_pad/mode_pad.h
+++ b/src/lib/modes/mode_pad/mode_pad.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MODE_PADDING_H__
-#define BOTAN_MODE_PADDING_H__
+#ifndef BOTAN_MODE_PADDING_H_
+#define BOTAN_MODE_PADDING_H_
#include <botan/secmem.h>
#include <string>
diff --git a/src/lib/modes/stream_mode.h b/src/lib/modes/stream_mode.h
index bee740b3a..003a396fd 100644
--- a/src/lib/modes/stream_mode.h
+++ b/src/lib/modes/stream_mode.h
@@ -5,8 +5,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_STREAM_MODE_H__
-#define BOTAN_STREAM_MODE_H__
+#ifndef BOTAN_STREAM_MODE_H_
+#define BOTAN_STREAM_MODE_H_
#include <botan/cipher_mode.h>
#include <botan/stream_cipher.h>
diff --git a/src/lib/modes/xts/xts.h b/src/lib/modes/xts/xts.h
index 2c19d7172..4b25a8294 100644
--- a/src/lib/modes/xts/xts.h
+++ b/src/lib/modes/xts/xts.h
@@ -6,8 +6,8 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#ifndef BOTAN_MODE_XTS_H__
-#define BOTAN_MODE_XTS_H__
+#ifndef BOTAN_MODE_XTS_H_
+#define BOTAN_MODE_XTS_H_
#include <botan/cipher_mode.h>
#include <botan/block_cipher.h>