summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r--src/lib/libcrypto/dsa/dsa.h6
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 */
203int DSA_up_ref(DSA *r); 203int DSA_up_ref(DSA *r);
204int DSA_size(const DSA *); 204int DSA_size(const DSA *);
205#if defined(LIBRESSL_OPAQUE_DSA) || defined(LIBRESSL_CRYPTO_INTERNAL)
206int DSA_bits(const DSA *d); 205int DSA_bits(const DSA *d);
207#endif
208 /* next 4 return -1 on error */ 206 /* next 4 return -1 on error */
209int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); 207int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp);
210int DSA_sign(int type,const unsigned char *dgst,int dlen, 208int 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,
270int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); 268int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
271void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key); 269void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key);
272int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key); 270int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
273#if defined(LIBRESSL_OPAQUE_DSA) || defined(LIBRESSL_CRYPTO_INTERNAL)
274const BIGNUM *DSA_get0_p(const DSA *d); 271const BIGNUM *DSA_get0_p(const DSA *d);
275const BIGNUM *DSA_get0_q(const DSA *d); 272const BIGNUM *DSA_get0_q(const DSA *d);
276const BIGNUM *DSA_get0_g(const DSA *d); 273const BIGNUM *DSA_get0_g(const DSA *d);
277const BIGNUM *DSA_get0_pub_key(const DSA *d); 274const BIGNUM *DSA_get0_pub_key(const DSA *d);
278const BIGNUM *DSA_get0_priv_key(const DSA *d); 275const BIGNUM *DSA_get0_priv_key(const DSA *d);
279#endif
280void DSA_clear_flags(DSA *d, int flags); 276void DSA_clear_flags(DSA *d, int flags);
281int DSA_test_flags(const DSA *d, int flags); 277int DSA_test_flags(const DSA *d, int flags);
282void DSA_set_flags(DSA *d, int flags); 278void DSA_set_flags(DSA *d, int flags);