diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index c8da89844d..148e15274f 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.55 2018/02/17 13:47:36 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.56 2018/02/17 14:55:31 jsing 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 | * |
@@ -535,15 +535,19 @@ int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, | |||
535 | #define EVP_delete_digest_alias(alias) \ | 535 | #define EVP_delete_digest_alias(alias) \ |
536 | OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS); | 536 | OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS); |
537 | 537 | ||
538 | EVP_MD_CTX *EVP_MD_CTX_new(void); | ||
539 | void EVP_MD_CTX_free(EVP_MD_CTX *ctx); | ||
538 | void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | 540 | void EVP_MD_CTX_init(EVP_MD_CTX *ctx); |
539 | int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); | 541 | int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); |
540 | EVP_MD_CTX *EVP_MD_CTX_create(void); | 542 | EVP_MD_CTX *EVP_MD_CTX_create(void); |
541 | void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | 543 | void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); |
544 | int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); | ||
542 | int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); | 545 | int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); |
543 | void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags); | 546 | void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags); |
544 | void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags); | 547 | void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags); |
545 | int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr); | 548 | int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr); |
546 | int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags); | 549 | int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags); |
550 | |||
547 | int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); | 551 | int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); |
548 | int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt); | 552 | int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt); |
549 | int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); | 553 | int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); |