diff options
Diffstat (limited to 'src/lib/libcrypto/evp/pmeth_gn.c')
-rw-r--r-- | src/lib/libcrypto/evp/pmeth_gn.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/evp/pmeth_gn.c b/src/lib/libcrypto/evp/pmeth_gn.c index 2b835cd8fe..b4c0395d97 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.12 2023/07/07 13:54:46 beck Exp $ */ | 1 | /* $OpenBSD: pmeth_gn.c,v 1.13 2023/07/07 19:37:54 beck 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 | */ |
@@ -85,7 +85,6 @@ EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) | |||
85 | ctx->operation = EVP_PKEY_OP_UNDEFINED; | 85 | ctx->operation = EVP_PKEY_OP_UNDEFINED; |
86 | return ret; | 86 | return ret; |
87 | } | 87 | } |
88 | LCRYPTO_ALIAS(EVP_PKEY_paramgen_init); | ||
89 | 88 | ||
90 | int | 89 | int |
91 | EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) | 90 | EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) |
@@ -115,7 +114,6 @@ EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) | |||
115 | } | 114 | } |
116 | return ret; | 115 | return ret; |
117 | } | 116 | } |
118 | LCRYPTO_ALIAS(EVP_PKEY_paramgen); | ||
119 | 117 | ||
120 | int | 118 | int |
121 | EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) | 119 | EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) |
@@ -134,7 +132,6 @@ EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) | |||
134 | ctx->operation = EVP_PKEY_OP_UNDEFINED; | 132 | ctx->operation = EVP_PKEY_OP_UNDEFINED; |
135 | return ret; | 133 | return ret; |
136 | } | 134 | } |
137 | LCRYPTO_ALIAS(EVP_PKEY_keygen_init); | ||
138 | 135 | ||
139 | int | 136 | int |
140 | EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) | 137 | EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) |
@@ -163,21 +160,18 @@ EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) | |||
163 | } | 160 | } |
164 | return ret; | 161 | return ret; |
165 | } | 162 | } |
166 | LCRYPTO_ALIAS(EVP_PKEY_keygen); | ||
167 | 163 | ||
168 | void | 164 | void |
169 | EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) | 165 | EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) |
170 | { | 166 | { |
171 | ctx->pkey_gencb = cb; | 167 | ctx->pkey_gencb = cb; |
172 | } | 168 | } |
173 | LCRYPTO_ALIAS(EVP_PKEY_CTX_set_cb); | ||
174 | 169 | ||
175 | EVP_PKEY_gen_cb * | 170 | EVP_PKEY_gen_cb * |
176 | EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) | 171 | EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) |
177 | { | 172 | { |
178 | return ctx->pkey_gencb; | 173 | return ctx->pkey_gencb; |
179 | } | 174 | } |
180 | LCRYPTO_ALIAS(EVP_PKEY_CTX_get_cb); | ||
181 | 175 | ||
182 | /* "translation callback" to call EVP_PKEY_CTX callbacks using BN_GENCB | 176 | /* "translation callback" to call EVP_PKEY_CTX callbacks using BN_GENCB |
183 | * style callbacks. | 177 | * style callbacks. |
@@ -207,7 +201,6 @@ EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx) | |||
207 | return 0; | 201 | return 0; |
208 | return ctx->keygen_info[idx]; | 202 | return ctx->keygen_info[idx]; |
209 | } | 203 | } |
210 | LCRYPTO_ALIAS(EVP_PKEY_CTX_get_keygen_info); | ||
211 | 204 | ||
212 | EVP_PKEY * | 205 | EVP_PKEY * |
213 | EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, int keylen) | 206 | EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, int keylen) |
@@ -230,7 +223,6 @@ merr: | |||
230 | EVP_PKEY_CTX_free(mac_ctx); | 223 | EVP_PKEY_CTX_free(mac_ctx); |
231 | return mac_key; | 224 | return mac_key; |
232 | } | 225 | } |
233 | LCRYPTO_ALIAS(EVP_PKEY_new_mac_key); | ||
234 | 226 | ||
235 | int | 227 | int |
236 | EVP_PKEY_check(EVP_PKEY_CTX *ctx) | 228 | EVP_PKEY_check(EVP_PKEY_CTX *ctx) |
@@ -252,7 +244,6 @@ EVP_PKEY_check(EVP_PKEY_CTX *ctx) | |||
252 | 244 | ||
253 | return pkey->ameth->pkey_check(pkey); | 245 | return pkey->ameth->pkey_check(pkey); |
254 | } | 246 | } |
255 | LCRYPTO_ALIAS(EVP_PKEY_check); | ||
256 | 247 | ||
257 | int | 248 | int |
258 | EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) | 249 | EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) |
@@ -274,7 +265,6 @@ EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) | |||
274 | 265 | ||
275 | return pkey->ameth->pkey_public_check(pkey); | 266 | return pkey->ameth->pkey_public_check(pkey); |
276 | } | 267 | } |
277 | LCRYPTO_ALIAS(EVP_PKEY_public_check); | ||
278 | 268 | ||
279 | int | 269 | int |
280 | EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) | 270 | EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) |
@@ -296,4 +286,3 @@ EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) | |||
296 | 286 | ||
297 | return pkey->ameth->pkey_param_check(pkey); | 287 | return pkey->ameth->pkey_param_check(pkey); |
298 | } | 288 | } |
299 | LCRYPTO_ALIAS(EVP_PKEY_param_check); | ||