From 1caecf70a2a751d1dd23fcd19ebe2f8e4168112b Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 23 Mar 2023 18:21:43 +0000 Subject: [PATCH] Fixed HKDF op name --- src/core/operations/DeriveHKDFKey.mjs | 2 +- tests/operations/tests/HKDF.mjs | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/operations/DeriveHKDFKey.mjs b/src/core/operations/DeriveHKDFKey.mjs index bd5a4aad..3c594015 100644 --- a/src/core/operations/DeriveHKDFKey.mjs +++ b/src/core/operations/DeriveHKDFKey.mjs @@ -20,7 +20,7 @@ class DeriveHKDFKey extends Operation { constructor() { super(); - this.name = "Derive HKDF Key"; + this.name = "Derive HKDF key"; this.module = "Crypto"; this.description = "A simple Hashed Message Authenticaton Code (HMAC)-based key derivation function (HKDF), defined in RFC5869."; this.infoURL = "https://wikipedia.org/wiki/HKDF"; diff --git a/tests/operations/tests/HKDF.mjs b/tests/operations/tests/HKDF.mjs index 77ae446b..6fca5891 100644 --- a/tests/operations/tests/HKDF.mjs +++ b/tests/operations/tests/HKDF.mjs @@ -16,7 +16,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": "000102030405060708090a0b0c"}, {"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"}, @@ -35,7 +35,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": "606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf"}, {"option": "Hex", "string": "b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"}, @@ -54,7 +54,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": ""}, {"option": "Hex", "string": ""}, @@ -73,7 +73,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": "000102030405060708090a0b0c"}, {"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"}, @@ -92,7 +92,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": "606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf"}, {"option": "Hex", "string": "b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"}, @@ -111,7 +111,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": ""}, {"option": "Hex", "string": ""}, @@ -130,7 +130,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": ""}, {"option": "Hex", "string": ""}, @@ -149,7 +149,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": ""}, {"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"}, @@ -168,7 +168,7 @@ TestRegister.addTests([ "args": ["None"], }, { - "op": "Derive HKDF Key", + "op": "Derive HKDF key", "args": [ {"option": "Hex", "string": "000102030405060708090a0b0c"}, {"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"},