mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibCrypto: Add Ed448 OID to know algorithm identifiers
This commit is contained in:
parent
27b4bae78b
commit
c23765c8f2
Notes:
github-actions[bot]
2025-01-11 10:14:20 +00:00
Author: https://github.com/devgianlu Commit: https://github.com/LadybirdBrowser/ladybird/commit/c23765c8f2b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3009 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/rmg-x
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,7 @@ static ErrorOr<AlgorithmIdentifier> parse_algorithm_identifier(Crypto::ASN1::Dec
|
|||
READ_OBJECT(ObjectIdentifier, Vector<int>, algorithm);
|
||||
POP_SCOPE();
|
||||
|
||||
constexpr static Array<Span<int const>, 12> known_algorithm_identifiers {
|
||||
constexpr static Array<Span<int const>, 13> known_algorithm_identifiers {
|
||||
ASN1::rsa_encryption_oid,
|
||||
ASN1::rsa_md5_encryption_oid,
|
||||
ASN1::rsa_sha1_encryption_oid,
|
||||
|
@ -95,6 +95,7 @@ static ErrorOr<AlgorithmIdentifier> parse_algorithm_identifier(Crypto::ASN1::Dec
|
|||
ASN1::x25519_oid,
|
||||
ASN1::ed25519_oid,
|
||||
ASN1::x448_oid,
|
||||
ASN1::ed448_oid,
|
||||
};
|
||||
|
||||
bool is_known_algorithm = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue