1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00
serenity/Userland/Libraries/LibCrypto
Michiel Visser be138474c5 LibCrypto: Add EMSA-PKCS1-V1_5 encoder and verification
This add an implementation for the EMSA-PKCS1-V1_5-ENCODE function from
RFC8017 section 9.2. The verification of this encoding is implemented by
simply encoding the message to be verified, and then comparing the two
encoded string.

The digest info for the different hash function is from RFC8017 section
9.2 notes 1. These byte sequences are actually ASN.1 encoded data,
however these are always constant for a specific hash function and can
be treated as opaque byte sequences.
2022-02-23 13:20:28 +03:30
..
ASN1 AK+Userland: Make AK::decode_base64 return ErrorOr 2022-01-24 22:36:09 +01:00
Authentication LibCrypto: Exclude class_name() methods from the Kernel 2022-02-16 22:21:37 +01:00
BigInt LibCrypto: Do not allow signed big integers to be negative zero 2022-02-06 15:49:54 +00:00
Checksum Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
Cipher LibCrypto: Exclude class_name() methods from the Kernel 2022-02-16 22:21:37 +01:00
Curves LibCrypto: Add curve x25519 2022-02-18 12:34:23 +02:00
Hash LibCrypto: Exclude class_name() methods from the Kernel 2022-02-16 22:21:37 +01:00
NumberTheory Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
PK LibCrypto: Add EMSA-PKCS1-V1_5 encoder and verification 2022-02-23 13:20:28 +03:30
CMakeLists.txt LibCrypto: Add curve x25519 2022-02-18 12:34:23 +02:00
Forward.h LibCrypto: Add the BigInteger concept 2021-12-22 11:27:31 +01:00
Verification.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00