ladybird/Userland/Libraries/LibCrypto
Michiel Visser a6e465fba2 LibCrypto: Implement custom BitStringView for ASN.1 decoder
The ASN.1 decoder was originally using AK::BitmapView for decoded
BitStrings, however the specification requires that the bits are stored
in a byte from the most significant to the least significant.

Storing three bits '110' would result in a byte '1100 0000', i.e. 0xC0.
However, AK::BitmapView expects the bits to be stored at the bottom like
'0000 0110', i.e. 0x06. For the current uses the data was always a
multiple of eight bits, resulting in complete bytes, which could
directly be interpreted correctly.

For the implementation of the key usage extension of certificates the
correct implementation of the BitString is required.
2022-04-17 10:10:19 +04:30
..
ASN1 LibCrypto: Implement custom BitStringView for ASN.1 decoder 2022-04-17 10:10:19 +04:30
Authentication LibCrypto: Add Poly1305 2022-04-08 14:02:02 +04:30
BigInt Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Checksum Libraries: Use default constructors/destructors in LibCrypto 2022-03-10 18:04:26 -08:00
Cipher LibCrypto: Add ChaCha20 2022-04-13 09:13:17 +04:30
Curves LibCrypto: Move all elliptic curve private methods into .cpp 2022-03-20 00:51:50 +03:30
Hash Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
NumberTheory Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
PK Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt LibCrypto: Add ChaCha20 2022-04-13 09:13:17 +04:30
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