diff options
Diffstat (limited to 'epid/common-testhelper/ecpoint_wrapper-testhelper.cc')
-rw-r--r-- | epid/common-testhelper/ecpoint_wrapper-testhelper.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epid/common-testhelper/ecpoint_wrapper-testhelper.cc b/epid/common-testhelper/ecpoint_wrapper-testhelper.cc index 9aef5d7..f1aa18c 100644 --- a/epid/common-testhelper/ecpoint_wrapper-testhelper.cc +++ b/epid/common-testhelper/ecpoint_wrapper-testhelper.cc @@ -86,6 +86,11 @@ EcPointObj::EcPointObj(EcGroupObj* group, G2ElemStr const& bytes) init(group, (unsigned char*)&bytes, sizeof(bytes)); } +EcPointObj::EcPointObj(EcGroupObj* group, Epid11G2ElemStr const& bytes) + : state_(new State) { + init(group, (unsigned char*)&bytes, sizeof(bytes)); +} + EcPointObj::EcPointObj(EcGroupObj* group, std::vector<unsigned char> const& bytes) : state_(new State) { |