1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00
serenity/Userland/Libraries/LibCrypto
Tim Ledbetter 48a3a02238 LibCrypto: Make constructing a BigInteger from string fallible
Previously, constructing a `UnsignedBigInteger::from_base()` could
produce an incorrect result if the input string contained a valid
Base36 digit that was out of range of the given base. The same method
would also crash if the input string contained an invalid Base36 digit.
An error is now returned in both these cases.

Constructing a BigFraction from string is now also fallible, so that we
can handle the case where we are given an input string with invalid
digits.
2024-01-13 19:01:35 -07:00
..
AEAD LibCrypto: Add Chacha20Poly1305 2023-09-26 13:22:04 +03:30
ASN1 AK: Remove ByteString from GenericLexer 2024-01-12 17:03:53 -07:00
Authentication LibCrypto: Avoid branching in galois_multiply() 2024-01-03 14:59:59 +01:00
BigFraction LibCrypto: Make constructing a BigInteger from string fallible 2024-01-13 19:01:35 -07:00
BigInt LibCrypto: Make constructing a BigInteger from string fallible 2024-01-13 19:01:35 -07:00
Checksum LibCrypto: Implement a generic 16-bit CRC 2023-08-12 12:25:26 -06:00
Cipher Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Curves LibCrypto: Fix SECP384r1 verification when hash is SHA256 2023-11-29 18:17:14 +03:30
Hash Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
NumberTheory LibCrypto: Prefer operator when converting string literal to BigInteger 2024-01-13 19:01:35 -07:00
PK Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CMakeLists.txt LibCrypto+LibTLS: Switch to the generic SECPxxxr1 implementation 2023-11-27 09:43:07 +03:30
Forward.h Everywhere: Remove unused includes of AK/Concepts.h 2023-01-02 20:27:20 -05:00
Verification.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00