/* * Copyright (c) 2020, Itamar S. * Copyright (c) 2020-2021, Dex♪ * * SPDX-License-Identifier: BSD-2-Clause */ #include "UnsignedBigIntegerAlgorithms.h" namespace Crypto { /** * Complexity: O(N^2) where N is the number of words in the larger number * Multiplication method: * An integer is equal to the sum of the powers of two * according to the indices of its 'on' bits. * So to multiple x*y, we go over each '1' bit in x (say the i'th bit), * and add y<