summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/headers/tomcrypt_math.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-10-21 22:57:21 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-10-21 22:57:21 +0800
commit8eefb092c83f8f89f4d5574e4a05799eb9df3de8 (patch)
tree38ab731e4c38f1e287c187a9ca14ea73a92f9434 /libtomcrypt/src/headers/tomcrypt_math.h
parent3d733a16e9ee856a45a1fbd9a1b48005d78063f9 (diff)
parent45bd0edae52c07daa2d54ca7f7c0a57d51130791 (diff)
Merge in ECC
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_math.h')
-rw-r--r--libtomcrypt/src/headers/tomcrypt_math.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_math.h b/libtomcrypt/src/headers/tomcrypt_math.h
index 8bf544f..c996e41 100644
--- a/libtomcrypt/src/headers/tomcrypt_math.h
+++ b/libtomcrypt/src/headers/tomcrypt_math.h
@@ -11,12 +11,9 @@
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 {
@@ -389,8 +386,6 @@ 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
@@ -416,7 +411,6 @@ 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;