summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp_local.h')
-rw-r--r--src/lib/libcrypto/evp/evp_local.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/evp/evp_local.h b/src/lib/libcrypto/evp/evp_local.h
index b1c0c9b14e..9631992a28 100644
--- a/src/lib/libcrypto/evp/evp_local.h
+++ b/src/lib/libcrypto/evp/evp_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_local.h,v 1.21 2024/03/26 01:41:06 tb Exp $ */ 1/* $OpenBSD: evp_local.h,v 1.22 2024/04/12 09:41:39 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -283,10 +283,8 @@ struct evp_pkey_method_st {
283 int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); 283 int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src);
284 void (*cleanup)(EVP_PKEY_CTX *ctx); 284 void (*cleanup)(EVP_PKEY_CTX *ctx);
285 285
286 int (*paramgen_init)(EVP_PKEY_CTX *ctx);
287 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 286 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
288 287
289 int (*keygen_init)(EVP_PKEY_CTX *ctx);
290 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 288 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
291 289
292 int (*sign_init)(EVP_PKEY_CTX *ctx); 290 int (*sign_init)(EVP_PKEY_CTX *ctx);
@@ -298,7 +296,6 @@ struct evp_pkey_method_st {
298 const unsigned char *sig, size_t siglen, 296 const unsigned char *sig, size_t siglen,
299 const unsigned char *tbs, size_t tbslen); 297 const unsigned char *tbs, size_t tbslen);
300 298
301 int (*verify_recover_init)(EVP_PKEY_CTX *ctx);
302 int (*verify_recover)(EVP_PKEY_CTX *ctx, 299 int (*verify_recover)(EVP_PKEY_CTX *ctx,
303 unsigned char *rout, size_t *routlen, 300 unsigned char *rout, size_t *routlen,
304 const unsigned char *sig, size_t siglen); 301 const unsigned char *sig, size_t siglen);
@@ -307,11 +304,9 @@ struct evp_pkey_method_st {
307 int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 304 int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
308 EVP_MD_CTX *mctx); 305 EVP_MD_CTX *mctx);
309 306
310 int (*encrypt_init)(EVP_PKEY_CTX *ctx);
311 int (*encrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, 307 int (*encrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
312 const unsigned char *in, size_t inlen); 308 const unsigned char *in, size_t inlen);
313 309
314 int (*decrypt_init)(EVP_PKEY_CTX *ctx);
315 int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, 310 int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
316 const unsigned char *in, size_t inlen); 311 const unsigned char *in, size_t inlen);
317 312