summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/headers/tomcrypt_math.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-01-11 03:05:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-01-11 03:05:30 +0000
commit5ea605d8de5b4438deb4fa86c5231710dd09f934 (patch)
tree9ad32b57ddb21adc7906da94974efd721dc139f5 /libtomcrypt/src/headers/tomcrypt_math.h
parenta938f4cfe140e8561d9dbf108b896492a662a893 (diff)
parent7f0dd15bab8451fcea6eb1032ccbb13f4185d654 (diff)
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head ffd1015238ffcc959f6cd95176d96fcd0945a397)
to branch 'au.asn.ucc.matt.dropbear' (head 52ccb0ad0587a62bc64aecb939adbb76546aac16) --HG-- extra : convert_revision : ecd779509ef23a8cdf64888904fc9b31d78aa933
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_math.h')
-rw-r--r--libtomcrypt/src/headers/tomcrypt_math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_math.h b/libtomcrypt/src/headers/tomcrypt_math.h
index c996e41..8bf544f 100644
--- a/libtomcrypt/src/headers/tomcrypt_math.h
+++ b/libtomcrypt/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;