X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=TODO;fp=TODO;h=65b6a4e92497711c93c08d8995a97419db3f204e;hp=d7be8e6cecd616f69f218a003b5d908d603d27f9;hb=abd261065eac46a2d2c970833f3fa701bc1516e3;hpb=63da89e60c01aa62254648b3aafc88261181da65 diff --git a/TODO b/TODO index d7be8e6c..65b6a4e9 100644 --- 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