Commit bdd2856
crypto: allow to restrict valid GCM tag length
This change allows users to restrict accepted GCM authentication tag
lengths to a single value.
Backport-PR-URL: #20706
PR-URL: #20039
Fixes: #17523
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 b6ea5df commit bdd2856Copy full SHA for bdd2856
File tree
Expand file treeCollapse file tree
4 files changed
+82
-7
lines changedOpen diff view settings
Filter options
- doc/api
- src
- test/parallel
Expand file treeCollapse file tree
4 files changed
+82
-7
lines changedOpen diff view settings
Collapse file
+7-1Lines changed: 7 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1454 | 1454 | |
1455 | 1455 | |
1456 | 1456 | |
| 1457 | + |
| 1458 | + |
| 1459 | + |
| 1460 | + |
1457 | 1461 | |
1458 | 1462 | |
1459 | 1463 | |
| ||
1471 | 1475 | |
1472 | 1476 | |
1473 | 1477 | |
1474 | | - |
| 1478 | + |
| 1479 | + |
| 1480 | + |
1475 | 1481 | |
1476 | 1482 | |
1477 | 1483 | |
|
Collapse file
+33-5Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2790 | 2790 | |
2791 | 2791 | |
2792 | 2792 | |
| 2793 | + |
| 2794 | + |
| 2795 | + |
| 2796 | + |
2793 | 2797 | |
2794 | 2798 | |
2795 | 2799 | |
| ||
2799 | 2803 | |
2800 | 2804 | |
2801 | 2805 | |
2802 | | - |
| 2806 | + |
| 2807 | + |
2803 | 2808 | |
2804 | 2809 | |
2805 | 2810 | |
| ||
2832 | 2837 | |
2833 | 2838 | |
2834 | 2839 | |
| 2840 | + |
| 2841 | + |
| 2842 | + |
| 2843 | + |
| 2844 | + |
| 2845 | + |
| 2846 | + |
| 2847 | + |
| 2848 | + |
| 2849 | + |
| 2850 | + |
| 2851 | + |
| 2852 | + |
| 2853 | + |
| 2854 | + |
2835 | 2855 | |
2836 | 2856 | |
2837 | 2857 | |
| ||
2867 | 2887 | |
2868 | 2888 | |
2869 | 2889 | |
2870 | | - |
| 2890 | + |
2871 | 2891 | |
2872 | 2892 | |
2873 | 2893 | |
| ||
2892 | 2912 | |
2893 | 2913 | |
2894 | 2914 | |
2895 | | - |
| 2915 | + |
| 2916 | + |
| 2917 | + |
| 2918 | + |
| 2919 | + |
| 2920 | + |
| 2921 | + |
| 2922 | + |
2896 | 2923 | |
2897 | 2924 | |
2898 | 2925 | |
| ||
2929 | 2956 | |
2930 | 2957 | |
2931 | 2958 | |
2932 | | - |
| 2959 | + |
| 2960 | + |
2933 | 2961 | |
2934 | 2962 | |
2935 | 2963 | |
| ||
2982 | 3010 | |
2983 | 3011 | |
2984 | 3012 | |
2985 | | - |
| 3013 | + |
2986 | 3014 | |
2987 | 3015 | |
2988 | 3016 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
360 | 360 | |
361 | 361 | |
362 | 362 | |
| 363 | + |
363 | 364 | |
364 | 365 | |
365 | 366 | |
| ||
399 | 400 | |
400 | 401 | |
401 | 402 | |
402 | | - |
| 403 | + |
403 | 404 | |
404 | 405 | |
405 | 406 | |
|
Collapse file
test/parallel/test-crypto-authenticated.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-authenticated.js+40Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
727 | 727 | |
728 | 728 | |
729 | 729 | |
| 730 | + |
| 731 | + |
| 732 | + |
| 733 | + |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
| 738 | + |
| 739 | + |
| 740 | + |
| 741 | + |
| 742 | + |
| 743 | + |
| 744 | + |
| 745 | + |
| 746 | + |
| 747 | + |
| 748 | + |
| 749 | + |
| 750 | + |
| 751 | + |
| 752 | + |
| 753 | + |
| 754 | + |
| 755 | + |
| 756 | + |
| 757 | + |
| 758 | + |
| 759 | + |
| 760 | + |
| 761 | + |
| 762 | + |
| 763 | + |
| 764 | + |
| 765 | + |
| 766 | + |
| 767 | + |
| 768 | + |
| 769 | + |
730 | 770 | |
731 | 771 | |
732 | 772 | |
|
0 commit comments