summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/PKCS7_encrypt.pod
diff options
context:
space:
mode:
authormiod <>2014-07-10 13:08:58 +0000
committermiod <>2014-07-10 13:08:58 +0000
commit324d92fa7f658d01382ff72c596358f190772369 (patch)
tree4b65e7dddebc9f3ed56aeb299478c2f0029aabfd /src/lib/libcrypto/doc/PKCS7_encrypt.pod
parenta21d4e83af767763bc6679d7872bb1a74a952d84 (diff)
downloadopenbsd-324d92fa7f658d01382ff72c596358f190772369.tar.gz
openbsd-324d92fa7f658d01382ff72c596358f190772369.tar.bz2
openbsd-324d92fa7f658d01382ff72c596358f190772369.zip
Attempt to (incompletely) document EVP_aes_*().
When EVP_des_cbc() was suggested, suggest EVP_aes_256_cbc() instead. Remove mention of EVP_des_ede3_cbc() being the algorithm of choice for S/MIME. Don't mention US-export limited RC2 algorithms, you'd better not know about them.
Diffstat (limited to 'src/lib/libcrypto/doc/PKCS7_encrypt.pod')
-rw-r--r--src/lib/libcrypto/doc/PKCS7_encrypt.pod7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/libcrypto/doc/PKCS7_encrypt.pod b/src/lib/libcrypto/doc/PKCS7_encrypt.pod
index e206684384..8bc77407b9 100644
--- a/src/lib/libcrypto/doc/PKCS7_encrypt.pod
+++ b/src/lib/libcrypto/doc/PKCS7_encrypt.pod
@@ -22,13 +22,6 @@ Only RSA keys are supported in PKCS#7 and envelopedData so the recipient
22certificates supplied to this function must all contain RSA public keys, though 22certificates supplied to this function must all contain RSA public keys, though
23they do not have to be signed using the RSA algorithm. 23they do not have to be signed using the RSA algorithm.
24 24
25EVP_des_ede3_cbc() (triple DES) is the algorithm of choice for S/MIME use
26because most clients will support it.
27
28Some old "export grade" clients may only support weak encryption using 40 or 64
29bit RC2. These can be used by passing EVP_rc2_40_cbc() and EVP_rc2_64_cbc()
30respectively.
31
32The algorithm passed in the B<cipher> parameter must support ASN1 encoding of 25The algorithm passed in the B<cipher> parameter must support ASN1 encoding of
33its parameters. 26its parameters.
34 27