diff options
Diffstat (limited to 'src/headers/tomcrypt_math.h')
-rw-r--r-- | src/headers/tomcrypt_math.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/headers/tomcrypt_math.h b/src/headers/tomcrypt_math.h index c996e41..8bf544f 100644 --- a/src/headers/tomcrypt_math.h +++ b/src/headers/tomcrypt_math.h @@ -11,9 +11,12 @@ typedef void ecc_point; #endif +/* Dropbear has its own rsa_key. We just comment this out. */ +#if 0 #ifndef MRSA typedef void rsa_key; #endif +#endif /** math descriptor */ typedef struct { @@ -386,6 +389,8 @@ typedef struct { ecc_point *C, void *modulus); +/* Dropbear has its own rsa code */ +#if 0 /* ---- (optional) rsa optimized math (for internal CRT) ---- */ /** RSA Key Generation @@ -411,6 +416,7 @@ typedef struct { int (*rsa_me)(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen, int which, rsa_key *key); +#endif } ltc_math_descriptor; extern ltc_math_descriptor ltc_mp; |