From: Hugo Landau Date: Wed, 16 Mar 2022 16:40:14 +0000 (+0000) Subject: Fix documentation for provider-signature X-Git-Tag: openssl-3.2.0-alpha1~2836 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07a70c76f0150077ce21ee7655d1e38e4411846;p=thirdparty%2Fopenssl.git Fix documentation for provider-signature Fixes #17909. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17914) --- diff --git a/doc/man7/provider-signature.pod b/doc/man7/provider-signature.pod index 9d4df86fd65..934c5ae7ede 100644 --- a/doc/man7/provider-signature.pod +++ b/doc/man7/provider-signature.pod @@ -43,7 +43,7 @@ provider-signature - The signature library E-E provider functions /* Digest Sign */ int OSSL_FUNC_signature_digest_sign_init(void *ctx, const char *mdname, - const char *props, void *provkey, + void *provkey, const OSSL_PARAM params[]); int OSSL_FUNC_signature_digest_sign_update(void *ctx, const unsigned char *data, size_t datalen); @@ -56,7 +56,7 @@ provider-signature - The signature library E-E provider functions /* Digest Verify */ int OSSL_FUNC_signature_digest_verify_init(void *ctx, const char *mdname, - const char *props, void *provkey, + void *provkey, const OSSL_PARAM params[]); int OSSL_FUNC_signature_digest_verify_update(void *ctx, const unsigned char *data, @@ -266,9 +266,7 @@ OSSL_FUNC_signature_set_ctx_md_params(). The key object should have been previously generated, loaded or imported into the provider using the key management (OSSL_OP_KEYMGMT) operation (see provider-keymgmt(7)>. -The name of the digest to be used will be in the I parameter. There may -also be properties to be used in fetching the digest in the I parameter, -although this may be ignored by providers. +The name of the digest to be used will be in the I parameter. OSSL_FUNC_signature_digest_sign_update() provides data to be signed in the I parameter which should be of length I. A previously initialised @@ -305,9 +303,7 @@ OSSL_FUNC_signature_set_ctx_md_params(). The key object should have been previously generated, loaded or imported into the provider using the key management (OSSL_OP_KEYMGMT) operation (see provider-keymgmt(7)>. -The name of the digest to be used will be in the I parameter. There may -also be properties to be used in fetching the digest in the I parameter, -although this may be ignored by providers. +The name of the digest to be used will be in the I parameter. OSSL_FUNC_signature_digest_verify_update() provides data to be verified in the I parameter which should be of length I. A previously initialised