diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_EncryptInit.3')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_EncryptInit.3 | 56 |
1 files changed, 5 insertions, 51 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3 index 32ed3349b9..3e0cec8f9e 100644 --- a/src/lib/libcrypto/man/EVP_EncryptInit.3 +++ b/src/lib/libcrypto/man/EVP_EncryptInit.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_EncryptInit.3,v 1.53 2024/11/09 22:03:49 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_EncryptInit.3,v 1.54 2024/12/08 17:41:23 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 | 2 | .\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 |
| 3 | .\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod | 3 | .\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod |
| 4 | .\" 7c6d372a Nov 20 13:20:01 2018 +0000 | 4 | .\" 7c6d372a Nov 20 13:20:01 2018 +0000 |
| @@ -69,7 +69,7 @@ | |||
| 69 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 69 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 70 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 70 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 71 | .\" | 71 | .\" |
| 72 | .Dd $Mdocdate: November 9 2024 $ | 72 | .Dd $Mdocdate: December 8 2024 $ |
| 73 | .Dt EVP_ENCRYPTINIT 3 | 73 | .Dt EVP_ENCRYPTINIT 3 |
| 74 | .Os | 74 | .Os |
| 75 | .Sh NAME | 75 | .Sh NAME |
| @@ -103,13 +103,6 @@ | |||
| 103 | .Nm EVP_idea_cfb64 , | 103 | .Nm EVP_idea_cfb64 , |
| 104 | .Nm EVP_idea_cfb , | 104 | .Nm EVP_idea_cfb , |
| 105 | .Nm EVP_idea_ofb , | 105 | .Nm EVP_idea_ofb , |
| 106 | .Nm EVP_rc2_cbc , | ||
| 107 | .Nm EVP_rc2_ecb , | ||
| 108 | .Nm EVP_rc2_cfb64 , | ||
| 109 | .Nm EVP_rc2_cfb , | ||
| 110 | .Nm EVP_rc2_ofb , | ||
| 111 | .Nm EVP_rc2_40_cbc , | ||
| 112 | .Nm EVP_rc2_64_cbc , | ||
| 113 | .Nm EVP_bf_cbc , | 106 | .Nm EVP_bf_cbc , |
| 114 | .Nm EVP_bf_ecb , | 107 | .Nm EVP_bf_ecb , |
| 115 | .Nm EVP_bf_cfb64 , | 108 | .Nm EVP_bf_cfb64 , |
| @@ -570,34 +563,6 @@ is an alias for | |||
| 570 | .Fn EVP_idea_cfb64 , | 563 | .Fn EVP_idea_cfb64 , |
| 571 | implemented as a macro. | 564 | implemented as a macro. |
| 572 | .It Xo | 565 | .It Xo |
| 573 | .Fn EVP_rc2_cbc , | ||
| 574 | .Fn EVP_rc2_ecb , | ||
| 575 | .Fn EVP_rc2_cfb64 , | ||
| 576 | .Fn EVP_rc2_ofb | ||
| 577 | .Xc | ||
| 578 | RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. | ||
| 579 | RC2 is a block cipher operating on 64 bit blocks using a variable | ||
| 580 | .Fa key | ||
| 581 | length with an additional parameter called | ||
| 582 | "effective key bits" or "effective key length". | ||
| 583 | By default both are set to 128 bits. | ||
| 584 | .Fn EVP_rc2_cfb | ||
| 585 | is an alias for | ||
| 586 | .Fn EVP_rc2_cfb64 , | ||
| 587 | implemented as a macro. | ||
| 588 | .It Xo | ||
| 589 | .Fn EVP_rc2_40_cbc , | ||
| 590 | .Fn EVP_rc2_64_cbc | ||
| 591 | .Xc | ||
| 592 | RC2 algorithm in CBC mode with a default key length and effective key | ||
| 593 | length of 40 and 64 bits. | ||
| 594 | These are obsolete and new code should use | ||
| 595 | .Fn EVP_rc2_cbc , | ||
| 596 | .Xr EVP_CIPHER_CTX_set_key_length 3 , | ||
| 597 | and | ||
| 598 | .Xr EVP_CIPHER_CTX_ctrl 3 | ||
| 599 | to set the key length and effective key length. | ||
| 600 | .It Xo | ||
| 601 | .Fn EVP_bf_cbc , | 566 | .Fn EVP_bf_cbc , |
| 602 | .Fn EVP_bf_ecb , | 567 | .Fn EVP_bf_ecb , |
| 603 | .Fn EVP_bf_cfb64 , | 568 | .Fn EVP_bf_cfb64 , |
| @@ -638,6 +603,7 @@ Some algorithms are documented in separate manual pages: | |||
| 638 | .It Xr EVP_camellia_128_cbc 3 Ta 128 Ta 128, 192, 256 | 603 | .It Xr EVP_camellia_128_cbc 3 Ta 128 Ta 128, 192, 256 |
| 639 | .It Xr EVP_chacha20 3 Ta stream Ta 256 | 604 | .It Xr EVP_chacha20 3 Ta stream Ta 256 |
| 640 | .It Xr EVP_des_cbc 3 Ta 64 Ta 64 | 605 | .It Xr EVP_des_cbc 3 Ta 64 Ta 64 |
| 606 | .It Xr EVP_rc2_cbc 3 Ta 64 Ta variable, default 128 | ||
| 641 | .It Xr EVP_rc4 3 Ta stream Ta variable, default 128 | 607 | .It Xr EVP_rc4 3 Ta stream Ta variable, default 128 |
| 642 | .It Xr EVP_sm4_cbc 3 Ta 128 Ta 128 | 608 | .It Xr EVP_sm4_cbc 3 Ta 128 Ta 128 |
| 643 | .El | 609 | .El |
| @@ -864,6 +830,7 @@ do_crypt(FILE *in_fileptr, FILE *out_fileptr, int do_encrypt) | |||
| 864 | .Xr EVP_CIPHER_nid 3 , | 830 | .Xr EVP_CIPHER_nid 3 , |
| 865 | .Xr EVP_des_cbc 3 , | 831 | .Xr EVP_des_cbc 3 , |
| 866 | .Xr EVP_OpenInit 3 , | 832 | .Xr EVP_OpenInit 3 , |
| 833 | .Xr EVP_rc2_cbc 3 , | ||
| 867 | .Xr EVP_rc4 3 , | 834 | .Xr EVP_rc4 3 , |
| 868 | .Xr EVP_SealInit 3 , | 835 | .Xr EVP_SealInit 3 , |
| 869 | .Xr EVP_sm4_cbc 3 | 836 | .Xr EVP_sm4_cbc 3 |
| @@ -884,12 +851,6 @@ do_crypt(FILE *in_fileptr, FILE *out_fileptr, int do_encrypt) | |||
| 884 | and | 851 | and |
| 885 | .Fn EVP_idea_ofb | 852 | .Fn EVP_idea_ofb |
| 886 | first appeared in SSLeay 0.5.1. | 853 | first appeared in SSLeay 0.5.1. |
| 887 | .Fn EVP_rc2_cbc , | ||
| 888 | .Fn EVP_rc2_ecb , | ||
| 889 | .Fn EVP_rc2_cfb , | ||
| 890 | and | ||
| 891 | .Fn EVP_rc2_ofb | ||
| 892 | first appeared in SSLeay 0.5.2. | ||
| 893 | .Fn EVP_bf_cbc , | 854 | .Fn EVP_bf_cbc , |
| 894 | .Fn EVP_bf_ecb , | 855 | .Fn EVP_bf_ecb , |
| 895 | .Fn EVP_bf_cfb , | 856 | .Fn EVP_bf_cfb , |
| @@ -906,12 +867,6 @@ first appeared in SSLeay 0.8.1. | |||
| 906 | All these functions have been available since | 867 | All these functions have been available since |
| 907 | .Ox 2.4 . | 868 | .Ox 2.4 . |
| 908 | .Pp | 869 | .Pp |
| 909 | .Fn EVP_rc2_40_cbc | ||
| 910 | and | ||
| 911 | .Fn EVP_rc2_64_cbc | ||
| 912 | first appeared in SSLeay 0.9.1 and have been available since | ||
| 913 | .Ox 2.6 . | ||
| 914 | .Pp | ||
| 915 | .Fn EVP_EncryptInit_ex , | 870 | .Fn EVP_EncryptInit_ex , |
| 916 | .Fn EVP_EncryptFinal_ex , | 871 | .Fn EVP_EncryptFinal_ex , |
| 917 | .Fn EVP_DecryptInit_ex , | 872 | .Fn EVP_DecryptInit_ex , |
| @@ -924,9 +879,8 @@ first appeared in OpenSSL 0.9.7 and have been available since | |||
| 924 | .Pp | 879 | .Pp |
| 925 | .Fn EVP_bf_cfb64 , | 880 | .Fn EVP_bf_cfb64 , |
| 926 | .Fn EVP_cast5_cfb64 , | 881 | .Fn EVP_cast5_cfb64 , |
| 927 | .Fn EVP_idea_cfb64 , | ||
| 928 | and | 882 | and |
| 929 | .Fn EVP_rc2_cfb64 | 883 | .Fn EVP_idea_cfb64 |
| 930 | first appeared in OpenSSL 0.9.7e and have been available since | 884 | first appeared in OpenSSL 0.9.7e and have been available since |
| 931 | .Ox 3.8 . | 885 | .Ox 3.8 . |
| 932 | .Pp | 886 | .Pp |
