diff options
author | tb <> | 2024-02-18 15:47:48 +0000 |
---|---|---|
committer | tb <> | 2024-02-18 15:47:48 +0000 |
commit | 033c471354a68c7073b53d53793f0842072883f1 (patch) | |
tree | 872f17fce54a9e4c2afbc157469336b90bbaf14b /src/lib | |
parent | 46825b346de88f3d8b554aef8711f11431f7e17c (diff) | |
download | openbsd-033c471354a68c7073b53d53793f0842072883f1.tar.gz openbsd-033c471354a68c7073b53d53793f0842072883f1.tar.bz2 openbsd-033c471354a68c7073b53d53793f0842072883f1.zip |
Hide EVP_{CIPHER,MD}_CTX_init() from internals
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index bbc9c3540e..4acd9facbc 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.120 2023/10/18 17:26:06 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.121 2024/02/18 15:47:48 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 | * |
@@ -472,7 +472,9 @@ int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, | |||
472 | 472 | ||
473 | EVP_MD_CTX *EVP_MD_CTX_new(void); | 473 | EVP_MD_CTX *EVP_MD_CTX_new(void); |
474 | void EVP_MD_CTX_free(EVP_MD_CTX *ctx); | 474 | void EVP_MD_CTX_free(EVP_MD_CTX *ctx); |
475 | #ifndef LIBRESSL_INTERNAL | ||
475 | void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | 476 | void EVP_MD_CTX_init(EVP_MD_CTX *ctx); |
477 | #endif | ||
476 | int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); | 478 | int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); |
477 | EVP_MD_CTX *EVP_MD_CTX_create(void); | 479 | EVP_MD_CTX *EVP_MD_CTX_create(void); |
478 | void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | 480 | void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); |
@@ -584,7 +586,9 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, | |||
584 | int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); | 586 | int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); |
585 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | 587 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); |
586 | 588 | ||
589 | #ifndef LIBRESSL_INTERNAL | ||
587 | void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a); | 590 | void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a); |
591 | #endif | ||
588 | int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a); | 592 | int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a); |
589 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); | 593 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); |
590 | void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a); | 594 | void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a); |