diff options
author | lloyd <[email protected]> | 2010-02-25 04:31:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-25 04:31:35 +0000 |
commit | 890c95ae45b60f58690fd0b18386cc29549f145f (patch) | |
tree | 6fd0b8f3d3e160ca10b0ffc20809883f607c3915 | |
parent | b213bceeda3b6158896bfb9db0f8e68d11772cac (diff) |
Move Illegal_Transformation
-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") : |