This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When using importKey with AES CBC and AES CTR, is the params member (containing the key length) of the AlgorithmIdentifier required ? Or is the key length derived from the provided data ?
The new import text suggests that the operation should fail if the provided key data is inconsistent with the operation parameters, so this explains how to handle the case where a length is provided as a parameter and does or does not match the length of the provided key data.