Commit Graph
4 Commits
Author SHA1 Message Date
Filip Skokan ea7c647852 Bug 1820506 [wpt PR 38827] - WebCryptoAPI: extend ecdsa, aes-gcm, avoid uncommon parameters in wrap/unwrap, a=testonly
Automatic update from web-platform-tests
WebCryptoAPI: extend AES-GCM and ECDSA tests, and test key properties after unwrapping (#38827)

- Test AES-GCM both with 96 bit and 128 bit IV lengths
- Extend ECDSA invalid test vectors
- Use assert_goodCryptoKey to test the key properties after unwrapping
- Avoid unsupported failures during key imports for wrapping
- Use common IV length for AES-GCM wrapping & unwrapping

--

wpt-commits: ee30029d47cf9f7cf8f71fe851b4c29903edf851
wpt-pr: 38827
2023-03-29 12:50:24 +00:00
Filip Skokan e187a5bc4d Bug 1813385 [wpt PR 38247] - WebCryptoAPI: add remaining CFRG algorithms to wrapKey_unwrapKey, a=testonly
Automatic update from web-platform-tests
WebCryptoAPI: test remaining CFRG algorithms in wrapKey and unwrapKey (#38247)

Add tests for wrapping and unwrapping X25519, X448, and Ed448 keys.

These tests do not add new failures unless the algorithm is supported.
The results have been verified in Node.js where all four algorithms
from https://wicg.github.io/webcrypto-secure-curves/ are supported.

Also, work around an instability issue by always generating the same set
of tests, and skipping cases where key wrapping is impossible.
--

wpt-commits: 47b53fe644523c83bbe7c29caa16831b9244686d
wpt-pr: 38247
2023-02-20 09:49:26 +00:00
Javier Fernández García-Boente 3531674c8d Bug 1798420 [wpt PR 36752] - Adding import / export in raw and jwk format in Ed25519, a=testonly
Automatic update from web-platform-tests
Adding import / export in raw and jwk format in Ed25519

This CL adds the import and export operations for the Ed25519 algorithm
for both, raw and JWK formats.

It also adapts some test expectations, since several test cases pass
thanks to this change.

Bug: 1370697
Change-Id: I1ecee4f26e7da92ddad7998edfb45bd8751e6669
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3967976
Commit-Queue: Javier Fernandez <[email protected]>
Reviewed-by: David Benjamin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1072295}

--

wpt-commits: d7b5950b1844c9f33a6172d7f40c0fb4794dc809
wpt-pr: 36752
2022-11-21 02:53:35 +00:00
Luca Casonato 0587f63607 Bug 1715239 [wpt PR 29276] - move WebCryptoAPI to any.js, a=testonly
Automatic update from web-platform-tests
port digest

--
port encrypt_decrypt

--
port import_export

--
port sign_verify

--
port wrapKey_unwrapKey

--
lint

--
fixes

--
remove extranious error handling

--

wpt-commits: aa5f67d63cb3865119331eb7c73dc73011d5527c, a0c68e169123b1ab01a844533c8d6a98d1aaa156, 7a2058d7f84ddd00cfc379347ba3c935cac0bed8, 7d2a861de75f52e10122d6d39e8288d6838fa363, b063d659e34565b90f1345de61e18de956c6b337, 1068f17715444e68bff522b202aaaa571e816d46, d54e72f2c8e4ba397536febb9b63eba53d5168c0, 14236258ece08c439179427a25f0a2102f5664df
wpt-pr: 29276
2021-06-15 05:09:09 +00:00