Commit dff46c0
authored
crypto: move DEP0182 to End-of-Life
This commit moves support for implicitly short GCM authentication tags
to End-of-Life status, thus requiring applications to explicitly specify
the `authTagLength` for authentication tags shorter than 128 bits.
There is quite a bit of refactoring to be done in the C++ source code.
This commit does not do that; instead, it implements a minimal change
only in order to avoid excessive divergence across git branches due to
this being a semver-major change.
Fixes: #52327
Refs: #17523
PR-URL: #61084
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>1 parent 3b7477c commit dff46c0Copy full SHA for dff46c0
4 files changed
+29-47Lines changed: 29 additions & 47 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
- src/crypto
- test/parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+6-16Lines changed: 6 additions & 16 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
925 | 925 | |
926 | 926 | |
927 | 927 | |
| 928 | + |
| 929 | + |
| 930 | + |
| 931 | + |
| 932 | + |
928 | 933 | |
929 | 934 | |
930 | 935 | |
| ||
962 | 967 | |
963 | 968 | |
964 | 969 | |
965 | | - |
966 | | - |
967 | | - |
968 | | - |
969 | | - |
970 | | - |
971 | | - |
972 | | - |
973 | | - |
974 | 970 | |
975 | 971 | |
976 | 972 | |
| ||
3361 | 3357 | |
3362 | 3358 | |
3363 | 3359 | |
3364 | | - |
| 3360 | + |
3365 | 3361 | |
3366 | | - |
3367 | | - |
3368 | | - |
3369 | | - |
3370 | | - |
3371 | 3362 | |
3372 | 3363 | |
3373 | 3364 | |
| ||
6522 | 6513 | |
6523 | 6514 | |
6524 | 6515 | |
6525 | | - |
6526 | 6516 | |
6527 | 6517 | |
6528 | 6518 | |
|
Collapse file
+10-7Lines changed: 10 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3992 | 3992 | |
3993 | 3993 | |
3994 | 3994 | |
| 3995 | + |
| 3996 | + |
| 3997 | + |
3995 | 3998 | |
3996 | 3999 | |
3997 | 4000 | |
| ||
4000 | 4003 | |
4001 | 4004 | |
4002 | 4005 | |
4003 | | - |
| 4006 | + |
4004 | 4007 | |
4005 | | - |
4006 | | - |
| 4008 | + |
| 4009 | + |
| 4010 | + |
| 4011 | + |
| 4012 | + |
| 4013 | + |
4007 | 4014 | |
4008 | 4015 | |
4009 | | - |
4010 | | - |
4011 | | - |
4012 | | - |
4013 | 4016 | |
4014 | 4017 | |
4015 | 4018 | |
|
Collapse file
src/crypto/crypto_cipher.cc
Copy file name to clipboardExpand all lines: src/crypto/crypto_cipher.cc+4-13Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
554 | 554 | |
555 | 555 | |
556 | 556 | |
557 | | - |
| 557 | + |
| 558 | + |
| 559 | + |
| 560 | + |
558 | 561 | |
559 | 562 | |
560 | 563 | |
561 | 564 | |
562 | | - |
563 | | - |
564 | | - |
565 | | - |
566 | | - |
567 | | - |
568 | | - |
569 | | - |
570 | | - |
571 | | - |
572 | | - |
573 | | - |
574 | 565 | |
575 | 566 | |
576 | 567 | |
|
Collapse file
test/parallel/test-crypto-gcm-implicit-short-tag.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-gcm-implicit-short-tag.js+9-11Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | 9 | |
18 | 10 | |
19 | | - |
20 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
0 commit comments