summaryrefslogtreecommitdiff
path: root/Userland/test-crypto.cpp
diff options
context:
space:
mode:
authorDexesTTP <dexes.ttp@gmail.com>2020-05-03 10:56:00 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-03 14:31:26 +0200
commitd008a38f939201470906586e6f678803ff5fed58 (patch)
treeb9252228f36f0afd7822245ddc5f20317d5f56d6 /Userland/test-crypto.cpp
parent8ad48cca2964d202f3550fe077747c678286ee0b (diff)
downloadserenity-d008a38f939201470906586e6f678803ff5fed58.zip
LibCrypto: Small fixes in BigInteger & test-crypto
Diffstat (limited to 'Userland/test-crypto.cpp')
-rw-r--r--Userland/test-crypto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/test-crypto.cpp b/Userland/test-crypto.cpp
index da5a98507e..89ca739a25 100644
--- a/Userland/test-crypto.cpp
+++ b/Userland/test-crypto.cpp
@@ -1341,7 +1341,7 @@ void bigint_subtraction()
PASS;
}
{
- I_TEST((BigInteger | Subtraction Regerssion 1));
+ I_TEST((BigInteger | Subtraction Regression 1));
auto num = Crypto::UnsignedBigInteger { 1 }.shift_left(256);
if (num.minus(1).words() == Vector<u32> { 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 0 }) {
PASS;
@@ -1354,7 +1354,7 @@ void bigint_subtraction()
void bigint_multiplication()
{
{
- I_TEST((BigInteger | Simple Multipliction));
+ I_TEST((BigInteger | Simple Multiplication));
Crypto::UnsignedBigInteger num1(8);
Crypto::UnsignedBigInteger num2(251);
Crypto::UnsignedBigInteger result = num1.multiplied_by(num2);