diff options
author | tb <> | 2018-02-20 17:48:35 +0000 |
---|---|---|
committer | tb <> | 2018-02-20 17:48:35 +0000 |
commit | d5b2f67cbed2fbcdcb6e7429f71fd4a875ad9361 (patch) | |
tree | 0b7135337ad574a607f3dd748bfe269074e8623e /src/lib/libcrypto/dsa/dsa.h | |
parent | 90a2cac2c9296c6001b956f786252ce7b31af437 (diff) | |
download | openbsd-d5b2f67cbed2fbcdcb6e7429f71fd4a875ad9361.tar.gz openbsd-d5b2f67cbed2fbcdcb6e7429f71fd4a875ad9361.tar.bz2 openbsd-d5b2f67cbed2fbcdcb6e7429f71fd4a875ad9361.zip |
Provide DSA_SIG_{g,s}et0()
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 6d618113fd..7e73b205b0 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.27 2018/02/20 17:45:44 tb Exp $ */ | 1 | /* $OpenBSD: dsa.h,v 1.28 2018/02/20 17:48:35 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 | * |
@@ -183,6 +183,8 @@ DSA_SIG * DSA_SIG_new(void); | |||
183 | void DSA_SIG_free(DSA_SIG *a); | 183 | void DSA_SIG_free(DSA_SIG *a); |
184 | int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); | 184 | int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); |
185 | DSA_SIG * d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); | 185 | DSA_SIG * d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); |
186 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ||
187 | int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); | ||
186 | 188 | ||
187 | DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); | 189 | DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); |
188 | int DSA_do_verify(const unsigned char *dgst,int dgst_len, | 190 | int DSA_do_verify(const unsigned char *dgst,int dgst_len, |