diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_EncryptInit.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_EncryptInit.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3 index 1a7fe40a66..c328edf4f6 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.4 2016/11/26 20:26:25 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_EncryptInit.3,v 1.5 2016/12/25 22:15:10 schwarze Exp $ |
2 | .\" OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 | 2 | .\" OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
@@ -49,7 +49,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: November 26 2016 $ | 52 | .Dd $Mdocdate: December 25 2016 $ |
53 | .Dt EVP_ENCRYPTINIT 3 | 53 | .Dt EVP_ENCRYPTINIT 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -664,7 +664,9 @@ If the cipher is a stream cipher then | |||
664 | is returned. | 664 | is returned. |
665 | .Pp | 665 | .Pp |
666 | .Fn EVP_CIPHER_param_to_asn1 | 666 | .Fn EVP_CIPHER_param_to_asn1 |
667 | sets the AlgorithmIdentifier "parameter" based on the passed cipher. | 667 | sets the ASN.1 |
668 | .Vt AlgorithmIdentifier | ||
669 | parameter based on the passed cipher. | ||
668 | This will typically include any parameters and an IV. | 670 | This will typically include any parameters and an IV. |
669 | The cipher IV (if any) must be set when this call is made. | 671 | The cipher IV (if any) must be set when this call is made. |
670 | This call should be made before the cipher is actually "used" (before any | 672 | This call should be made before the cipher is actually "used" (before any |
@@ -675,8 +677,9 @@ calls, for example). | |||
675 | This function may fail if the cipher does not have any ASN.1 support. | 677 | This function may fail if the cipher does not have any ASN.1 support. |
676 | .Pp | 678 | .Pp |
677 | .Fn EVP_CIPHER_asn1_to_param | 679 | .Fn EVP_CIPHER_asn1_to_param |
678 | sets the cipher parameters based on an ASN.1 AlgorithmIdentifier | 680 | sets the cipher parameters based on an ASN.1 |
679 | "parameter". | 681 | .Vt AlgorithmIdentifier |
682 | parameter. | ||
680 | The precise effect depends on the cipher. | 683 | The precise effect depends on the cipher. |
681 | In the case of RC2, for example, it will set the IV and effective | 684 | In the case of RC2, for example, it will set the IV and effective |
682 | key length. | 685 | key length. |