diff options
author | lloyd <[email protected]> | 2009-12-16 02:52:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-16 02:52:12 +0000 |
commit | 317b76d71dca1840c9e72f9a26407590719c1423 (patch) | |
tree | 2eb49072e6e27f6ee41e704004aa8689b1e98bb3 /src/math/gfpmath/point_gfp.cpp | |
parent | 457ce43934a4e51ead4d21e43013eef9d448d0e1 (diff) | |
parent | 12afeca214c4414a0ced0bc4654d0fc5908dc77b (diff) |
propagate from branch 'net.randombit.botan' (head 744dccf92270cf16b80b50ee2759424c9866b256)
to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
Diffstat (limited to 'src/math/gfpmath/point_gfp.cpp')
-rw-r--r-- | src/math/gfpmath/point_gfp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math/gfpmath/point_gfp.cpp b/src/math/gfpmath/point_gfp.cpp index b19687537..4dae1afc8 100644 --- a/src/math/gfpmath/point_gfp.cpp +++ b/src/math/gfpmath/point_gfp.cpp @@ -839,7 +839,7 @@ void PointGFp::swap(PointGFp& other) std::swap<bool>(mAZpow4_set, other.mAZpow4_set); } -PointGFp const mult2(const PointGFp& point) +PointGFp mult2(const PointGFp& point) { return (PointGFp(point)).mult2_in_place(); } @@ -1114,8 +1114,8 @@ GFpElement PointGFp::decompress(bool yMod2, const GFpElement& x, return GFpElement(curve.get_p(),z); } -PointGFp const create_random_point(RandomNumberGenerator& rng, - const CurveGFp& curve) +PointGFp create_random_point(RandomNumberGenerator& rng, + const CurveGFp& curve) { // create a random point |