summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2019-03-21 11:21:40 +0000
committerschwarze <>2019-03-21 11:21:40 +0000
commite1206d1b262323483476be3ac03fecd1416c9236 (patch)
treefb8c7adea966cba3aea186e0a6dea19570e63eab
parent98e533db56d0377f31e3e2ffc403d87f00534013 (diff)
downloadopenbsd-e1206d1b262323483476be3ac03fecd1416c9236.tar.gz
openbsd-e1206d1b262323483476be3ac03fecd1416c9236.tar.bz2
openbsd-e1206d1b262323483476be3ac03fecd1416c9236.zip
add a handful of missing functions
that are also documented in OpenSSL 1.1.1 (still under a free license)
-rw-r--r--src/lib/libcrypto/man/EVP_EncryptInit.343
1 files changed, 38 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3
index 0a777b8617..3afff9f60f 100644
--- a/src/lib/libcrypto/man/EVP_EncryptInit.3
+++ b/src/lib/libcrypto/man/EVP_EncryptInit.3
@@ -1,6 +1,9 @@
1.\" $OpenBSD: EVP_EncryptInit.3,v 1.30 2019/03/21 03:16:12 tb Exp $ 1.\" $OpenBSD: EVP_EncryptInit.3,v 1.31 2019/03/21 11:21:40 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
4.\" 7c6d372a Nov 20 13:20:01 2018 +0000
3.\" selective merge up to: OpenSSL 16cfc2c9 Mar 8 22:30:28 2018 +0100 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
4.\" 7.\"
5.\" This file was written by Dr. Stephen Henson <steve@openssl.org> 8.\" This file was written by Dr. Stephen Henson <steve@openssl.org>
6.\" and Richard Levitte <levitte@openssl.org>. 9.\" and Richard Levitte <levitte@openssl.org>.
@@ -125,20 +128,24 @@
125.Nm EVP_rc4_hmac_md5 , 128.Nm EVP_rc4_hmac_md5 ,
126.Nm EVP_idea_cbc , 129.Nm EVP_idea_cbc ,
127.Nm EVP_idea_ecb , 130.Nm EVP_idea_ecb ,
131.Nm EVP_idea_cfb64 ,
128.Nm EVP_idea_cfb , 132.Nm EVP_idea_cfb ,
129.Nm EVP_idea_ofb , 133.Nm EVP_idea_ofb ,
130.Nm EVP_rc2_cbc , 134.Nm EVP_rc2_cbc ,
131.Nm EVP_rc2_ecb , 135.Nm EVP_rc2_ecb ,
136.Nm EVP_rc2_cfb64 ,
132.Nm EVP_rc2_cfb , 137.Nm EVP_rc2_cfb ,
133.Nm EVP_rc2_ofb , 138.Nm EVP_rc2_ofb ,
134.Nm EVP_rc2_40_cbc , 139.Nm EVP_rc2_40_cbc ,
135.Nm EVP_rc2_64_cbc , 140.Nm EVP_rc2_64_cbc ,
136.Nm EVP_bf_cbc , 141.Nm EVP_bf_cbc ,
137.Nm EVP_bf_ecb , 142.Nm EVP_bf_ecb ,
143.Nm EVP_bf_cfb64 ,
138.Nm EVP_bf_cfb , 144.Nm EVP_bf_cfb ,
139.Nm EVP_bf_ofb , 145.Nm EVP_bf_ofb ,
140.Nm EVP_cast5_cbc , 146.Nm EVP_cast5_cbc ,
141.Nm EVP_cast5_ecb , 147.Nm EVP_cast5_ecb ,
148.Nm EVP_cast5_cfb64 ,
142.Nm EVP_cast5_cfb , 149.Nm EVP_cast5_cfb ,
143.Nm EVP_cast5_ofb , 150.Nm EVP_cast5_ofb ,
144.Nm EVP_chacha20 151.Nm EVP_chacha20
@@ -962,20 +969,28 @@ function.
962.It Xo 969.It Xo
963.Fn EVP_idea_cbc , 970.Fn EVP_idea_cbc ,
964.Fn EVP_idea_ecb , 971.Fn EVP_idea_ecb ,
965.Fn EVP_idea_cfb , 972.Fn EVP_idea_cfb64 ,
966.Fn EVP_idea_ofb 973.Fn EVP_idea_ofb
967.Xc 974.Xc
968IDEA encryption algorithm in CBC, ECB, CFB and OFB modes respectively. 975IDEA encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
976.Fn EVP_idea_cfb
977is an alias for
978.Fn EVP_idea_cfb64 ,
979implemented as a macro.
969.It Xo 980.It Xo
970.Fn EVP_rc2_cbc , 981.Fn EVP_rc2_cbc ,
971.Fn EVP_rc2_ecb , 982.Fn EVP_rc2_ecb ,
972.Fn EVP_rc2_cfb , 983.Fn EVP_rc2_cfb64 ,
973.Fn EVP_rc2_ofb 984.Fn EVP_rc2_ofb
974.Xc 985.Xc
975RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. 986RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
976This is a variable key length cipher with an additional parameter called 987This is a variable key length cipher with an additional parameter called
977"effective key bits" or "effective key length". 988"effective key bits" or "effective key length".
978By default both are set to 128 bits. 989By default both are set to 128 bits.
990.Fn EVP_rc2_cfb
991is an alias for
992.Fn EVP_rc2_cfb64 ,
993implemented as a macro.
979.It Xo 994.It Xo
980.Fn EVP_rc2_40_cbc , 995.Fn EVP_rc2_40_cbc ,
981.Fn EVP_rc2_64_cbc 996.Fn EVP_rc2_64_cbc
@@ -991,20 +1006,28 @@ to set the key length and effective key length.
991.It Xo 1006.It Xo
992.Fn EVP_bf_cbc , 1007.Fn EVP_bf_cbc ,
993.Fn EVP_bf_ecb , 1008.Fn EVP_bf_ecb ,
994.Fn EVP_bf_cfb , 1009.Fn EVP_bf_cfb64 ,
995.Fn EVP_bf_ofb 1010.Fn EVP_bf_ofb
996.Xc 1011.Xc
997Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes 1012Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes
998respectively. 1013respectively.
999This is a variable key length cipher. 1014This is a variable key length cipher.
1015.Fn EVP_bf_cfb
1016is an alias for
1017.Fn EVP_bf_cfb64 ,
1018implemented as a macro.
1000.It Xo 1019.It Xo
1001.Fn EVP_cast5_cbc , 1020.Fn EVP_cast5_cbc ,
1002.Fn EVP_cast5_ecb , 1021.Fn EVP_cast5_ecb ,
1003.Fn EVP_cast5_cfb , 1022.Fn EVP_cast5_cfb64 ,
1004.Fn EVP_cast5_ofb 1023.Fn EVP_cast5_ofb
1005.Xc 1024.Xc
1006CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively. 1025CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
1007This is a variable key length cipher. 1026This is a variable key length cipher.
1027.Fn EVP_cast5_cfb
1028is an alias for
1029.Fn EVP_cast5_cfb64 ,
1030implemented as a macro.
1008.It Fn EVP_chacha20 1031.It Fn EVP_chacha20
1009The ChaCha20 stream cipher. 1032The ChaCha20 stream cipher.
1010The key length is 256 bits, the IV is 96 bits long. 1033The key length is 256 bits, the IV is 96 bits long.
@@ -1293,6 +1316,8 @@ first appeared in SSLeay 0.9.0.
1293All these functions have been available since 1316All these functions have been available since
1294.Ox 2.4 . 1317.Ox 2.4 .
1295.Pp 1318.Pp
1319.Fn EVP_rc2_40_cbc
1320and
1296.Fn EVP_rc2_64_cbc 1321.Fn EVP_rc2_64_cbc
1297first appeared in SSL_eay 0.9.1. 1322first appeared in SSL_eay 0.9.1.
1298.Fn EVP_CIPHER_CTX_type 1323.Fn EVP_CIPHER_CTX_type
@@ -1321,6 +1346,14 @@ and
1321first appeared in OpenSSL 0.9.7 and have been available since 1346first appeared in OpenSSL 0.9.7 and have been available since
1322.Ox 3.2 . 1347.Ox 3.2 .
1323.Pp 1348.Pp
1349.Fn EVP_bf_cfb64 ,
1350.Fn EVP_cast5_cfb64 ,
1351.Fn EVP_idea_cfb64 ,
1352and
1353.Fn EVP_rc2_cfb64
1354first appeared in OpenSSL 0.9.7e and have been available since
1355.Ox 3.8 .
1356.Pp
1324.Fn EVP_CIPHER_CTX_rand_key 1357.Fn EVP_CIPHER_CTX_rand_key
1325first appeared in OpenSSL 0.9.8. 1358first appeared in OpenSSL 0.9.8.
1326.Fn EVP_CIPHER_CTX_new 1359.Fn EVP_CIPHER_CTX_new