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
commita9135fb960f294f9f6d8c1c7b5343b372ea31965 (patch)
tree9b14e108d8ba5079d1e4a1b596ca47a3161c7ac3 /src/lib/libcrypto/dsa/dsa.h
parentb8a589846c99c7d49507cd2b4db0f83b87a7556e (diff)
downloadopenbsd-a9135fb960f294f9f6d8c1c7b5343b372ea31965.tar.gz
openbsd-a9135fb960f294f9f6d8c1c7b5343b372ea31965.tar.bz2
openbsd-a9135fb960f294f9f6d8c1c7b5343b372ea31965.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) \