mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
encode key
This commit is contained in:
parent
e6956d9bb0
commit
95df3e4b39
2 changed files with 37 additions and 42 deletions
|
@ -19,9 +19,13 @@ namespace crypto
|
|||
|
||||
void Encode (const uint8_t * key, uint8_t * encoded) const;
|
||||
|
||||
private:
|
||||
|
||||
void SquareRoot (const BIGNUM * x, BIGNUM * r, BN_CTX * ctx) const;
|
||||
|
||||
private:
|
||||
|
||||
BIGNUM * p, * n1, * n2, * p38, * p12, * sqrtn1, * A, * nA, * u, * iu, * d;
|
||||
BIGNUM * p, * p38, * p12, * p14, * sqrtn1, * A, * nA, * u, * iu;
|
||||
};
|
||||
|
||||
std::unique_ptr<Elligator2>& GetElligator ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue