diff options
author | tb <> | 2022-01-14 07:49:49 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 07:49:49 +0000 |
commit | 8c60ea70a3180083dd57070d774a38f43ce0ea08 (patch) | |
tree | 86eaa4f6c31663bf615ddba9616c66030e99b5c9 /src/lib/libcrypto/ecdsa | |
parent | 55b6b15a4f08444e468a207fc894ef005c2fb5fa (diff) | |
download | openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.gz openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.bz2 openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.zip |
Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API
This marks the start of major surgery in libcrypto. Do not attempt to
build the tree for a while (~50 commits).
Diffstat (limited to 'src/lib/libcrypto/ecdsa')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecdsa.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h index 7b0a25468a..7b57f534ef 100644 --- a/src/lib/libcrypto/ecdsa/ecdsa.h +++ b/src/lib/libcrypto/ecdsa/ecdsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecdsa.h,v 1.9 2022/01/05 20:39:04 tb Exp $ */ | 1 | /* $OpenBSD: ecdsa.h,v 1.10 2022/01/14 07:49:49 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions | 3 | * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions |
4 | * \author Written by Nils Larsch for the OpenSSL project | 4 | * \author Written by Nils Larsch for the OpenSSL project |
@@ -140,10 +140,8 @@ ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); | |||
140 | */ | 140 | */ |
141 | void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | 141 | void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); |
142 | 142 | ||
143 | #if defined(LIBRESSL_OPAQUE_ECDSA) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
144 | const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig); | 143 | const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig); |
145 | const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig); | 144 | const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig); |
146 | #endif | ||
147 | 145 | ||
148 | /** Setter for r and s fields of ECDSA_SIG | 146 | /** Setter for r and s fields of ECDSA_SIG |
149 | * \param sig pointer to ECDSA_SIG pointer | 147 | * \param sig pointer to ECDSA_SIG pointer |