SubtleCrypto.deriveKey always returns a derived key with length of 256 (unlike chrome and firefox).
I'm deriving ECDH keys to generate a 128 bit AES-GCM key but the function always return a 256 bit key. I suppose this is not standard as firefox and chrome respect the given length.
SubtleCrypto.deriveKey(ecdhKey, privateK, { name: "AES-GCM", length: 128 }, true, keyUsages)
SubtleCrypto.deriveKey always returns a derived key with length of 256 (unlike chrome and firefox).
I'm deriving ECDH keys to generate a 128 bit AES-GCM key but the function always return a 256 bit key. I suppose this is not standard as firefox and chrome respect the given length.
SubtleCrypto.deriveKey(ecdhKey, privateK, { name: "AES-GCM", length: 128 }, true, keyUsages)