diff options
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); |