aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-03-20 12:22:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-03-20 12:22:24 +0000
commit448be743350791d32764fac38f5d3c8ffda481b2 (patch)
tree51b7450db232582f1cae8952ebbadc8e07fdc857 /crypto/dsa/dsa.h
parent1a5a1a93f6c48b135a2b384f7e571abb7b90fc55 (diff)
downloadopenssl-448be743350791d32764fac38f5d3c8ffda481b2.tar.gz
Initial support for pluggable public key ASN1 support. Process most public
key ASN1 handling through a single EVP_PKEY_ASN1_METHOD structure and move the spaghetti algorithm specific code to a single ASN1 module for each algorithm.
Diffstat (limited to 'crypto/dsa/dsa.h')
-rw-r--r--crypto/dsa/dsa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h
index b12db98b13..5ee83e33ba 100644
--- a/crypto/dsa/dsa.h
+++ b/crypto/dsa/dsa.h
@@ -262,6 +262,10 @@ void ERR_load_DSA_strings(void);
#define DSA_F_DSA_NEW_METHOD 103
#define DSA_F_DSA_PRINT 104
#define DSA_F_DSA_PRINT_FP 105
+#define DSA_F_DSA_PRIV_DECODE 115
+#define DSA_F_DSA_PRIV_ENCODE 116
+#define DSA_F_DSA_PUB_DECODE 117
+#define DSA_F_DSA_PUB_ENCODE 118
#define DSA_F_DSA_SIGN 106
#define DSA_F_DSA_SIGN_SETUP 107
#define DSA_F_DSA_SIG_NEW 109
@@ -270,8 +274,12 @@ void ERR_load_DSA_strings(void);
#define DSA_F_SIG_CB 114
/* Reason codes. */
+#define DSA_R_BN_DECODE_ERROR 102
+#define DSA_R_BN_ERROR 103
#define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100
+#define DSA_R_DECODE_ERROR 104
#define DSA_R_MISSING_PARAMETERS 101
+#define DSA_R_PARAMETER_ENCODING_ERROR 105
#ifdef __cplusplus
}