summaryrefslogtreecommitdiff
path: root/crypto/dsa/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dsa/dsa.h')
-rw-r--r--crypto/dsa/dsa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h
index 1ca87c1cbe..a231c199b7 100644
--- a/crypto/dsa/dsa.h
+++ b/crypto/dsa/dsa.h
@@ -71,6 +71,8 @@ extern "C" {
#include "bn.h"
+#define DSA_FLAG_CACHE_MONT_P 0x01
+
typedef struct dsa_st
{
/* This first variable is used to pick up errors where
@@ -88,6 +90,10 @@ typedef struct dsa_st
BIGNUM *kinv; /* Signing pre-calc */
BIGNUM *r; /* Signing pre-calc */
+ int flags;
+ /* Normally used to cache montgomery values */
+ char *method_mont_p;
+
int references;
} DSA;