mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(big): add SBigMul
This commit is contained in:
parent
e74654800d
commit
6e96e0a767
11 changed files with 179 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define STORM_BIG_OPS_HPP
|
||||
|
||||
#include "storm/big/BigBuffer.hpp"
|
||||
#include "storm/big/BigStack.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
void Add(BigBuffer& a, const BigBuffer& b, const BigBuffer& c);
|
||||
|
|
@ -18,6 +19,8 @@ uint64_t MakeLarge(uint32_t low, uint32_t high);
|
|||
|
||||
void Mul(BigBuffer& a, const BigBuffer& b, uint64_t c);
|
||||
|
||||
void Mul(BigBuffer& a, const BigBuffer& b, const BigBuffer& c, BigStack& stack);
|
||||
|
||||
void ToBinary(TSGrowableArray<uint8_t>& output, const BigBuffer& buffer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue