LibWeb: Implement the importKey algorithm for X448

This commit is contained in:
Andreas Kling 2024-11-25 15:46:21 +01:00 committed by Andreas Kling
commit 96ddccd961
Notes: github-actions[bot] 2024-11-25 16:17:49 +00:00
6 changed files with 484 additions and 230 deletions

View file

@ -36,7 +36,7 @@ constexpr static Array<int, 7>
ed25519_oid { 1, 3, 101, 112 },
ed448_oid { 1, 3, 101, 113 };
constexpr static Array<Array<int, 7>, 11> known_algorithm_identifiers {
constexpr static Array<Array<int, 7>, 12> known_algorithm_identifiers {
rsa_encryption_oid,
rsa_md5_encryption_oid,
rsa_sha1_encryption_oid,
@ -48,6 +48,7 @@ constexpr static Array<Array<int, 7>, 11> known_algorithm_identifiers {
ec_public_key_encryption_oid,
x25519_oid,
ed25519_oid,
x448_oid,
};
constexpr static Array<int, 7>