0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

feat(ext/crypto): implement HKDF operations (#11865)

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
This commit is contained in:
Divy Srivastava 2021-09-12 02:24:03 +05:30 committed by GitHub
parent 40c63d1255
commit 0cb22d4cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 159 additions and 262 deletions

View file

@ -61,6 +61,11 @@
RsaPssParams: {},
EcdsaParams: { hash: "HashAlgorithmIdentifier" },
HmacImportParams: { hash: "HashAlgorithmIdentifier" },
HkdfParams: {
hash: "HashAlgorithmIdentifier",
salt: "BufferSource",
info: "BufferSource",
},
Pbkdf2Params: { hash: "HashAlgorithmIdentifier", salt: "BufferSource" },
RsaOaepParams: { label: "BufferSource" },
};
@ -97,9 +102,11 @@
},
"importKey": {
"HMAC": "HmacImportParams",
"HKDF": null,
"PBKDF2": null,
},
"deriveBits": {
"HKDF": "HkdfParams",
"PBKDF2": "Pbkdf2Params",
},
"encrypt": {
@ -893,6 +900,51 @@
// TODO(@littledivy): RSASSA-PKCS1-v1_5
// TODO(@littledivy): RSA-PSS
// TODO(@littledivy): ECDSA
case "HKDF": {
if (format !== "raw") {
throw new DOMException("Format not supported", "NotSupportedError");
}
// 1.
if (
ArrayPrototypeFind(
keyUsages,
(u) => !ArrayPrototypeIncludes(["deriveKey", "deriveBits"], u),
) !== undefined
) {
throw new DOMException("Invalid key usages", "SyntaxError");
}
// 2.
if (extractable !== false) {
throw new DOMException(
"Key must not be extractable",
"SyntaxError",
);
}
// 3.
const handle = {};
WeakMapPrototypeSet(KEY_STORE, handle, {
type: "raw",
data: keyData,
});
// 4-8.
const algorithm = {
name: "HKDF",
};
const key = constructKey(
"secret",
false,
usageIntersection(keyUsages, recognisedUsages),
algorithm,
handle,
);
// 9.
return key;
}
case "PBKDF2": {
// 1.
if (format !== "raw") {
@ -1604,6 +1656,51 @@
return buf.buffer;
}
case "HKDF": {
// 1.
if (length === null || length === 0 || length % 8 !== 0) {
throw new DOMException("Invalid length", "OperationError");
}
const handle = baseKey[_handle];
const keyDerivationKey = WeakMapPrototypeGet(KEY_STORE, handle);
if (ArrayBufferIsView(normalizedAlgorithm.salt)) {
normalizedAlgorithm.salt = new Uint8Array(
normalizedAlgorithm.salt.buffer,
normalizedAlgorithm.salt.byteOffset,
normalizedAlgorithm.salt.byteLength,
);
} else {
normalizedAlgorithm.salt = new Uint8Array(normalizedAlgorithm.salt);
}
normalizedAlgorithm.salt = TypedArrayPrototypeSlice(
normalizedAlgorithm.salt,
);
if (ArrayBufferIsView(normalizedAlgorithm.info)) {
normalizedAlgorithm.info = new Uint8Array(
normalizedAlgorithm.info.buffer,
normalizedAlgorithm.info.byteOffset,
normalizedAlgorithm.info.byteLength,
);
} else {
normalizedAlgorithm.info = new Uint8Array(normalizedAlgorithm.info);
}
normalizedAlgorithm.info = TypedArrayPrototypeSlice(
normalizedAlgorithm.info,
);
const buf = await core.opAsync("op_crypto_derive_bits", {
key: keyDerivationKey,
algorithm: "HKDF",
hash: normalizedAlgorithm.hash.name,
info: normalizedAlgorithm.info,
length,
}, normalizedAlgorithm.salt);
return buf.buffer;
}
default:
throw new DOMException("Not implemented", "NotSupportedError");
}

View file

@ -309,6 +309,28 @@
dictJsonWebKey,
);
const dictHkdfParams = [
...dictAlgorithm,
{
key: "hash",
converter: webidl.converters.HashAlgorithmIdentifier,
required: true,
},
{
key: "salt",
converter: webidl.converters["BufferSource"],
required: true,
},
{
key: "info",
converter: webidl.converters["BufferSource"],
required: true,
},
];
webidl.converters.HkdfParams = webidl
.createDictionaryConverter("HkdfParams", dictHkdfParams);
const dictPbkdf2Params = [
...dictAlgorithm,
{

View file

@ -2,6 +2,7 @@
use ring::agreement::Algorithm as RingAlgorithm;
use ring::digest;
use ring::hkdf;
use ring::hmac::Algorithm as HmacAlgorithm;
use ring::signature::EcdsaSigningAlgorithm;
use ring::signature::EcdsaVerificationAlgorithm;
@ -89,6 +90,14 @@ impl From<CryptoHash> for &'static digest::Algorithm {
}
}
pub struct HkdfOutput<T>(pub T);
impl hkdf::KeyType for HkdfOutput<usize> {
fn len(&self) -> usize {
self.0
}
}
#[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialEq)]
#[serde(rename_all = "camelCase")]
pub enum KeyUsage {
@ -126,4 +135,6 @@ pub enum Algorithm {
Hmac,
#[serde(rename = "PBKDF2")]
Pbkdf2,
#[serde(rename = "HKDF")]
Hkdf,
}

View file

@ -26,6 +26,7 @@ use rand::thread_rng;
use rand::Rng;
use rand::SeedableRng;
use ring::digest;
use ring::hkdf;
use ring::hmac::Algorithm as HmacAlgorithm;
use ring::hmac::Key as HmacKey;
use ring::pbkdf2;
@ -56,6 +57,7 @@ mod key;
use crate::key::Algorithm;
use crate::key::CryptoHash;
use crate::key::CryptoNamedCurve;
use crate::key::HkdfOutput;
// Allowlist for RSA public exponents.
lazy_static! {
@ -558,6 +560,7 @@ pub struct DeriveKeyArg {
hash: Option<CryptoHash>,
length: usize,
iterations: Option<u32>,
info: Option<ZeroCopyBuf>,
}
pub async fn op_crypto_derive_bits(
@ -589,6 +592,31 @@ pub async fn op_crypto_derive_bits(
pbkdf2::derive(algorithm, iterations, salt, &secret, &mut out);
Ok(out.into())
}
Algorithm::Hkdf => {
let algorithm = match args.hash.ok_or_else(not_supported)? {
CryptoHash::Sha1 => hkdf::HKDF_SHA1_FOR_LEGACY_USE_ONLY,
CryptoHash::Sha256 => hkdf::HKDF_SHA256,
CryptoHash::Sha384 => hkdf::HKDF_SHA384,
CryptoHash::Sha512 => hkdf::HKDF_SHA512,
};
let info = args
.info
.ok_or_else(|| type_error("Missing argument info".to_string()))?;
// IKM
let secret = args.key.data;
// L
let length = args.length / 8;
let salt = hkdf::Salt::new(algorithm, salt);
let prk = salt.extract(&secret);
let info = &[&*info];
let okm = prk.expand(info, HkdfOutput(length))?;
let mut r = vec![0u8; length];
okm.fill(&mut r)?;
Ok(r.into())
}
_ => Err(type_error("Unsupported algorithm".to_string())),
}
}

View file

@ -5,8 +5,6 @@
"ecdh_bits.https.any.html": false,
"ecdh_keys.https.any.html": false,
"hkdf.https.any.html?1-1000": [
"short derivedKey, normal salt, SHA-384, with normal info",
"short derivedKey, normal salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
@ -71,13 +69,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-384, with normal info with null length",
"short derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"short derivedKey, normal salt, SHA-384, with normal info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-384, with empty info",
"short derivedKey, normal salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
@ -142,13 +135,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-384, with empty info with null length",
"short derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"short derivedKey, normal salt, SHA-384, with empty info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-512, with normal info",
"short derivedKey, normal salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
@ -213,13 +201,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-512, with normal info with null length",
"short derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"short derivedKey, normal salt, SHA-512, with normal info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-512, with empty info",
"short derivedKey, normal salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
@ -284,13 +267,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-512, with empty info with null length",
"short derivedKey, normal salt, SHA-512, with empty info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"short derivedKey, normal salt, SHA-512, with empty info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-1, with normal info",
"short derivedKey, normal salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
@ -355,13 +333,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-1, with normal info with null length",
"short derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"short derivedKey, normal salt, SHA-1, with normal info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-1, with empty info",
"short derivedKey, normal salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
@ -426,13 +399,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-1, with empty info with null length",
"short derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"short derivedKey, normal salt, SHA-1, with empty info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-256, with normal info",
"short derivedKey, normal salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
@ -497,13 +465,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-256, with normal info with null length",
"short derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"short derivedKey, normal salt, SHA-256, with normal info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-256, with empty info",
"short derivedKey, normal salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
@ -568,12 +531,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, SHA-256, with empty info with null length",
"short derivedKey, normal salt, SHA-256, with empty info with non-multiple of 8 length",
"short derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"short derivedKey, normal salt, SHA-256, with empty info with missing deriveBits usage",
"short derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"short derivedKey, normal salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using short derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using short derivedKey, normal salt, PBKDF2, with normal info",
@ -590,7 +549,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using short derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using short derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, PBKDF2, with normal info",
"short derivedKey, normal salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using short derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using short derivedKey, normal salt, PBKDF2, with empty info",
@ -607,8 +565,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using short derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using short derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, normal salt, PBKDF2, with empty info",
"short derivedKey, empty salt, SHA-384, with normal info",
"short derivedKey, empty salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
@ -673,13 +629,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-384, with normal info with null length",
"short derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"short derivedKey, empty salt, SHA-384, with normal info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-384, with empty info",
"short derivedKey, empty salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
@ -744,13 +695,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-384, with empty info with null length",
"short derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"short derivedKey, empty salt, SHA-384, with empty info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-512, with normal info",
"short derivedKey, empty salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
@ -815,13 +761,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-512, with normal info with null length",
"short derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"short derivedKey, empty salt, SHA-512, with normal info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-512, with empty info",
"short derivedKey, empty salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
@ -886,13 +827,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-512, with empty info with null length",
"short derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"short derivedKey, empty salt, SHA-512, with empty info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-1, with normal info",
"short derivedKey, empty salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
@ -957,13 +893,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-1, with normal info with null length",
"short derivedKey, empty salt, SHA-1, with normal info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"short derivedKey, empty salt, SHA-1, with normal info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-1, with empty info",
"short derivedKey, empty salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
@ -1030,13 +961,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-1, with empty info with null length",
"short derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"short derivedKey, empty salt, SHA-1, with empty info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-256, with normal info",
"short derivedKey, empty salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
@ -1101,13 +1027,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-256, with normal info with null length",
"short derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"short derivedKey, empty salt, SHA-256, with normal info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-256, with empty info",
"short derivedKey, empty salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
@ -1172,12 +1093,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, SHA-256, with empty info with null length",
"short derivedKey, empty salt, SHA-256, with empty info with non-multiple of 8 length",
"short derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"short derivedKey, empty salt, SHA-256, with empty info with missing deriveBits usage",
"short derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"short derivedKey, empty salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using short derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using short derivedKey, empty salt, PBKDF2, with normal info",
@ -1194,7 +1111,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using short derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using short derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, PBKDF2, with normal info",
"short derivedKey, empty salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using short derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using short derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using short derivedKey, empty salt, PBKDF2, with empty info",
@ -1211,8 +1127,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using short derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using short derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using short derivedKey, empty salt, PBKDF2, with empty info",
"long derivedKey, normal salt, SHA-384, with normal info",
"long derivedKey, normal salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
@ -1277,13 +1191,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-384, with normal info with null length",
"long derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"long derivedKey, normal salt, SHA-384, with normal info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-384, with empty info",
"long derivedKey, normal salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
@ -1348,13 +1257,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-384, with empty info with null length",
"long derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"long derivedKey, normal salt, SHA-384, with empty info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-512, with normal info",
"long derivedKey, normal salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
@ -1419,13 +1323,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-512, with normal info with null length",
"long derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"long derivedKey, normal salt, SHA-512, with normal info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-512, with empty info",
"long derivedKey, normal salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
@ -1490,13 +1389,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-512, with empty info with null length",
"long derivedKey, normal salt, SHA-512, with empty info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"long derivedKey, normal salt, SHA-512, with empty info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-1, with normal info",
"long derivedKey, normal salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
@ -1561,13 +1455,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-1, with normal info with null length",
"long derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"long derivedKey, normal salt, SHA-1, with normal info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-1, with empty info",
"long derivedKey, normal salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
@ -1632,13 +1521,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-1, with empty info with null length",
"long derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"long derivedKey, normal salt, SHA-1, with empty info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-256, with normal info",
"long derivedKey, normal salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
@ -1703,13 +1587,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-256, with normal info with null length",
"long derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"long derivedKey, normal salt, SHA-256, with normal info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-256, with empty info",
"long derivedKey, normal salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
@ -1774,12 +1653,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, SHA-256, with empty info with null length",
"long derivedKey, normal salt, SHA-256, with empty info with non-multiple of 8 length",
"long derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"long derivedKey, normal salt, SHA-256, with empty info with missing deriveBits usage",
"long derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"long derivedKey, normal salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using long derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using long derivedKey, normal salt, PBKDF2, with normal info",
@ -1796,7 +1671,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using long derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using long derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, PBKDF2, with normal info",
"long derivedKey, normal salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using long derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using long derivedKey, normal salt, PBKDF2, with empty info",
@ -1813,8 +1687,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using long derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using long derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, normal salt, PBKDF2, with empty info",
"long derivedKey, empty salt, SHA-384, with normal info",
"long derivedKey, empty salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
@ -1879,13 +1751,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-384, with normal info with null length",
"long derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"long derivedKey, empty salt, SHA-384, with normal info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-384, with empty info",
"long derivedKey, empty salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
@ -1950,15 +1817,10 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-384, with empty info with null length",
"long derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"long derivedKey, empty salt, SHA-384, with empty info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key"
],
"hkdf.https.any.html?2001-3000": [
"long derivedKey, empty salt, SHA-512, with normal info",
"long derivedKey, empty salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
@ -2023,13 +1885,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-512, with normal info with null length",
"long derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"long derivedKey, empty salt, SHA-512, with normal info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-512, with empty info",
"long derivedKey, empty salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
@ -2094,13 +1951,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-512, with empty info with null length",
"long derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"long derivedKey, empty salt, SHA-512, with empty info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-1, with normal info",
"long derivedKey, empty salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
@ -2165,13 +2017,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-1, with normal info with null length",
"long derivedKey, empty salt, SHA-1, with normal info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"long derivedKey, empty salt, SHA-1, with normal info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-1, with empty info",
"long derivedKey, empty salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
@ -2236,13 +2083,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-1, with empty info with null length",
"long derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"long derivedKey, empty salt, SHA-1, with empty info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-256, with normal info",
"long derivedKey, empty salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
@ -2307,13 +2149,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-256, with normal info with null length",
"long derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"long derivedKey, empty salt, SHA-256, with normal info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-256, with empty info",
"long derivedKey, empty salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
@ -2378,12 +2215,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, SHA-256, with empty info with null length",
"long derivedKey, empty salt, SHA-256, with empty info with non-multiple of 8 length",
"long derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"long derivedKey, empty salt, SHA-256, with empty info with missing deriveBits usage",
"long derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"long derivedKey, empty salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using long derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using long derivedKey, empty salt, PBKDF2, with normal info",
@ -2400,7 +2233,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using long derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using long derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, PBKDF2, with normal info",
"long derivedKey, empty salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using long derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using long derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using long derivedKey, empty salt, PBKDF2, with empty info",
@ -2417,8 +2249,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using long derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using long derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using long derivedKey, empty salt, PBKDF2, with empty info",
"empty derivedKey, normal salt, SHA-384, with normal info",
"empty derivedKey, normal salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
@ -2483,13 +2313,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-384, with normal info with null length",
"empty derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-384, with normal info with bad hash name SHA384",
"empty derivedKey, normal salt, SHA-384, with normal info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-384, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-384, with empty info",
"empty derivedKey, normal salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
@ -2554,13 +2379,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-384, with empty info with null length",
"empty derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384",
"empty derivedKey, normal salt, SHA-384, with empty info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-384, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-512, with normal info",
"empty derivedKey, normal salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
@ -2625,13 +2445,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-512, with normal info with null length",
"empty derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-512, with normal info with bad hash name SHA512",
"empty derivedKey, normal salt, SHA-512, with normal info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-512, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-512, with empty info",
"empty derivedKey, normal salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
@ -2696,13 +2511,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-512, with empty info with null length",
"empty derivedKey, normal salt, SHA-512, with empty info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512",
"empty derivedKey, normal salt, SHA-512, with empty info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-512, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-1, with normal info",
"empty derivedKey, normal salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
@ -2767,13 +2577,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-1, with normal info with null length",
"empty derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1",
"empty derivedKey, normal salt, SHA-1, with normal info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-1, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-1, with empty info",
"empty derivedKey, normal salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
@ -2838,13 +2643,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-1, with empty info with null length",
"empty derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1",
"empty derivedKey, normal salt, SHA-1, with empty info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-1, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-256, with normal info",
"empty derivedKey, normal salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
@ -2909,13 +2709,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-256, with normal info with null length",
"empty derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-256, with normal info with bad hash name SHA256",
"empty derivedKey, normal salt, SHA-256, with normal info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-256, with normal info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-256, with empty info",
"empty derivedKey, normal salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
@ -2982,12 +2777,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, SHA-256, with empty info with null length",
"empty derivedKey, normal salt, SHA-256, with empty info with non-multiple of 8 length",
"empty derivedKey, normal salt, SHA-256, with empty info with bad hash name SHA256",
"empty derivedKey, normal salt, SHA-256, with empty info with missing deriveBits usage",
"empty derivedKey, normal salt, SHA-256, with empty info with wrong (ECDH) key",
"empty derivedKey, normal salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using empty derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using empty derivedKey, normal salt, PBKDF2, with normal info",
@ -3004,7 +2795,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using empty derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using empty derivedKey, normal salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, PBKDF2, with normal info",
"empty derivedKey, normal salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using empty derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using empty derivedKey, normal salt, PBKDF2, with empty info",
@ -3021,8 +2811,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using empty derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using empty derivedKey, normal salt, PBKDF2, with empty info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, PBKDF2, with empty info",
"empty derivedKey, empty salt, SHA-384, with normal info",
"empty derivedKey, empty salt, SHA-384, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
@ -3087,13 +2875,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-384, with normal info with null length",
"empty derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-384, with normal info with bad hash name SHA384",
"empty derivedKey, empty salt, SHA-384, with normal info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-384, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-384, with empty info",
"empty derivedKey, empty salt, SHA-384, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
@ -3158,13 +2941,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-384, with empty info with null length",
"empty derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-384, with empty info with bad hash name SHA384",
"empty derivedKey, empty salt, SHA-384, with empty info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-384, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-512, with normal info",
"empty derivedKey, empty salt, SHA-512, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
@ -3229,13 +3007,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-512, with normal info with null length",
"empty derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-512, with normal info with bad hash name SHA512",
"empty derivedKey, empty salt, SHA-512, with normal info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-512, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-512, with empty info",
"empty derivedKey, empty salt, SHA-512, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
@ -3300,13 +3073,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-512, with empty info with null length",
"empty derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-512, with empty info with bad hash name SHA512",
"empty derivedKey, empty salt, SHA-512, with empty info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-512, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-1, with normal info",
"empty derivedKey, empty salt, SHA-1, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
@ -3371,13 +3139,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-1, with normal info with null length",
"empty derivedKey, empty salt, SHA-1, with normal info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-1, with normal info with bad hash name SHA1",
"empty derivedKey, empty salt, SHA-1, with normal info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-1, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-1, with empty info",
"empty derivedKey, empty salt, SHA-1, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
@ -3442,13 +3205,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-1, with empty info with null length",
"empty derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-1, with empty info with bad hash name SHA1",
"empty derivedKey, empty salt, SHA-1, with empty info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-1, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-256, with normal info",
"empty derivedKey, empty salt, SHA-256, with normal info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with normal info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
@ -3513,13 +3271,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with normal info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-256, with normal info with null length",
"empty derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-256, with normal info with bad hash name SHA256",
"empty derivedKey, empty salt, SHA-256, with normal info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-256, with normal info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-256, with empty info",
"empty derivedKey, empty salt, SHA-256, with empty info with 0 length",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with empty info",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
@ -3584,12 +3337,8 @@
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with empty info with missing deriveKey usage",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, SHA-256, with empty info with null length",
"empty derivedKey, empty salt, SHA-256, with empty info with non-multiple of 8 length",
"empty derivedKey, empty salt, SHA-256, with empty info with bad hash name SHA256",
"empty derivedKey, empty salt, SHA-256, with empty info with missing deriveBits usage",
"empty derivedKey, empty salt, SHA-256, with empty info with wrong (ECDH) key",
"empty derivedKey, empty salt, PBKDF2, with normal info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 192 using empty derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: AES-CBC length: 256 using empty derivedKey, empty salt, PBKDF2, with normal info",
@ -3606,7 +3355,6 @@
"Derived key of type name: HMAC hash: SHA-256 length: 256 using empty derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-384 length: 256 using empty derivedKey, empty salt, PBKDF2, with normal info",
"Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, empty salt, PBKDF2, with normal info",
"empty derivedKey, empty salt, PBKDF2, with empty info with non-digest algorithm PBKDF2",
"Derived key of type name: AES-CBC length: 128 using empty derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 192 using empty derivedKey, empty salt, PBKDF2, with empty info",
"Derived key of type name: AES-CBC length: 256 using empty derivedKey, empty salt, PBKDF2, with empty info",
@ -12638,16 +12386,7 @@
"Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])",
"Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [unwrapKey])",
"Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey])",
"Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [unwrapKey])",
"Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])",
"Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])",
"Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])",
"Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])",
"Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])",
"Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])",
"Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])",
"Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])",
"Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])"
"Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [unwrapKey])"
]
},
"randomUUID.https.any.html": true,