Skip to content

Commit 1caecf7

Browse files
committed
Fixed HKDF op name
1 parent 6e34774 commit 1caecf7

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/core/operations/DeriveHKDFKey.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DeriveHKDFKey extends Operation {
2020
constructor() {
2121
super();
2222

23-
this.name = "Derive HKDF Key";
23+
this.name = "Derive HKDF key";
2424
this.module = "Crypto";
2525
this.description = "A simple Hashed Message Authenticaton Code (HMAC)-based key derivation function (HKDF), defined in RFC5869.";
2626
this.infoURL = "https://wikipedia.org/wiki/HKDF";

tests/operations/tests/HKDF.mjs

+9-9
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TestRegister.addTests([
1616
"args": ["None"],
1717
},
1818
{
19-
"op": "Derive HKDF Key",
19+
"op": "Derive HKDF key",
2020
"args": [
2121
{"option": "Hex", "string": "000102030405060708090a0b0c"},
2222
{"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"},
@@ -35,7 +35,7 @@ TestRegister.addTests([
3535
"args": ["None"],
3636
},
3737
{
38-
"op": "Derive HKDF Key",
38+
"op": "Derive HKDF key",
3939
"args": [
4040
{"option": "Hex", "string": "606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf"},
4141
{"option": "Hex", "string": "b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"},
@@ -54,7 +54,7 @@ TestRegister.addTests([
5454
"args": ["None"],
5555
},
5656
{
57-
"op": "Derive HKDF Key",
57+
"op": "Derive HKDF key",
5858
"args": [
5959
{"option": "Hex", "string": ""},
6060
{"option": "Hex", "string": ""},
@@ -73,7 +73,7 @@ TestRegister.addTests([
7373
"args": ["None"],
7474
},
7575
{
76-
"op": "Derive HKDF Key",
76+
"op": "Derive HKDF key",
7777
"args": [
7878
{"option": "Hex", "string": "000102030405060708090a0b0c"},
7979
{"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"},
@@ -92,7 +92,7 @@ TestRegister.addTests([
9292
"args": ["None"],
9393
},
9494
{
95-
"op": "Derive HKDF Key",
95+
"op": "Derive HKDF key",
9696
"args": [
9797
{"option": "Hex", "string": "606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf"},
9898
{"option": "Hex", "string": "b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"},
@@ -111,7 +111,7 @@ TestRegister.addTests([
111111
"args": ["None"],
112112
},
113113
{
114-
"op": "Derive HKDF Key",
114+
"op": "Derive HKDF key",
115115
"args": [
116116
{"option": "Hex", "string": ""},
117117
{"option": "Hex", "string": ""},
@@ -130,7 +130,7 @@ TestRegister.addTests([
130130
"args": ["None"],
131131
},
132132
{
133-
"op": "Derive HKDF Key",
133+
"op": "Derive HKDF key",
134134
"args": [
135135
{"option": "Hex", "string": ""},
136136
{"option": "Hex", "string": ""},
@@ -149,7 +149,7 @@ TestRegister.addTests([
149149
"args": ["None"],
150150
},
151151
{
152-
"op": "Derive HKDF Key",
152+
"op": "Derive HKDF key",
153153
"args": [
154154
{"option": "Hex", "string": ""},
155155
{"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"},
@@ -168,7 +168,7 @@ TestRegister.addTests([
168168
"args": ["None"],
169169
},
170170
{
171-
"op": "Derive HKDF Key",
171+
"op": "Derive HKDF key",
172172
"args": [
173173
{"option": "Hex", "string": "000102030405060708090a0b0c"},
174174
{"option": "Hex", "string": "f0f1f2f3f4f5f6f7f8f9"},

0 commit comments

Comments
 (0)