mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
crypto: Add support for AES-CTR operations (#33963)
* Add support for AES-CTR operations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * clippy Signed-off-by: Daniel Adams <msub2official@gmail.com> * Consolidate encrypt/decrypt for AES-CTR Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
1c26c0335e
commit
7b392db02f
17 changed files with 339 additions and 9646 deletions
|
@ -86,6 +86,12 @@ dictionary AesCbcParams : Algorithm {
|
|||
required BufferSource iv;
|
||||
};
|
||||
|
||||
// AES_CTR
|
||||
dictionary AesCtrParams : Algorithm {
|
||||
required BufferSource counter;
|
||||
required [EnforceRange] octet length;
|
||||
};
|
||||
|
||||
// JWK
|
||||
dictionary RsaOtherPrimesInfo {
|
||||
// The following fields are defined in Section 6.3.2.7 of JSON Web Algorithms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue