diff options
| author | tb <> | 2024-03-02 09:59:56 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 09:59:56 +0000 |
| commit | 1894c9da2aed32c69be2c297ff92c86f701c6ddd (patch) | |
| tree | 3bac4f586b59cda46c422cf24178c46aac6c47a5 /src/lib/libcrypto/evp/evp.h | |
| parent | 4083c1a64fc21730cb59ac92344eaeeda5fd688b (diff) | |
| download | openbsd-1894c9da2aed32c69be2c297ff92c86f701c6ddd.tar.gz openbsd-1894c9da2aed32c69be2c297ff92c86f701c6ddd.tar.bz2 openbsd-1894c9da2aed32c69be2c297ff92c86f701c6ddd.zip | |
Remove EVP_MD_meth* again
Erlang upstream disabled the otp_test_engine for LibreSSL >= 3.5 without
explanation. It was the only reason we added this garbage API in the first
place. Meanwhile libfido2 started using it for a mock up of OpenSSL 3's
broken fetch design with old API. This is pointless, so all this garbage
goes away again (in particular we can remove the absolutely horrifying
EVP_MD_meth_set_app_datasize() again).
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
| -rw-r--r-- | src/lib/libcrypto/evp/evp.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 36de06f49b..09cd364ac4 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.124 2024/03/02 09:55:30 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.125 2024/03/02 09:59:56 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 | * |
| @@ -352,24 +352,6 @@ int EVP_MD_size(const EVP_MD *md); | |||
| 352 | int EVP_MD_block_size(const EVP_MD *md); | 352 | int EVP_MD_block_size(const EVP_MD *md); |
| 353 | unsigned long EVP_MD_flags(const EVP_MD *md); | 353 | unsigned long EVP_MD_flags(const EVP_MD *md); |
| 354 | 354 | ||
| 355 | EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); | ||
| 356 | void EVP_MD_meth_free(EVP_MD *md); | ||
| 357 | EVP_MD *EVP_MD_meth_dup(const EVP_MD *md); | ||
| 358 | int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); | ||
| 359 | int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); | ||
| 360 | int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); | ||
| 361 | int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); | ||
| 362 | int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); | ||
| 363 | int EVP_MD_meth_set_update(EVP_MD *md, | ||
| 364 | int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count)); | ||
| 365 | int EVP_MD_meth_set_final(EVP_MD *md, | ||
| 366 | int (*final)(EVP_MD_CTX *ctx, unsigned char *md)); | ||
| 367 | int EVP_MD_meth_set_copy(EVP_MD *md, | ||
| 368 | int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from)); | ||
| 369 | int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); | ||
| 370 | int EVP_MD_meth_set_ctrl(EVP_MD *md, | ||
| 371 | int (*ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2)); | ||
| 372 | |||
| 373 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | 355 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); |
| 374 | void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx); | 356 | void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx); |
| 375 | EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx); | 357 | EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx); |
