summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-02 23:20:09 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-02 23:20:09 +0200
commit9ecba820b90c85bd927fbb18fabe0f6fc8f97141 (patch)
tree4f228d1ff13cb058958f46db452cb813aba7f8bb
parent5000469e203ada7c65073f32770491057c8233bd (diff)
downloadcryptodev-linux-9ecba820b90c85bd927fbb18fabe0f6fc8f97141.tar.gz
cryptodev-linux-9ecba820b90c85bd927fbb18fabe0f6fc8f97141.tar.xz
cryptodev-linux-9ecba820b90c85bd927fbb18fabe0f6fc8f97141.zip
Added a FIXME on the used types.
-rw-r--r--libtommath/tommath.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index 491bcc2..6653f55 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -64,6 +64,10 @@ extern "C" {
* At the very least a mp_digit must be able to hold 7 bits
* [any size beyond that is ok provided it doesn't overflow the data type]
*/
+
+/* FIXME: This can be improved, but might require to use a 64bit division
+ * on 32bit machines and an 128bit on 64.
+ */
#if BITS_PER_LONG <= 32
typedef uint16_t mp_digit;