9#include <botan/numthry.h>
10#include <botan/internal/mp_core.h>
11#include <botan/internal/rounding.h>
43 BigInt r(sign, std::max(a_sw + b_sw, c_sw) + 1);
49 workspace.data(), workspace.size());
51 const size_t r_size = std::max(r.
sig_words(), c_sw);
const word * data() const
BigInt & square(secure_vector< word > &ws)
BigInt square(const BigInt &x)
void bigint_mul(word z[], size_t z_size, const word x[], size_t x_size, size_t x_sw, const word y[], size_t y_size, size_t y_sw, word workspace[], size_t ws_size)
void bigint_add2(word x[], size_t x_size, const word y[], size_t y_size)
BigInt mul_sub(const BigInt &a, const BigInt &b, const BigInt &c)
BigInt sub_mul(const BigInt &a, const BigInt &b, const BigInt &c)
std::vector< T, secure_allocator< T > > secure_vector
BigInt mul_add(const BigInt &a, const BigInt &b, const BigInt &c)