Commit cf85cba
committed
Add digest algo param to private encrypt and public decrypt
Specifically, it is added to openssl_private_encrypt() and
openssl_public_decrypt() functions. The purpose is to specify digest
algorithm for OEAP padding. It currently defaults to SHA1 which is not
preferred for modern setup and causes problems in compatibility with
web crypto.1 parent 2645663 commit cf85cba
File tree
4 files changed
+79
-11
lines changed- ext/openssl
- tests
4 files changed
+79
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3725 | 3725 | | |
3726 | 3726 | | |
3727 | 3727 | | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
3728 | 3751 | | |
3729 | 3752 | | |
3730 | 3753 | | |
| |||
3780 | 3803 | | |
3781 | 3804 | | |
3782 | 3805 | | |
3783 | | - | |
3784 | | - | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
3785 | 3809 | | |
3786 | | - | |
| 3810 | + | |
3787 | 3811 | | |
3788 | 3812 | | |
3789 | 3813 | | |
| |||
3798 | 3822 | | |
3799 | 3823 | | |
3800 | 3824 | | |
3801 | | - | |
| 3825 | + | |
3802 | 3826 | | |
3803 | 3827 | | |
3804 | 3828 | | |
| |||
3879 | 3903 | | |
3880 | 3904 | | |
3881 | 3905 | | |
3882 | | - | |
3883 | | - | |
| 3906 | + | |
| 3907 | + | |
| 3908 | + | |
3884 | 3909 | | |
3885 | | - | |
| 3910 | + | |
3886 | 3911 | | |
3887 | 3912 | | |
3888 | 3913 | | |
| |||
3897 | 3922 | | |
3898 | 3923 | | |
3899 | 3924 | | |
3900 | | - | |
| 3925 | + | |
3901 | 3926 | | |
3902 | 3927 | | |
3903 | 3928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments