Commit 6edf04e
test: move crypto related common utilities in common/crypto
Since `common/crypto` already exists, it makes sense to keep
crypto-related utilities there. The only exception being
common.hasCrypto which is needed up front to determine
if tests should be skipped.
Eliminate the redundant check in hasFipsCrypto and just
use crypto.getFips() directly where needed.
PR-URL: #56714
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent c7a1322 commit 6edf04eCopy full SHA for 6edf04e
File tree
Expand file treeCollapse file tree
89 files changed
+505
-288
lines changedOpen diff view settings
Filter options
- test
- addons/openssl-providers
- benchmark
- common
- parallel
- pummel
- sequential
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
89 files changed
+505
-288
lines changedOpen diff view settings
Collapse file
test/addons/openssl-providers/providers.cjs
Copy file name to clipboardExpand all lines: test/addons/openssl-providers/providers.cjs+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
| 6 | + |
| 7 | + |
6 | 8 | |
7 | | - |
| 9 | + |
8 | 10 | |
| 11 | + |
9 | 12 | |
10 | 13 | |
11 | 14 | |
|
Collapse file
test/benchmark/test-benchmark-crypto.js
Copy file name to clipboardExpand all lines: test/benchmark/test-benchmark-crypto.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
| 9 | + |
| 10 | + |
9 | 11 | |
| 12 | + |
10 | 13 | |
11 | 14 | |
12 | 15 | |
|
Collapse file
-17Lines changed: 0 additions & 17 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
226 | 226 | |
227 | 227 | |
228 | 228 | |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | 229 | |
241 | 230 | |
242 | 231 | |
| ||
417 | 406 | |
418 | 407 | |
419 | 408 | |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | | - |
426 | 409 | |
427 | 410 | |
428 | 411 | |
|
Collapse file
+51-1Lines changed: 51 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
98 | 99 | |
99 | 100 | |
100 | 101 | |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
101 | 123 | |
102 | 124 | |
103 | 125 | |
| ||
111 | 133 | |
112 | 134 | |
113 | 135 | |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
114 | 164 | |
Collapse file
-52Lines changed: 0 additions & 52 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
23 | 22 | |
24 | 23 | |
25 | 24 | |
| ||
57 | 56 | |
58 | 57 | |
59 | 58 | |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | 59 | |
80 | 60 | |
81 | 61 | |
| ||
220 | 200 | |
221 | 201 | |
222 | 202 | |
223 | | - |
224 | 203 | |
225 | 204 | |
226 | 205 | |
| ||
985 | 964 | |
986 | 965 | |
987 | 966 | |
988 | | - |
989 | 967 | |
990 | 968 | |
991 | 969 | |
| ||
1027 | 1005 | |
1028 | 1006 | |
1029 | 1007 | |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | 1008 | |
1035 | 1009 | |
1036 | 1010 | |
| ||
1047 | 1021 | |
1048 | 1022 | |
1049 | 1023 | |
1050 | | - |
1051 | | - |
1052 | | - |
1053 | | - |
1054 | 1024 | |
1055 | 1025 | |
1056 | 1026 | |
| ||
1100 | 1070 | |
1101 | 1071 | |
1102 | 1072 | |
1103 | | - |
1104 | | - |
1105 | | - |
1106 | | - |
1107 | | - |
1108 | | - |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | | - |
1113 | | - |
1114 | | - |
1115 | | - |
1116 | | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | | - |
1125 | 1073 | |
1126 | 1074 | |
1127 | 1075 | |
|
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
45 | 44 | |
46 | 45 | |
47 | 46 | |
| ||
97 | 96 | |
98 | 97 | |
99 | 98 | |
100 | | - |
101 | 99 | |
102 | 100 | |
103 | 101 | |
|
Collapse file
test/parallel/test-cli-node-options.js
Copy file name to clipboardExpand all lines: test/parallel/test-cli-node-options.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
15 | 16 | |
16 | 17 | |
17 | 18 | |
| ||
64 | 65 | |
65 | 66 | |
66 | 67 | |
67 | | - |
| 68 | + |
68 | 69 | |
69 | 70 | |
70 | 71 | |
|
Collapse file
test/parallel/test-crypto-authenticated.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-authenticated.js+12-8Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| 32 | + |
| 33 | + |
| 34 | + |
31 | 35 | |
32 | 36 | |
33 | 37 | |
| ||
53 | 57 | |
54 | 58 | |
55 | 59 | |
56 | | - |
| 60 | + |
57 | 61 | |
58 | 62 | |
59 | 63 | |
| ||
95 | 99 | |
96 | 100 | |
97 | 101 | |
98 | | - |
| 102 | + |
99 | 103 | |
100 | 104 | |
101 | 105 | |
| ||
286 | 290 | |
287 | 291 | |
288 | 292 | |
289 | | - |
| 293 | + |
290 | 294 | |
291 | 295 | |
292 | 296 | |
| ||
312 | 316 | |
313 | 317 | |
314 | 318 | |
315 | | - |
| 319 | + |
316 | 320 | |
317 | 321 | |
318 | 322 | |
| ||
388 | 392 | |
389 | 393 | |
390 | 394 | |
391 | | - |
| 395 | + |
392 | 396 | |
393 | 397 | |
394 | 398 | |
| ||
403 | 407 | |
404 | 408 | |
405 | 409 | |
406 | | - |
| 410 | + |
407 | 411 | |
408 | 412 | |
409 | 413 | |
| ||
562 | 566 | |
563 | 567 | |
564 | 568 | |
565 | | - |
| 569 | + |
566 | 570 | |
567 | 571 | |
568 | 572 | |
|
Collapse file
test/parallel/test-crypto-cipheriv-decipheriv.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-cipheriv-decipheriv.js+6-4Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
8 | 10 | |
9 | 11 | |
10 | 12 | |
| ||
150 | 152 | |
151 | 153 | |
152 | 154 | |
153 | | - |
| 155 | + |
154 | 156 | |
155 | 157 | |
156 | 158 | |
| ||
193 | 195 | |
194 | 196 | |
195 | 197 | |
196 | | - |
197 | | - |
| 198 | + |
| 199 | + |
198 | 200 | |
199 | | - |
| 201 | + |
200 | 202 | |
201 | 203 | |
202 | 204 | |
|
0 commit comments