diff options
author | Jack Lloyd <[email protected]> | 2018-02-25 19:58:46 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-02-25 19:58:46 -0500 |
commit | e479bae1d4b66e0984ce7791370e95aa69c4e3f6 (patch) | |
tree | 39caa4f4e96e70e2a22338d421a32a4a2a5e299a /src/cli | |
parent | 2f35ef0bf9d135bf42434f249df0b21b699110be (diff) |
Add functions to EC_Group for getting base point coordinates
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/pubkey.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/pubkey.cpp b/src/cli/pubkey.cpp index a2aded02b..3c84829d8 100644 --- a/src/cli/pubkey.cpp +++ b/src/cli/pubkey.cpp @@ -344,8 +344,7 @@ class EC_Group_Info final : public Command output() << "P = " << std::hex << group.get_p() << "\n" << "A = " << std::hex << group.get_a() << "\n" << "B = " << std::hex << group.get_b() << "\n" - << "G = " << group.get_base_point().get_affine_x() << "," - << group.get_base_point().get_affine_y() << "\n"; + << "G = " << group.get_g_x() << "," << group.get_g_y() << "\n"; } } |