man: fix a typo and a grammar nit in EVP_PKEY_meth_new(3)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8893)
(cherry picked from commit 260a16f33682a819414fcba6161708a5e6bdff50)
Dr. Matthias St. Pierre
5 years ago
285 | 285 | |
286 | 286 | The signctx_init() and signctx() methods are used to sign a digest present by |
287 | 287 | a B<EVP_MD_CTX> object. They are called by the EVP_DigestSign functions. See |
288 | L<EVP_DigestSignInit(3)> for detail. | |
288 | L<EVP_DigestSignInit(3)> for details. | |
289 | 289 | |
290 | 290 | int (*verifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); |
291 | 291 | int (*verifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig, int siglen, |
293 | 293 | |
294 | 294 | The verifyctx_init() and verifyctx() methods are used to verify a signature |
295 | 295 | against the data in a B<EVP_MD_CTX> object. They are called by the various |
296 | EVP_DigestVerify functions. See L<EVP_DigestVerifyInit(3)> for detail. | |
296 | EVP_DigestVerify functions. See L<EVP_DigestVerifyInit(3)> for details. | |
297 | 297 | |
298 | 298 | int (*encrypt_init) (EVP_PKEY_CTX *ctx); |
299 | 299 | int (*encrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, |
320 | 320 | int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value); |
321 | 321 | |
322 | 322 | The ctrl() and ctrl_str() methods are used to adjust algorithm-specific |
323 | settings. See L<EVP_PKEY_CTX_ctrl(3)> and related functions for detail. | |
323 | settings. See L<EVP_PKEY_CTX_ctrl(3)> and related functions for details. | |
324 | 324 | |
325 | 325 | int (*digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen, |
326 | 326 | const unsigned char *tbs, size_t tbslen); |
329 | 329 | size_t tbslen); |
330 | 330 | |
331 | 331 | The digestsign() and digestverify() methods are used to generate or verify |
332 | a signature in a one-shot mode. They could be called by L<EVP_DigetSign(3)> | |
332 | a signature in a one-shot mode. They could be called by L<EVP_DigestSign(3)> | |
333 | 333 | and L<EVP_DigestVerify(3)>. |
334 | 334 | |
335 | 335 | int (*check) (EVP_PKEY *pkey); |