github web-platform-tests/wpt merge_pr_49048

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
3 months ago

WebCrypto: HDKF and PBKDF2 return an empty ArrayBuffer when length is zero (#49048)

The HKDF and PBKDF2 derive bits operations were changed in [1] to allow
a zero length to be passed and return an empty ArrayBuffer in that case.

This PR updates the tests cases affecting these 2 algorithms in the
cases where zero was passed as the length parameter.

[1] w3c/webcrypto#380

Don't miss a new wpt release

NewReleases is sending notifications on new releases.