Added new math library based on TFM.
[crypto.git] / TODO
diff --git a/TODO b/TODO
index d7be8e6cecd616f69f218a003b5d908d603d27f9..65b6a4e92497711c93c08d8995a97419db3f204e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -146,34 +146,24 @@ SILC Accelerator Library
 lib/silcmath
 ============
 
+ o Prime generation progress using callback instead of printing to
+   stdout.
+
+ o All utility functions should be made non-allocating ones.
+
  o Import TFM.  We want TFM's speed but its memory requirements are
    just too much.  By default it uses large pre-allocated tables which
    will eat memory when there are thousands of public keys in system.
-   We probably want to change TFM's fp_int dynamic so that a specific
-   size can be allocated for the int.  We could have two new functions:
-
-   SilcBool silc_mp_init_size(SilcMPInt *mp, SilcUInt32 bit_size);
-   SilcBool silc_mp_sinit_size(SilcStack stack, SilcMPInt *mp,
-                              SilcUInt32 bit_size);
+   We probably want to change TFM. (***DONE)
 
-   Which by default allocates `bit_size' bits instead of some default
-   value.  silc_mp_init would allocate the default FP_SIZE with TFM
-   and do normal init with TMA and GMP.  _init_size with TMA and GMP
-   would be same as _init.
-
- o Add AND, OR and XOR support to TFM or ask Tom to do it.
+ o Add AND, OR and XOR support to TFM. (***DONE)
 
  o The SILC MP API function must start returning indication of success
-   and failure of the operation.
+   and failure of the operation. (***DONE)
 
  o Do SilcStack support for silc_mp_init, silc_mp_init_size and other
    any other MP function (including utility ones) that may allocate
-   memory.
-
- o Prime generation progress using callback instead of printing to
-   stdout.
-
- o All utility functions should be made non-allocating ones.
+   memory. (***DONE)
 
 
 lib/silcasn1