Itamar
|
c52d3e65b9
|
LibCrypto: Cleanup UnsignedBigInteger a bit
- Add missing 'explicit' to the constructor
- Remove unneeded 'AK::' in AK::Vector
- Avoid copying 'words' in constructor
|
2020-05-02 12:24:10 +02:00 |
|
Itamar
|
2125a4debb
|
LibCrypto: Add base-10 string de/serialization methods for bigint
|
2020-05-02 12:24:10 +02:00 |
|
Itamar
|
0d2777752e
|
LibCrypto: Add UnsignedBigInteger division
The division operation returns both the quotient and the remainder.
|
2020-05-02 12:24:10 +02:00 |
|
Itamar
|
2959c4a5e9
|
LibCrypto: Add UnsignedBigInteger multiplication
Also added documentation for the runtime complexity of some operations.
|
2020-05-02 12:24:10 +02:00 |
|
Itamar
|
e0cf40518c
|
LibCrypto: Add UnsignedBigInteger subtraction and comparison
|
2020-05-02 12:24:10 +02:00 |
|
Itamar
|
6201f741d4
|
LibCrypto: Add UnsignedBigInteger and implement addition
UnsignedBigInteger stores an unsigned ainteger of arbitrary length.
A big integer is represented as a vector of word. Each
word is an unsigned int.
|
2020-05-02 12:24:10 +02:00 |
|