summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp')
-rw-r--r--src/lib/libcrypto/evp/evp.h5
-rw-r--r--src/lib/libcrypto/evp/pmeth_gn.c30
2 files changed, 2 insertions, 33 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 2db8acfa01..7c767758da 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.135 2024/07/09 16:15:37 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.136 2024/08/31 09:14:21 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -985,9 +985,6 @@ int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);
985int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); 985int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
986int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx); 986int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);
987int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); 987int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
988int EVP_PKEY_check(EVP_PKEY_CTX *ctx);
989int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
990int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
991 988
992void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb); 989void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
993EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx); 990EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);
diff --git a/src/lib/libcrypto/evp/pmeth_gn.c b/src/lib/libcrypto/evp/pmeth_gn.c
index 415690cd0e..bc1c5bd7d2 100644
--- a/src/lib/libcrypto/evp/pmeth_gn.c
+++ b/src/lib/libcrypto/evp/pmeth_gn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pmeth_gn.c,v 1.20 2024/08/29 16:58:19 tb Exp $ */ 1/* $OpenBSD: pmeth_gn.c,v 1.21 2024/08/31 09:14:21 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 2006. 3 * project 2006.
4 */ 4 */
@@ -225,31 +225,3 @@ merr:
225 return mac_key; 225 return mac_key;
226} 226}
227LCRYPTO_ALIAS(EVP_PKEY_new_mac_key); 227LCRYPTO_ALIAS(EVP_PKEY_new_mac_key);
228
229/*
230 * XXX - remove the API below in the next bump.
231 */
232
233int
234EVP_PKEY_check(EVP_PKEY_CTX *ctx)
235{
236 EVPerror(ERR_R_DISABLED);
237 return -2;
238}
239LCRYPTO_ALIAS(EVP_PKEY_check);
240
241int
242EVP_PKEY_public_check(EVP_PKEY_CTX *ctx)
243{
244 EVPerror(ERR_R_DISABLED);
245 return -2;
246}
247LCRYPTO_ALIAS(EVP_PKEY_public_check);
248
249int
250EVP_PKEY_param_check(EVP_PKEY_CTX *ctx)
251{
252 EVPerror(ERR_R_DISABLED);
253 return -2;
254}
255LCRYPTO_ALIAS(EVP_PKEY_param_check);