Files
servo/components/script
Kingsley Yung 3e2d2ba6cc script: Migrate sign/verify operation to use new normalization (#39646)
Refactoring of the algorithm normalization in #39431 introduces a new
algorithm normalization procedure to replace the existing one, and we
continue the migration here.

In this patch:

- The `sign` and `verify` operation is migrated from using existing
`normalize_algorithm_for_sign_or_verify` function to using the new
`normalize_algorithm` function.
- The custom type `SignatureAlgorithm` used by
`normalize_algorithm_for_sign_or_verify` is removed.
- The functions `sign_hmac` and `verify_hmac` are moved to the
sub-module `hmac_operation`.

Testing: Refactoring. Existing WPT tests suffice.
Fixes: Part of #39368

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-10-08 19:26:34 +00:00
..
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00