From: Shane Lontis Date: Sat, 29 May 2021 02:47:19 +0000 (+1000) Subject: Migration guide updates for flags and controls. X-Git-Tag: openssl-3.0.0-beta1~289 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ff4b7b0c7b445bcc9b98fde9107fa9520d17f04;p=thirdparty%2Fopenssl.git Migration guide updates for flags and controls. Provided a section that links to the ctrl/flags mappings to parameters for digests and ciphers. Added "EVP_CIPHER_CTX_set_flags() ordering" to changes section. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15496) --- diff --git a/doc/man7/migration_guide.pod b/doc/man7/migration_guide.pod index 89ef74f0a1c..b230eb7839b 100644 --- a/doc/man7/migration_guide.pod +++ b/doc/man7/migration_guide.pod @@ -423,6 +423,12 @@ Previously (in 1.1.1) these conflicting parameters were allowed, but will now result in errors. See L for further details. This affects the behaviour of L for DH parameter generation. +=head4 EVP_CIPHER_CTX_set_flags() ordering change + +If using a cipher from a provider the B flag can only +be set B the cipher has been assigned to the cipher context. +See L for more information. + =head2 Installation and Compilation Please refer to the INSTALL.md file in the top of the distribution for @@ -869,6 +875,19 @@ See also L. Implicit and Explicit Fetching is described in detail here L. +=head3 Mapping EVP controls and flags to provider B parameters + +The existing functions for controls (such as L) and +manipulating flags (such as L)internally use +B to pass information to/from provider objects. +See L for additional information related to parameters. + +For ciphers see L, L and +L. + +For digests see L, L and +L. + =head3 Deprecation of Low Level Functions A significant number of APIs have been deprecated in OpenSSL 3.0.