]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | /* Error codes for the RSAREF functions. */ |
2 | ||
3 | /* Function codes. */ | |
4 | #define RSAREF_F_BN_REF_MOD_EXP 100 | |
5 | #define RSAREF_F_RSAREF_BN2BIN 101 | |
6 | #define RSAREF_F_RSA_BN2BIN 102 | |
7 | #define RSAREF_F_RSA_PRIVATE_DECRYPT 103 | |
8 | #define RSAREF_F_RSA_PRIVATE_ENCRYPT 104 | |
9 | #define RSAREF_F_RSA_PUBLIC_DECRYPT 105 | |
10 | #define RSAREF_F_RSA_PUBLIC_ENCRYPT 106 | |
11 | #define RSAREF_F_RSA_REF_BN2BIN 107 | |
12 | #define RSAREF_F_RSA_REF_MOD_EXP 108 | |
13 | #define RSAREF_F_RSA_REF_PRIVATE_DECRYPT 109 | |
14 | #define RSAREF_F_RSA_REF_PRIVATE_ENCRYPT 110 | |
15 | #define RSAREF_F_RSA_REF_PUBLIC_DECRYPT 111 | |
16 | #define RSAREF_F_RSA_REF_PUBLIC_ENCRYPT 112 | |
17 | ||
18 | /* Reason codes. */ | |
19 | #define RSAREF_R_CONTENT_ENCODING 1024 | |
20 | #define RSAREF_R_DATA 1025 | |
21 | #define RSAREF_R_DIGEST_ALGORITHM 1026 | |
22 | #define RSAREF_R_ENCODING 1027 | |
23 | #define RSAREF_R_ENCRYPTION_ALGORITHM 1037 | |
24 | #define RSAREF_R_KEY 1028 | |
25 | #define RSAREF_R_KEY_ENCODING 1029 | |
26 | #define RSAREF_R_LEN 1030 | |
27 | #define RSAREF_R_MODULUS_LEN 1031 | |
28 | #define RSAREF_R_NEED_RANDOM 1032 | |
29 | #define RSAREF_R_PRIVATE_KEY 1033 | |
30 | #define RSAREF_R_PUBLIC_KEY 1034 | |
31 | #define RSAREF_R_SIGNATURE 1035 | |
32 | #define RSAREF_R_SIGNATURE_ENCODING 1036 |