summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r--src/lib/libcrypto/evp/evp.h20
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);
352int EVP_MD_block_size(const EVP_MD *md); 352int EVP_MD_block_size(const EVP_MD *md);
353unsigned long EVP_MD_flags(const EVP_MD *md); 353unsigned long EVP_MD_flags(const EVP_MD *md);
354 354
355EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
356void EVP_MD_meth_free(EVP_MD *md);
357EVP_MD *EVP_MD_meth_dup(const EVP_MD *md);
358int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize);
359int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize);
360int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize);
361int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags);
362int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx));
363int EVP_MD_meth_set_update(EVP_MD *md,
364 int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count));
365int EVP_MD_meth_set_final(EVP_MD *md,
366 int (*final)(EVP_MD_CTX *ctx, unsigned char *md));
367int EVP_MD_meth_set_copy(EVP_MD *md,
368 int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from));
369int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx));
370int EVP_MD_meth_set_ctrl(EVP_MD *md,
371 int (*ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2));
372
373const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); 355const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
374void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx); 356void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
375EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx); 357EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx);