Commit ebff06b
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 e057480 commit ebff06bCopy full SHA for ebff06b
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 |
|---|---|---|
| ||
523 | 523 | |
524 | 524 | |
525 | 525 | |
526 | | - |
527 | | - |
528 | | - |
| 526 | + |
| 527 | + |
529 | 528 | |
530 | 529 | |
531 | 530 | |
| ||
1048 | 1047 | |
1049 | 1048 | |
1050 | 1049 | |
1051 | | - |
1052 | | - |
1053 | | - |
1054 | | - |
1055 | | - |
1056 | | - |
| 1050 | + |
| 1051 | + |
| 1052 | + |
| 1053 | + |
1057 | 1054 | |
1058 | 1055 | |
1059 | 1056 | |
|
Collapse file
+19-6Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
696 | 696 | |
697 | 697 | |
698 | 698 | |
| 699 | + |
| 700 | + |
699 | 701 | |
700 | 702 | |
| 703 | + |
| 704 | + |
| 705 | + |
| 706 | + |
701 | 707 | |
702 | 708 | |
703 | 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 | |
| ||
723 | 729 | |
724 | 730 | |
725 | 731 | |
726 | | - |
| 732 | + |
727 | 733 | |
728 | 734 | |
729 | 735 | |
| ||
732 | 738 | |
733 | 739 | |
734 | 740 | |
735 | | - |
| 741 | + |
736 | 742 | |
737 | 743 | |
738 | 744 | |
| ||
772 | 778 | |
773 | 779 | |
774 | 780 | |
775 | | - |
| 781 | + |
| 782 | + |
| 783 | + |
| 784 | + |
| 785 | + |
| 786 | + |
| 787 | + |
| 788 | + |
776 | 789 | |
777 | 790 | |
778 | 791 | |
|
0 commit comments