diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-03-16 16:40:14 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-03-18 12:31:04 +1100 |
commit | a07a70c76f0150077ce21ee7655d1e38e4411846 (patch) | |
tree | 0318a97a5b315f8845a65d07b70e3acb7c21324f | |
parent | a12a71fafbe9b0ce90a51098fbf166d9da62b111 (diff) |
Fix documentation for provider-signature
Fixes #17909.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17914)
-rw-r--r-- | doc/man7/provider-signature.pod | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/man7/provider-signature.pod b/doc/man7/provider-signature.pod index 9d4df86fd6..934c5ae7ed 100644 --- a/doc/man7/provider-signature.pod +++ b/doc/man7/provider-signature.pod @@ -43,7 +43,7 @@ provider-signature - The signature library E<lt>-E<gt> 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<lt>-E<gt> 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<mdname> parameter. There may -also be properties to be used in fetching the digest in the I<props> parameter, -although this may be ignored by providers. +The name of the digest to be used will be in the I<mdname> parameter. OSSL_FUNC_signature_digest_sign_update() provides data to be signed in the I<data> parameter which should be of length I<datalen>. 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<mdname> parameter. There may -also be properties to be used in fetching the digest in the I<props> parameter, -although this may be ignored by providers. +The name of the digest to be used will be in the I<mdname> parameter. OSSL_FUNC_signature_digest_verify_update() provides data to be verified in the I<data> parameter which should be of length I<datalen>. A previously initialised |