ltm sync
Karel Miko
5 years ago
13 | 13 |
*/
|
14 | 14 |
|
15 | 15 |
/* chars used in radix conversions */
|
16 | |
const char *mp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/";
|
|
16 |
const char *const mp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/";
|
17 | 17 |
const unsigned char mp_s_rmap_reverse[] = {
|
18 | 18 |
0xff, 0xff, 0xff, 0x3e, 0xff, 0xff, 0xff, 0x3f, /* ()*+,-./ */
|
19 | 19 |
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* 01234567 */
|
72 | 72 |
int s_mp_exptmod(const mp_int *G, const mp_int *X, const mp_int *P, mp_int *Y, int redmode);
|
73 | 73 |
void bn_reverse(unsigned char *s, int len);
|
74 | 74 |
|
75 | |
extern const char *mp_s_rmap;
|
|
75 |
extern const char *const mp_s_rmap;
|
76 | 76 |
extern const unsigned char mp_s_rmap_reverse[];
|
77 | 77 |
extern const size_t mp_s_rmap_reverse_sz;
|
78 | 78 |
|