diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-10 17:00:33 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-10 17:00:33 +0000 |
commit | dbff15706ee176efedfd8e3dde1ad9dcce272b1f (patch) | |
tree | edc9a1ca9052fd25f5cd5ee1f90d4ddc170b1da8 /lib/libcrypto | |
parent | 2d8419c1049ef9bbc25ac0cdf36e9ab692ce98d0 (diff) |
Expose EVP_Digest{Sign,Verify}(3)
ok jsing
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/Symbols.list | 2 | ||||
-rw-r--r-- | lib/libcrypto/evp/evp.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/libcrypto/Symbols.list b/lib/libcrypto/Symbols.list index c8834c5a1c4..abca6e2fc0d 100644 --- a/lib/libcrypto/Symbols.list +++ b/lib/libcrypto/Symbols.list @@ -1452,9 +1452,11 @@ EVP_DigestFinal EVP_DigestFinal_ex EVP_DigestInit EVP_DigestInit_ex +EVP_DigestSign EVP_DigestSignFinal EVP_DigestSignInit EVP_DigestUpdate +EVP_DigestVerify EVP_DigestVerifyFinal EVP_DigestVerifyInit EVP_ENCODE_CTX_free diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h index e2ec40b26ca..06c529ef3f3 100644 --- a/lib/libcrypto/evp/evp.h +++ b/lib/libcrypto/evp/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.82 2021/05/09 14:25:40 tb Exp $ */ +/* $OpenBSD: evp.h,v 1.83 2021/05/10 17:00:32 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -628,20 +628,16 @@ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen); -#if defined(LIBRESSL_INTERNAL) int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, const unsigned char *tbs, size_t tbslen); -#endif int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen); -#if defined(LIBRESSL_INTERNAL) int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, size_t siglen, const unsigned char *tbs, size_t tbslen); -#endif int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv); |