diff options
author | schwarze <> | 2023-08-15 11:26:49 +0000 |
---|---|---|
committer | schwarze <> | 2023-08-15 11:26:49 +0000 |
commit | 15a90cedfbb16f7a2003395c231461b47bd3e1fd (patch) | |
tree | e35ef2300652be16978a7e114ad17964b8fd5e69 /src/lib/libcrypto/man/EVP_EncryptInit.3 | |
parent | 71713846df0b1574c02eede181ea8d7f048449f0 (diff) | |
download | openbsd-15a90cedfbb16f7a2003395c231461b47bd3e1fd.tar.gz openbsd-15a90cedfbb16f7a2003395c231461b47bd3e1fd.tar.bz2 openbsd-15a90cedfbb16f7a2003395c231461b47bd3e1fd.zip |
Import the EVP_chacha20(3) manual page from the OpenSSL 1.1 branch,
which is still under a free license, to work on it in the tree.
The required content changes have not been done yet,
i only tweaked the markup and wording so far.
Diffstat (limited to 'src/lib/libcrypto/man/EVP_EncryptInit.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_EncryptInit.3 | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3 index b4fbfa3730..92680ae07f 100644 --- a/src/lib/libcrypto/man/EVP_EncryptInit.3 +++ b/src/lib/libcrypto/man/EVP_EncryptInit.3 | |||
@@ -1,9 +1,7 @@ | |||
1 | .\" $OpenBSD: EVP_EncryptInit.3,v 1.44 2022/08/31 14:27:34 tb Exp $ | 1 | .\" $OpenBSD: EVP_EncryptInit.3,v 1.45 2023/08/15 11:26:49 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 |
5 | .\" selective merge up to: OpenSSL 16cfc2c9 Mar 8 22:30:28 2018 +0100 | ||
6 | .\" EVP_chacha20.pod 8fa4d95e Oct 21 11:59:09 2017 +0900 | ||
7 | .\" | 5 | .\" |
8 | .\" This file is a derived work. | 6 | .\" This file is a derived work. |
9 | .\" The changes are covered by the following Copyright and license: | 7 | .\" The changes are covered by the following Copyright and license: |
@@ -71,7 +69,7 @@ | |||
71 | .\" 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 |
72 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 70 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
73 | .\" | 71 | .\" |
74 | .Dd $Mdocdate: August 31 2022 $ | 72 | .Dd $Mdocdate: August 15 2023 $ |
75 | .Dt EVP_ENCRYPTINIT 3 | 73 | .Dt EVP_ENCRYPTINIT 3 |
76 | .Os | 74 | .Os |
77 | .Sh NAME | 75 | .Sh NAME |
@@ -149,8 +147,7 @@ | |||
149 | .Nm EVP_cast5_ecb , | 147 | .Nm EVP_cast5_ecb , |
150 | .Nm EVP_cast5_cfb64 , | 148 | .Nm EVP_cast5_cfb64 , |
151 | .Nm EVP_cast5_cfb , | 149 | .Nm EVP_cast5_cfb , |
152 | .Nm EVP_cast5_ofb , | 150 | .Nm EVP_cast5_ofb |
153 | .Nm EVP_chacha20 | ||
154 | .Nd EVP cipher routines | 151 | .Nd EVP cipher routines |
155 | .Sh SYNOPSIS | 152 | .Sh SYNOPSIS |
156 | .In openssl/evp.h | 153 | .In openssl/evp.h |
@@ -1020,11 +1017,6 @@ This is a variable key length cipher. | |||
1020 | is an alias for | 1017 | is an alias for |
1021 | .Fn EVP_cast5_cfb64 , | 1018 | .Fn EVP_cast5_cfb64 , |
1022 | implemented as a macro. | 1019 | implemented as a macro. |
1023 | .It Fn EVP_chacha20 | ||
1024 | The ChaCha20 stream cipher. | ||
1025 | The key length is 256 bits. | ||
1026 | The first 32 bits of the 128-bit IV are used as a counter, | ||
1027 | and the remaining 96 bits as a nonce. | ||
1028 | .El | 1020 | .El |
1029 | .Pp | 1021 | .Pp |
1030 | See also | 1022 | See also |
@@ -1241,6 +1233,7 @@ do_crypt(FILE *in, FILE *out, int do_encrypt) | |||
1241 | .Xr EVP_AEAD_CTX_init 3 , | 1233 | .Xr EVP_AEAD_CTX_init 3 , |
1242 | .Xr EVP_aes_128_cbc 3 , | 1234 | .Xr EVP_aes_128_cbc 3 , |
1243 | .Xr EVP_camellia_128_cbc 3 , | 1235 | .Xr EVP_camellia_128_cbc 3 , |
1236 | .Xr EVP_chacha20 3 , | ||
1244 | .Xr EVP_des_cbc 3 , | 1237 | .Xr EVP_des_cbc 3 , |
1245 | .Xr EVP_OpenInit 3 , | 1238 | .Xr EVP_OpenInit 3 , |
1246 | .Xr EVP_rc4 3 , | 1239 | .Xr EVP_rc4 3 , |