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:39 +1100 |
commit | 2ea59be6011b766494107720b623d8ca222cc39c (patch) | |
tree | 808aa4801753c9993f4be5939b42a394d18c9a94 /doc/man7 | |
parent | b641378f4c4c4697437d00862c510753264cef1d (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)
(cherry picked from commit a07a70c76f0150077ce21ee7655d1e38e4411846)
Diffstat (limited to 'doc/man7')
-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 |