diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_sign.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_sign.c b/src/lib/libcrypto/dsa/dsa_sign.c index d5458016a9..f941c32e57 100644 --- a/src/lib/libcrypto/dsa/dsa_sign.c +++ b/src/lib/libcrypto/dsa/dsa_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_sign.c,v 1.23 2022/11/26 16:08:52 tb Exp $ */ | 1 | /* $OpenBSD: dsa_sign.c,v 1.24 2023/02/13 09:16:15 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 | * |
@@ -64,18 +64,6 @@ | |||
64 | #include "dsa_local.h" | 64 | #include "dsa_local.h" |
65 | 65 | ||
66 | DSA_SIG * | 66 | DSA_SIG * |
67 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | ||
68 | { | ||
69 | return dsa->meth->dsa_do_sign(dgst, dlen, dsa); | ||
70 | } | ||
71 | |||
72 | int | ||
73 | DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) | ||
74 | { | ||
75 | return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); | ||
76 | } | ||
77 | |||
78 | DSA_SIG * | ||
79 | DSA_SIG_new(void) | 67 | DSA_SIG_new(void) |
80 | { | 68 | { |
81 | return calloc(1, sizeof(DSA_SIG)); | 69 | return calloc(1, sizeof(DSA_SIG)); |
@@ -90,3 +78,15 @@ DSA_SIG_free(DSA_SIG *sig) | |||
90 | free(sig); | 78 | free(sig); |
91 | } | 79 | } |
92 | } | 80 | } |
81 | |||
82 | int | ||
83 | DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) | ||
84 | { | ||
85 | return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); | ||
86 | } | ||
87 | |||
88 | DSA_SIG * | ||
89 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | ||
90 | { | ||
91 | return dsa->meth->dsa_do_sign(dgst, dlen, dsa); | ||
92 | } | ||