diff options
| author | tb <> | 2022-01-05 20:52:14 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-05 20:52:14 +0000 |
| commit | 30f2a4ab5339ee0c1b10fbdbfe5caae18ba09525 (patch) | |
| tree | d97b55a8463b32f67d8c3b0c133809eb96fb742a /src/lib/libcrypto/dsa/dsa.h | |
| parent | a4481172b798978099e06e9751d45cd5760c1551 (diff) | |
| download | openbsd-30f2a4ab5339ee0c1b10fbdbfe5caae18ba09525.tar.gz openbsd-30f2a4ab5339ee0c1b10fbdbfe5caae18ba09525.tar.bz2 openbsd-30f2a4ab5339ee0c1b10fbdbfe5caae18ba09525.zip | |
Prepare to provide DSA_bits()
Used by Qt5 and Qt6 and slightly reduces the patching in there.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
| -rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 391f02c5a4..7a5c2cd1c0 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.32 2022/01/05 20:33:49 tb Exp $ */ | 1 | /* $OpenBSD: dsa.h,v 1.33 2022/01/05 20:52:14 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,6 +202,9 @@ 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); | ||
| 207 | #endif | ||
| 205 | /* next 4 return -1 on error */ | 208 | /* next 4 return -1 on error */ |
| 206 | int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); | 209 | int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); |
| 207 | int DSA_sign(int type,const unsigned char *dgst,int dlen, | 210 | int DSA_sign(int type,const unsigned char *dgst,int dlen, |
