diff options
author | lloyd <[email protected]> | 2010-03-01 22:12:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-01 22:12:52 +0000 |
commit | 6646a0577a337fa054aea1153dc39af419a6b1b4 (patch) | |
tree | ca15d028b05d02e053643d938f00d842ca25a94b /src | |
parent | a918fb9a2ff76e43bff79e38f692d5599a7c9780 (diff) |
Allow creating uninitialized PointGFp and CurveGFps
Diffstat (limited to 'src')
-rw-r--r-- | src/math/numbertheory/curve_gfp.h | 5 | ||||
-rw-r--r-- | src/math/numbertheory/point_gfp.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/math/numbertheory/curve_gfp.h b/src/math/numbertheory/curve_gfp.h index 697065dfe..de6bed099 100644 --- a/src/math/numbertheory/curve_gfp.h +++ b/src/math/numbertheory/curve_gfp.h @@ -23,6 +23,11 @@ class BOTAN_DLL CurveGFp public: /** + * Create an uninitialized CurveGFp + */ + CurveGFp() {} + + /** * Construct the elliptic curve E: y^2 = x^3 + ax + b over GF(p) * @param p prime number of the field * @param a first coefficient diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h index b5e170d8e..9c9c3334f 100644 --- a/src/math/numbertheory/point_gfp.h +++ b/src/math/numbertheory/point_gfp.h @@ -41,6 +41,11 @@ class BOTAN_DLL PointGFp }; /** + * Construct an uninitialized PointGFp + */ + PointGFp() {} + + /** * Construct the point O * @param curve The base curve */ |