feat(big): add SetOne

This commit is contained in:
fallenoak 2023-01-31 22:07:33 -06:00
parent 8413214ae0
commit b2cbc02189
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 25 additions and 0 deletions

View file

@ -21,6 +21,8 @@ void Mul(BigBuffer& a, const BigBuffer& b, uint64_t c);
void Mul(BigBuffer& a, const BigBuffer& b, const BigBuffer& c, BigStack& stack);
void SetOne(BigBuffer& buffer);
void SetZero(BigBuffer& buffer);
void ToBinary(TSGrowableArray<uint8_t>& output, const BigBuffer& buffer);