diff options
-rw-r--r-- | src/math/gfpmath/gfp_element.h | 7 | ||||
-rw-r--r-- | src/math/gfpmath/point_gfp.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h index ee436d671..5d27a6442 100644 --- a/src/math/gfpmath/gfp_element.h +++ b/src/math/gfpmath/gfp_element.h @@ -15,13 +15,6 @@ namespace Botan { -struct BOTAN_DLL Illegal_Transformation : public Exception - { - Illegal_Transformation(const std::string& err = - "Requested transformation is not possible") : - Exception(err) {} - }; - /** * This class represents one element in GF(p). Enables the convenient, * transparent use of the montgomery multiplication. diff --git a/src/math/gfpmath/point_gfp.h b/src/math/gfpmath/point_gfp.h index 9c593b5fd..f6cbe06b8 100644 --- a/src/math/gfpmath/point_gfp.h +++ b/src/math/gfpmath/point_gfp.h @@ -15,6 +15,13 @@ namespace Botan { +struct BOTAN_DLL Illegal_Transformation : public Exception + { + Illegal_Transformation(const std::string& err = + "Requested transformation is not possible") : + Exception(err) {} + }; + struct BOTAN_DLL Illegal_Point : public Exception { Illegal_Point(const std::string& err = "Malformed ECP point detected") : |