Files
servo/tests/wpt/meta/WebCryptoAPI/algorithm-discards-context.https.window.js.ini
Daniel Adams 45267c9f28 crypto: Implement encrypt/decrypt for AES-CBC + JWK support (#33795)
* Add support for raw importKey with AES-CBC

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Support JWK import/export, importKey for AES-CBC

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Implement encrypt/decrypt for AES-CBC

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update Cargo.lock

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Pass MutableHandleObject as arg instead of returning raw pointer

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Swap order of checks in generate_key_aes_cbc

- Fixes WPT tests that expect to error on algorithm first before usages

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Avoid potential GC hazard with array_buffer_ptr

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations for discards context

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-10-21 07:32:19 +00:00

35 lines
729 B
INI
Vendored

[algorithm-discards-context.https.window.html]
expected: TIMEOUT
[Context is discarded in encrypt]
expected: TIMEOUT
[Context is discarded in decrypt]
expected: TIMEOUT
[Context is discarded in digest]
expected: TIMEOUT
[Context is discarded in sign]
expected: TIMEOUT
[Context is discarded in verify]
expected: TIMEOUT
[Context is discarded in deriveBits]
expected: TIMEOUT
[Context is discarded in deriveKey]
expected: TIMEOUT
[Context is discarded in deriveKey (2)]
expected: TIMEOUT
[Context is discarded in wrapKey]
expected: TIMEOUT
[Context is discarded in unwrapKey]
expected: TIMEOUT
[Context is discarded in unwrapKey (2)]
expected: TIMEOUT