mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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
Notes:
sideshowbarker
2024-07-18 10:07:02 +09:00
Author: https://github.com/linusg
Commit: 3e8574a9a8
Pull-request: https://github.com/SerenityOS/serenity/pull/8548
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