Commit 2b2ccae
crypto: support authTagLength in GCM encryption
The authTagLength option can now be used to produce GCM authentication
tags with a specific length.
Backport-PR-URL: #20706
PR-URL: #20235
Refs: #20039
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yihong Wang <yh.wang@ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 1e5de6f commit 2b2ccaeCopy full SHA for 2b2ccae
File tree
Expand file treeCollapse file tree
3 files changed
+48
-5
lines changedOpen diff view settings
Filter options
- doc/api
- src
- test/parallel
Expand file treeCollapse file tree
3 files changed
+48
-5
lines changedOpen diff view settings
Collapse file
+15-2Lines changed: 15 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1316 | 1316 | |
1317 | 1317 | |
1318 | 1318 | |
| 1319 | + |
| 1320 | + |
| 1321 | + |
| 1322 | + |
| 1323 | + |
1319 | 1324 | |
1320 | 1325 | |
1321 | 1326 | |
| ||
1331 | 1336 | |
1332 | 1337 | |
1333 | 1338 | |
1334 | | - |
| 1339 | + |
| 1340 | + |
| 1341 | + |
1335 | 1342 | |
1336 | 1343 | |
1337 | 1344 | |
| ||
1362 | 1369 | |
1363 | 1370 | |
1364 | 1371 | |
| 1372 | + |
| 1373 | + |
| 1374 | + |
| 1375 | + |
1365 | 1376 | |
1366 | 1377 | |
1367 | 1378 | |
| ||
1379 | 1390 | |
1380 | 1391 | |
1381 | 1392 | |
1382 | | - |
| 1393 | + |
| 1394 | + |
| 1395 | + |
1383 | 1396 | |
1384 | 1397 | |
1385 | 1398 | |
|
Collapse file
+4-3Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3123 | 3123 | |
3124 | 3124 | |
3125 | 3125 | |
3126 | | - |
3127 | | - |
3128 | | - |
| 3126 | + |
| 3127 | + |
| 3128 | + |
| 3129 | + |
3129 | 3130 | |
3130 | 3131 | |
3131 | 3132 | |
|
Collapse file
test/parallel/test-crypto-authenticated.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-authenticated.js+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
730 | 730 | |
731 | 731 | |
732 | 732 | |
| 733 | + |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
| 738 | + |
| 739 | + |
| 740 | + |
| 741 | + |
| 742 | + |
| 743 | + |
| 744 | + |
733 | 745 | |
734 | 746 | |
735 | 747 | |
| ||
744 | 756 | |
745 | 757 | |
746 | 758 | |
| 759 | + |
| 760 | + |
| 761 | + |
| 762 | + |
| 763 | + |
| 764 | + |
| 765 | + |
| 766 | + |
| 767 | + |
| 768 | + |
| 769 | + |
| 770 | + |
| 771 | + |
| 772 | + |
| 773 | + |
| 774 | + |
| 775 | + |
747 | 776 | |
748 | 777 | |
749 | 778 | |
|
0 commit comments