Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt_math.h @ 1435:f849a5ca2efc
update to libtomcrypt 1.17 (with Dropbear changes)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 17:50:50 +0800 |
parents | ac2158e3e403 |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1434:27b9ddb06b09 | 1435:f849a5ca2efc |
---|---|
5 #define LTC_MP_GT 1 | 5 #define LTC_MP_GT 1 |
6 | 6 |
7 #define LTC_MP_NO 0 | 7 #define LTC_MP_NO 0 |
8 #define LTC_MP_YES 1 | 8 #define LTC_MP_YES 1 |
9 | 9 |
10 #ifndef MECC | 10 #ifndef LTC_MECC |
11 typedef void ecc_point; | 11 typedef void ecc_point; |
12 #endif | 12 #endif |
13 | 13 |
14 #ifndef MRSA | 14 #ifndef LTC_MRSA |
15 typedef void rsa_key; | 15 typedef void rsa_key; |
16 #endif | 16 #endif |
17 | 17 |
18 /** math descriptor */ | 18 /** math descriptor */ |
19 typedef struct { | 19 typedef struct { |
493 | 493 |
494 #define mp_tohex(a, b) mp_toradix(a, b, 16) | 494 #define mp_tohex(a, b) mp_toradix(a, b, 16) |
495 | 495 |
496 #endif | 496 #endif |
497 | 497 |
498 /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_math.h,v $ */ | 498 /* $Source$ */ |
499 /* $Revision: 1.43 $ */ | 499 /* $Revision$ */ |
500 /* $Date: 2006/12/02 19:23:13 $ */ | 500 /* $Date$ */ |