diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 7a5c2cd1c0..b0220856cc 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/lib/libcrypto/dsa/dsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa.h,v 1.33 2022/01/05 20:52:14 tb Exp $ */ | 1 | /* $OpenBSD: dsa.h,v 1.34 2022/01/14 07:49:49 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 | * |
@@ -202,9 +202,7 @@ void DSA_free(DSA *r); | |||
202 | /* "up" the DSA object's reference count */ | 202 | /* "up" the DSA object's reference count */ |
203 | int DSA_up_ref(DSA *r); | 203 | int DSA_up_ref(DSA *r); |
204 | int DSA_size(const DSA *); | 204 | int DSA_size(const DSA *); |
205 | #if defined(LIBRESSL_OPAQUE_DSA) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
206 | int DSA_bits(const DSA *d); | 205 | int DSA_bits(const DSA *d); |
207 | #endif | ||
208 | /* next 4 return -1 on error */ | 206 | /* next 4 return -1 on error */ |
209 | int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); | 207 | int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); |
210 | int DSA_sign(int type,const unsigned char *dgst,int dlen, | 208 | int DSA_sign(int type,const unsigned char *dgst,int dlen, |
@@ -270,13 +268,11 @@ void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, | |||
270 | int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | 268 | int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); |
271 | void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key); | 269 | void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key); |
272 | int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key); | 270 | int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key); |
273 | #if defined(LIBRESSL_OPAQUE_DSA) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
274 | const BIGNUM *DSA_get0_p(const DSA *d); | 271 | const BIGNUM *DSA_get0_p(const DSA *d); |
275 | const BIGNUM *DSA_get0_q(const DSA *d); | 272 | const BIGNUM *DSA_get0_q(const DSA *d); |
276 | const BIGNUM *DSA_get0_g(const DSA *d); | 273 | const BIGNUM *DSA_get0_g(const DSA *d); |
277 | const BIGNUM *DSA_get0_pub_key(const DSA *d); | 274 | const BIGNUM *DSA_get0_pub_key(const DSA *d); |
278 | const BIGNUM *DSA_get0_priv_key(const DSA *d); | 275 | const BIGNUM *DSA_get0_priv_key(const DSA *d); |
279 | #endif | ||
280 | void DSA_clear_flags(DSA *d, int flags); | 276 | void DSA_clear_flags(DSA *d, int flags); |
281 | int DSA_test_flags(const DSA *d, int flags); | 277 | int DSA_test_flags(const DSA *d, int flags); |
282 | void DSA_set_flags(DSA *d, int flags); | 278 | void DSA_set_flags(DSA *d, int flags); |