diff options
author | Jack Lloyd <[email protected]> | 2020-11-11 08:09:49 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-11 08:10:48 -0500 |
commit | 5f72888fcf56d6719d34abeb84ce9501b4f5a9b0 (patch) | |
tree | ced76c6407409d84936f4ff6140bb41c5df2d1e6 /src/lib/pubkey/mce | |
parent | 0d3470fbcaf65fbaf53b14c6028a53b071e37b3f (diff) |
Make polyn_gf2m.h internal
Diffstat (limited to 'src/lib/pubkey/mce')
-rw-r--r-- | src/lib/pubkey/mce/code_based_key_gen.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/info.txt | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/mce_internal.h | 6 | ||||
-rw-r--r-- | src/lib/pubkey/mce/mceliece.h | 1 | ||||
-rw-r--r-- | src/lib/pubkey/mce/mceliece_key.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/polyn_gf2m.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/polyn_gf2m.h | 3 |
8 files changed, 7 insertions, 13 deletions
diff --git a/src/lib/pubkey/mce/code_based_key_gen.cpp b/src/lib/pubkey/mce/code_based_key_gen.cpp index 9167a2339..fde9b4b38 100644 --- a/src/lib/pubkey/mce/code_based_key_gen.cpp +++ b/src/lib/pubkey/mce/code_based_key_gen.cpp @@ -14,7 +14,7 @@ #include <botan/internal/mce_internal.h> #include <botan/internal/code_based_util.h> #include <botan/internal/loadstor.h> -#include <botan/polyn_gf2m.h> +#include <botan/internal/polyn_gf2m.h> namespace Botan { diff --git a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp index 5fd88f3d7..409393562 100644 --- a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp +++ b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp @@ -6,7 +6,7 @@ * */ -#include <botan/polyn_gf2m.h> +#include <botan/internal/polyn_gf2m.h> #include <botan/internal/bit_ops.h> #include <botan/internal/code_based_util.h> #include <botan/exceptn.h> diff --git a/src/lib/pubkey/mce/info.txt b/src/lib/pubkey/mce/info.txt index 6a5577bfa..6a0e4a127 100644 --- a/src/lib/pubkey/mce/info.txt +++ b/src/lib/pubkey/mce/info.txt @@ -4,13 +4,13 @@ MCELIECE -> 20150922 <header:public> mceliece.h -polyn_gf2m.h </header:public> <header:internal> gf2m_small_m.h code_based_util.h mce_internal.h +polyn_gf2m.h </header:internal> <requires> diff --git a/src/lib/pubkey/mce/mce_internal.h b/src/lib/pubkey/mce/mce_internal.h index e0e0fce0e..875dc95ff 100644 --- a/src/lib/pubkey/mce/mce_internal.h +++ b/src/lib/pubkey/mce/mce_internal.h @@ -12,11 +12,9 @@ #ifndef BOTAN_MCELIECE_INTERNAL_H_ #define BOTAN_MCELIECE_INTERNAL_H_ -#include <botan/secmem.h> -#include <botan/types.h> -#include <botan/internal/pk_ops.h> #include <botan/mceliece.h> -#include <botan/polyn_gf2m.h> +#include <botan/internal/pk_ops.h> +#include <botan/internal/polyn_gf2m.h> namespace Botan { diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h index ba044ef7d..0d2bfebe1 100644 --- a/src/lib/pubkey/mce/mceliece.h +++ b/src/lib/pubkey/mce/mceliece.h @@ -13,7 +13,6 @@ #define BOTAN_MCELIECE_KEY_H_ #include <botan/pk_keys.h> -#include <botan/polyn_gf2m.h> namespace Botan { diff --git a/src/lib/pubkey/mce/mceliece_key.cpp b/src/lib/pubkey/mce/mceliece_key.cpp index bca7625db..ceb99be06 100644 --- a/src/lib/pubkey/mce/mceliece_key.cpp +++ b/src/lib/pubkey/mce/mceliece_key.cpp @@ -11,7 +11,7 @@ */ #include <botan/mceliece.h> -#include <botan/polyn_gf2m.h> +#include <botan/internal/polyn_gf2m.h> #include <botan/internal/mce_internal.h> #include <botan/internal/bit_ops.h> #include <botan/internal/code_based_util.h> diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp index 4b4bf3526..dcaaa6a29 100644 --- a/src/lib/pubkey/mce/polyn_gf2m.cpp +++ b/src/lib/pubkey/mce/polyn_gf2m.cpp @@ -10,7 +10,7 @@ * */ -#include <botan/polyn_gf2m.h> +#include <botan/internal/polyn_gf2m.h> #include <botan/internal/code_based_util.h> #include <botan/internal/bit_ops.h> #include <botan/rng.h> diff --git a/src/lib/pubkey/mce/polyn_gf2m.h b/src/lib/pubkey/mce/polyn_gf2m.h index 0f9bf07f9..f3827ee39 100644 --- a/src/lib/pubkey/mce/polyn_gf2m.h +++ b/src/lib/pubkey/mce/polyn_gf2m.h @@ -16,9 +16,6 @@ #include <utility> #include <string> -// Currently must be visible for MSVC -//BOTAN_FUTURE_INTERNAL_HEADER(polyn_gf2m.h) - namespace Botan { typedef uint16_t gf2m; |