blob: 89f83b822c0f1ef14ce35c96dac9f58fc5635516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
|