summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa.h
diff options
context:
space:
mode:
authortb <>2018-02-18 12:50:58 +0000
committertb <>2018-02-18 12:50:58 +0000
commit2a27603f6a635b8a02be8bda599074b176b80ef1 (patch)
tree9b14e108d8ba5079d1e4a1b596ca47a3161c7ac3 /src/lib/libcrypto/dsa/dsa.h
parentfa6725b9ce9568ca287e1b6dab2f3ac79ad18bb5 (diff)
downloadopenbsd-2a27603f6a635b8a02be8bda599074b176b80ef1.tar.gz
openbsd-2a27603f6a635b8a02be8bda599074b176b80ef1.tar.bz2
openbsd-2a27603f6a635b8a02be8bda599074b176b80ef1.zip
Provide DSA_set0_pqg.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r--src/lib/libcrypto/dsa/dsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h
index 608c15df6b..21e5baa235 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.24 2018/02/17 14:35:40 jsing Exp $ */ 1/* $OpenBSD: dsa.h,v 1.25 2018/02/18 12:50:58 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 *
@@ -259,6 +259,7 @@ DH *DSA_dup_DH(const DSA *r);
259 259
260void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, 260void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
261 const BIGNUM **g); 261 const BIGNUM **g);
262int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
262void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key); 263void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key);
263 264
264#define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \ 265#define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \