Commit 4755ad5
src: remove usages of GetBackingStore in crypto
This removes all usages of GetBackingStore in `crypto`. See the
linked issue for an explanation.
Note: I am not sure of the lifetime semantics intended by
`ArrayBufferOrViewContents` -- I am pretty sure it is correct based on
a manual audit of the callsites, but please ensure that it is correct.
Refs: #32226
Refs: #43921
PR-URL: #44079
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 2f904bc commit 4755ad5Copy full SHA for 4755ad5
File tree
Expand file treeCollapse file tree
3 files changed
+29
-16
lines changedOpen diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
3 files changed
+29
-16
lines changedOpen diff view settings
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
112 | 112 | |
113 | 113 | |
114 | 114 | |
115 | | - |
| 115 | + |
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | 119 | |
120 | 120 | |
| 121 | + |
| 122 | + |
| 123 | + |
121 | 124 | |
122 | 125 | |
123 | 126 | |
|
Collapse file
src/crypto/crypto_cipher.cc
Copy file name to clipboardExpand all lines: src/crypto/crypto_cipher.cc+6-9Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
536 | 536 | |
537 | 537 | |
538 | 538 | |
539 | | - |
540 | | - |
541 | | - |
| 539 | + |
| 540 | + |
542 | 541 | |
543 | 542 | |
544 | 543 | |
| ||
1061 | 1060 | |
1062 | 1061 | |
1063 | 1062 | |
1064 | | - |
1065 | | - |
1066 | | - |
1067 | | - |
1068 | | - |
1069 | | - |
| 1063 | + |
| 1064 | + |
| 1065 | + |
| 1066 | + |
1070 | 1067 | |
1071 | 1068 | |
1072 | 1069 | |
|
Collapse file
+19-6Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
699 | 699 | |
700 | 700 | |
701 | 701 | |
| 702 | + |
| 703 | + |
702 | 704 | |
703 | 705 | |
| 706 | + |
| 707 | + |
| 708 | + |
| 709 | + |
704 | 710 | |
705 | 711 | |
706 | 712 | |
707 | 713 | |
708 | 714 | |
709 | | - |
| 715 | + |
710 | 716 | |
711 | 717 | |
712 | 718 | |
713 | 719 | |
714 | | - |
| 720 | + |
715 | 721 | |
716 | 722 | |
717 | 723 | |
718 | 724 | |
719 | | - |
| 725 | + |
720 | 726 | |
721 | 727 | |
722 | 728 | |
| ||
726 | 732 | |
727 | 733 | |
728 | 734 | |
729 | | - |
| 735 | + |
730 | 736 | |
731 | 737 | |
732 | 738 | |
| ||
735 | 741 | |
736 | 742 | |
737 | 743 | |
738 | | - |
| 744 | + |
739 | 745 | |
740 | 746 | |
741 | 747 | |
| ||
775 | 781 | |
776 | 782 | |
777 | 783 | |
778 | | - |
| 784 | + |
| 785 | + |
| 786 | + |
| 787 | + |
| 788 | + |
| 789 | + |
| 790 | + |
| 791 | + |
779 | 792 | |
780 | 793 | |
781 | 794 | |
|
0 commit comments