Skip to content

crypto: allow zero-length secrets and IKM in HKDF (and in webcrypto PBKDF2)

This PR

  • adds support for zero-length secret KeyObject
  • allows a zero-length IKM in HKDF (crypto and webcrypto module)
  • allows a zero-length password in PBKDF2 (webcrypto module, crypto already supports it)

This picks up one of the individual items from #43656 and fixes ~1870 WPTs.

Merge request reports

Loading