| 3654 | } |
| 3655 | |
| 3656 | void PositiveMultiply(Integer &product, const Integer &a, const Integer &b) |
| 3657 | { |
| 3658 | size_t aSize = RoundupSize(a.WordCount()); |
| 3659 | size_t bSize = RoundupSize(b.WordCount()); |
| 3660 | |
| 3661 | product.reg.CleanNew(RoundupSize(aSize+bSize)); |
| 3662 | product.sign = Integer::POSITIVE; |
| 3663 | |
| 3664 | IntegerSecBlock workspace(aSize + bSize); |
| 3665 | AsymmetricMultiply(product.reg, workspace, a.reg, aSize, b.reg, bSize); |
| 3666 | } |
| 3667 | |
| 3668 | void Multiply(Integer &product, const Integer &a, const Integer &b) |
| 3669 | { |
no test coverage detected