mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
LibCrypto: Add missing implementation of SBI::multiplied_by(USBI)
This only had a declaration and was creating linker errors when used. Easily fixed!
This commit is contained in:
parent
f48e581eac
commit
3e8574a9a8
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ FLATTEN SignedBigInteger SignedBigInteger::bitwise_not() const
|
|||
return { unsigned_value().bitwise_not(), !m_sign };
|
||||
}
|
||||
|
||||
FLATTEN SignedBigInteger SignedBigInteger::multiplied_by(UnsignedBigInteger const& other) const
|
||||
{
|
||||
return { unsigned_value().multiplied_by(other), m_sign };
|
||||
}
|
||||
|
||||
FLATTEN SignedBigInteger SignedBigInteger::bitwise_or(const SignedBigInteger& other) const
|
||||
{
|
||||
auto result = bitwise_or(other.unsigned_value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue