summaryrefslogtreecommitdiff
path: root/rsaref/rsaref.err
diff options
context:
space:
mode:
Diffstat (limited to 'rsaref/rsaref.err')
-rw-r--r--rsaref/rsaref.err32
1 files changed, 32 insertions, 0 deletions
diff --git a/rsaref/rsaref.err b/rsaref/rsaref.err
new file mode 100644
index 0000000000..89f83b822c
--- /dev/null
+++ b/rsaref/rsaref.err
@@ -0,0 +1,32 @@
+/* Error codes for the RSAREF functions. */
+
+/* Function codes. */
+#define RSAREF_F_BN_REF_MOD_EXP 100
+#define RSAREF_F_RSAREF_BN2BIN 101
+#define RSAREF_F_RSA_BN2BIN 102
+#define RSAREF_F_RSA_PRIVATE_DECRYPT 103
+#define RSAREF_F_RSA_PRIVATE_ENCRYPT 104
+#define RSAREF_F_RSA_PUBLIC_DECRYPT 105
+#define RSAREF_F_RSA_PUBLIC_ENCRYPT 106
+#define RSAREF_F_RSA_REF_BN2BIN 107
+#define RSAREF_F_RSA_REF_MOD_EXP 108
+#define RSAREF_F_RSA_REF_PRIVATE_DECRYPT 109
+#define RSAREF_F_RSA_REF_PRIVATE_ENCRYPT 110
+#define RSAREF_F_RSA_REF_PUBLIC_DECRYPT 111
+#define RSAREF_F_RSA_REF_PUBLIC_ENCRYPT 112
+
+/* Reason codes. */
+#define RSAREF_R_CONTENT_ENCODING 1024
+#define RSAREF_R_DATA 1025
+#define RSAREF_R_DIGEST_ALGORITHM 1026
+#define RSAREF_R_ENCODING 1027
+#define RSAREF_R_ENCRYPTION_ALGORITHM 1037
+#define RSAREF_R_KEY 1028
+#define RSAREF_R_KEY_ENCODING 1029
+#define RSAREF_R_LEN 1030
+#define RSAREF_R_MODULUS_LEN 1031
+#define RSAREF_R_NEED_RANDOM 1032
+#define RSAREF_R_PRIVATE_KEY 1033
+#define RSAREF_R_PUBLIC_KEY 1034
+#define RSAREF_R_SIGNATURE 1035
+#define RSAREF_R_SIGNATURE_ENCODING 1036