[openssl] openssl-3.0 update

tomas at openssl.org tomas at openssl.org
Fri Oct 22 09:33:35 UTC 2021


The branch openssl-3.0 has been updated
       via  d86d703711c6431b611afabc2de3b174fbf8ec36 (commit)
      from  beb00a330c7e1c213c72a249894ed23f0f8df5a2 (commit)


- Log -----------------------------------------------------------------
commit d86d703711c6431b611afabc2de3b174fbf8ec36
Author: Tomas Mraz <tomas at openssl.org>
Date:   Wed Oct 20 18:27:47 2021 +0200

    doc: Document the type of label EVP_PKEY_CTX_set0_rsa_oaep_label properly
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/16869)
    
    (cherry picked from commit 3d63315366f673328b41750a6e1708d3d6cf11a0)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/EVP_PKEY_CTX_ctrl.pod | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/man3/EVP_PKEY_CTX_ctrl.pod b/doc/man3/EVP_PKEY_CTX_ctrl.pod
index 7c8db14cb6..c2c7042172 100644
--- a/doc/man3/EVP_PKEY_CTX_ctrl.pod
+++ b/doc/man3/EVP_PKEY_CTX_ctrl.pod
@@ -116,7 +116,7 @@ EVP_PKEY_CTX_set_kem_op
  int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
  int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name,
                                        size_t namelen);
- int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char *label,
+ int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label,
                                       int len);
  int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label);
 
@@ -356,8 +356,8 @@ EVP_MD object instead. Note that only known, built-in EVP_MD objects will be
 returned. The EVP_MD object may be NULL if the digest is not one of these (such
 as a digest only implemented in a third party provider).
 
-EVP_PKEY_CTX_set0_rsa_oaep_label() sets the RSA OAEP label to
-I<label> and its length to I<len>. If I<label> is NULL or I<len> is 0,
+EVP_PKEY_CTX_set0_rsa_oaep_label() sets the RSA OAEP label to binary data
+I<label> and its length in bytes to I<len>. If I<label> is NULL or I<len> is 0,
 the label is cleared. The library takes ownership of the label so the
 caller should not free the original memory pointed to by I<label>.
 The padding mode must have been set to B<RSA_PKCS1_OAEP_PADDING>.


More information about the openssl-commits mailing list