Skip to content

Commit

Permalink
GetGroup () for GOST curve
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Mar 23, 2017
1 parent 249bc42 commit d9b79f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gost.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace crypto
~GOSTR3410Curve ();

size_t GetKeyLen () const { return m_KeyLen; };
const EC_GROUP * GetGroup () const { return m_Group; };
EC_POINT * MulP (const BIGNUM * n) const;
bool GetXY (const EC_POINT * p, BIGNUM * x, BIGNUM * y) const;
EC_POINT * CreatePoint (const BIGNUM * x, const BIGNUM * y) const;
Expand All @@ -44,7 +45,7 @@ namespace crypto
std::unique_ptr<GOSTR3410Curve>& GetGOSTR3410Curve (GOSTR3410ParamSet paramSet);

void GOSTR3411_2012_256 (const uint8_t * buf, size_t len, uint8_t * digest);
void GOSTR3411_2012_512 (const uint8_t * buf, size_t len, uint8_t * digest);
void GOSTR3411_2012_512 (const uint8_t * buf, size_t len, uint8_t * digest);
}
}

Expand Down

0 comments on commit d9b79f4

Please sign in to comment.