Commit d0ebf0e
crypto: add TurboSHAKE and KangarooTwelve Web Cryptography algorithms
PR-URL: #62183
Refs: https://wicg.github.io/webcrypto-modern-algos/#kangarootwelve
Refs: https://wicg.github.io/webcrypto-modern-algos/#turboshake
Refs: https://www.rfc-editor.org/rfc/rfc9861.html
Refs: https://redirect.github.com/openssl/openssl/issues/30304
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>1 parent 61cc747 commit d0ebf0eCopy full SHA for d0ebf0e
12 files changed
+1,521-2Lines changed: 1521 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
- lib/internal/crypto
- src
- crypto
- test
- fixtures/webcrypto
- parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+85-1Lines changed: 85 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
5 | 9 | |
6 | 10 | |
7 | 11 | |
| ||
122 | 126 | |
123 | 127 | |
124 | 128 | |
| 129 | + |
| 130 | + |
125 | 131 | |
126 | 132 | |
127 | 133 | |
| ||
131 | 137 | |
132 | 138 | |
133 | 139 | |
| 140 | + |
| 141 | + |
134 | 142 | |
135 | 143 | |
136 | 144 | |
| ||
575 | 583 | |
576 | 584 | |
577 | 585 | |
| 586 | + |
| 587 | + |
578 | 588 | |
579 | 589 | |
580 | 590 | |
| ||
592 | 602 | |
593 | 603 | |
594 | 604 | |
| 605 | + |
| 606 | + |
595 | 607 | |
596 | 608 | |
597 | 609 | |
| ||
999 | 1011 | |
1000 | 1012 | |
1001 | 1013 | |
| 1014 | + |
| 1015 | + |
| 1016 | + |
| 1017 | + |
1002 | 1018 | |
1003 | 1019 | |
1004 | 1020 | |
| ||
1007 | 1023 | |
1008 | 1024 | |
1009 | 1025 | |
1010 | | - |
| 1026 | + |
1011 | 1027 | |
1012 | 1028 | |
1013 | 1029 | |
| ||
1019 | 1035 | |
1020 | 1036 | |
1021 | 1037 | |
| 1038 | + |
| 1039 | + |
1022 | 1040 | |
1023 | 1041 | |
1024 | 1042 | |
1025 | 1043 | |
1026 | 1044 | |
1027 | 1045 | |
1028 | 1046 | |
| 1047 | + |
| 1048 | + |
1029 | 1049 | |
1030 | 1050 | |
1031 | 1051 | |
| ||
2316 | 2336 | |
2317 | 2337 | |
2318 | 2338 | |
| 2339 | + |
| 2340 | + |
| 2341 | + |
| 2342 | + |
| 2343 | + |
| 2344 | + |
| 2345 | + |
| 2346 | + |
| 2347 | + |
| 2348 | + |
| 2349 | + |
| 2350 | + |
| 2351 | + |
| 2352 | + |
| 2353 | + |
| 2354 | + |
| 2355 | + |
| 2356 | + |
| 2357 | + |
| 2358 | + |
| 2359 | + |
| 2360 | + |
| 2361 | + |
| 2362 | + |
| 2363 | + |
| 2364 | + |
| 2365 | + |
| 2366 | + |
| 2367 | + |
| 2368 | + |
| 2369 | + |
| 2370 | + |
2319 | 2371 | |
2320 | 2372 | |
2321 | 2373 | |
| ||
2686 | 2738 | |
2687 | 2739 | |
2688 | 2740 | |
| 2741 | + |
| 2742 | + |
| 2743 | + |
| 2744 | + |
| 2745 | + |
| 2746 | + |
| 2747 | + |
| 2748 | + |
| 2749 | + |
| 2750 | + |
| 2751 | + |
| 2752 | + |
| 2753 | + |
| 2754 | + |
| 2755 | + |
| 2756 | + |
| 2757 | + |
| 2758 | + |
| 2759 | + |
| 2760 | + |
| 2761 | + |
| 2762 | + |
| 2763 | + |
| 2764 | + |
| 2765 | + |
| 2766 | + |
| 2767 | + |
| 2768 | + |
| 2769 | + |
| 2770 | + |
| 2771 | + |
| 2772 | + |
2689 | 2773 | |
2690 | 2774 | |
2691 | 2775 | |
|
Collapse file
lib/internal/crypto/hash.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/hash.js+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
| 18 | + |
17 | 19 | |
18 | 20 | |
19 | 21 | |
| ||
224 | 226 | |
225 | 227 | |
226 | 228 | |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
227 | 247 | |
228 | 248 | |
229 | 249 | |
|
Collapse file
lib/internal/crypto/util.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/util.js+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
244 | 244 | |
245 | 245 | |
246 | 246 | |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
247 | 251 | |
248 | 252 | |
249 | 253 | |
| ||
441 | 445 | |
442 | 446 | |
443 | 447 | |
| 448 | + |
| 449 | + |
| 450 | + |
| 451 | + |
444 | 452 | |
445 | 453 | |
446 | 454 | |
| ||
513 | 521 | |
514 | 522 | |
515 | 523 | |
| 524 | + |
| 525 | + |
| 526 | + |
| 527 | + |
516 | 528 | |
517 | 529 | |
518 | 530 | |
|
Collapse file
lib/internal/crypto/webidl.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/webidl.js+46Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
897 | 897 | |
898 | 898 | |
899 | 899 | |
| 900 | + |
| 901 | + |
| 902 | + |
| 903 | + |
| 904 | + |
| 905 | + |
| 906 | + |
| 907 | + |
| 908 | + |
| 909 | + |
| 910 | + |
| 911 | + |
| 912 | + |
| 913 | + |
| 914 | + |
| 915 | + |
| 916 | + |
| 917 | + |
| 918 | + |
| 919 | + |
| 920 | + |
| 921 | + |
| 922 | + |
| 923 | + |
| 924 | + |
| 925 | + |
| 926 | + |
| 927 | + |
| 928 | + |
| 929 | + |
| 930 | + |
| 931 | + |
| 932 | + |
| 933 | + |
| 934 | + |
| 935 | + |
| 936 | + |
| 937 | + |
| 938 | + |
| 939 | + |
| 940 | + |
| 941 | + |
| 942 | + |
| 943 | + |
| 944 | + |
| 945 | + |
900 | 946 | |
901 | 947 | |
902 | 948 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
390 | 390 | |
391 | 391 | |
392 | 392 | |
| 393 | + |
393 | 394 | |
394 | 395 | |
395 | 396 | |
| ||
408 | 409 | |
409 | 410 | |
410 | 411 | |
| 412 | + |
411 | 413 | |
412 | 414 | |
413 | 415 | |
|
0 commit comments