diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_local.h')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_local.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_local.h b/src/lib/libcrypto/dsa/dsa_local.h index 3e688b8ce6..46248f0edf 100644 --- a/src/lib/libcrypto/dsa/dsa_local.h +++ b/src/lib/libcrypto/dsa/dsa_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_local.h,v 1.3 2023/11/29 21:35:57 tb Exp $ */ | 1 | /* $OpenBSD: dsa_local.h,v 1.4 2024/05/11 06:43:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -69,20 +69,9 @@ struct dsa_method { | |||
69 | BIGNUM **rp); | 69 | BIGNUM **rp); |
70 | int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, | 70 | int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, |
71 | DSA_SIG *sig, DSA *dsa); | 71 | DSA_SIG *sig, DSA *dsa); |
72 | int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, | ||
73 | BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, | ||
74 | BN_MONT_CTX *in_mont); | ||
75 | int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, | ||
76 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); /* Can be null */ | ||
77 | int (*init)(DSA *dsa); | 72 | int (*init)(DSA *dsa); |
78 | int (*finish)(DSA *dsa); | 73 | int (*finish)(DSA *dsa); |
79 | int flags; | 74 | int flags; |
80 | char *app_data; | ||
81 | /* If this is non-NULL, it is used to generate DSA parameters */ | ||
82 | int (*dsa_paramgen)(DSA *dsa, int bits, const unsigned char *seed, | ||
83 | int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); | ||
84 | /* If this is non-NULL, it is used to generate DSA keys */ | ||
85 | int (*dsa_keygen)(DSA *dsa); | ||
86 | } /* DSA_METHOD */; | 75 | } /* DSA_METHOD */; |
87 | 76 | ||
88 | struct dsa_st { | 77 | struct dsa_st { |