SILC_BUFFER_LEN macro can do the same. These would save
totally 8 bytes of memory per buffer.
- Add also perhaps function silc_buffer_alloc_size that would
- effectively do:
-
- return silc_buffer_pull_tail(silc_buffer_alloc(size),
- size);
-
- to not require the user to give the pull_tail anymore.
-
o Scheduler can be optimized for FD tasks by changing the fd_queue
to SilcHashTable instead of using linked list. We need to do
one-to-one mapping of FD to task and hash table is more efficient
silc_select but at least it removes one extra tarversing later
for the same list).
+ Other task queues should be changed to use SilcList.
+
o Optimizations in Server
o Remove the big switch statement from the function
SERVER_SIGNOFF away entirely).
o Add SilcAsyncOperation to utility library. Any function that takes
- callback as an argument must return SilcAsyncOperation.
+ callback as an argument must/should return SilcAsyncOperation (see
+ ~/silcasync).
+
+ o Rewrite SilcProtocol to be SilcFSM (see ~/silcfsm).
+
+ o Change SILC_TASK_CALLBACK to non-static, and remove the macro
+ SILC_TASK_CALLBACK_GLOBAL.
o Add DSS support.
+ o SILC RNG does not implement random seed files, and they should be
+ implemented.
+
+ o Add SILC scheduler's internal routines into a table of implementation
+ function pointers, that the generic code then takes as extern from
+ implementation. These are the silc_schedule_internal_* routines.
+
o Cipher optimizations (asm, that this) at least for i386 would be nice.
o Add builtin SOCKS and HTTP Proxy support, well the SOCKS at least.
SILC currently supports SOCKS4 and SOCKS5 but it needs to be compiled
in separately.
+
+ o EPOC specific additions/changes required:
+
+ o lib/silcutil/epoc routines missing or not completed.
+
+ o The PKCS#1 also calls global RNG (even though it is not used
+ currently in SILC, the interface allows its use).
+
+ o Something needs to be thought to the logging globals as well,
+ like silc_debug etc. They won't work on EPOC. Perhaps logging
+ and debugging is to be disabled on EPOC.