+Sat Sep 1 12:33:44 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added SHA-512 to crypto library.
+
+ * Added hmac-sha512 and hmac-sha512-96 to crypto library.
+
+ * Added x86 optimized SHA-256 implementation to crypto library.
+
Tue Aug 7 21:05:53 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
* Changed cipher and hash APIs to use const char *name instead
+Sat Sep 1 12:09:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Rewrote parts of the SILC Atomic API to not use volatile
+ members in structures but to handle the memory accesses
+ volatily, the right way to do it. Affected file is
+ lib/silcutil/silcatomic.h.
+
+ * Added silc_timer_tick and silc_timer_synchronize functions
+ to SILC Timer API. Affected files are
+ lib/silcutil/silctimer.[ch] and silctimer_i.h.
+
+ * Use clock_gettime in place of gettimeofday, if it is
+ available. Affected files are configure.ad and
+ lib/silcutil/unix/silcunixutil.c.
+
+ * Added silc_offsetof, silc_likely and silc_unlikely to public
+ API. Added silc_attribute compiler specific definition.
+ Affected file is lib/silcutil/silctypes.h.
+
+ * Added silc_prefetch and silc_prefetch_block functions that
+ provide routines for prefetching data to CPU cache. Affected
+ file is lib/silcutil/silctypes.h.
+
+ * Added --with-alignment for specifying default memory alignment
+ used in the compiled code. Currently only SilcStack respects
+ this value. Affected files are lib/configure.ad,
+ lib/silcutil/silcstack_i.h and includes/silc.h.in.
+
Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
* Fixed alignment issues on 64-bit CPUs. Affected files are
_ua unaligned memory allocation routines. Remove unaligned memory
allocation possibility. (***DONE)
+ o silc_malloc et. al. to respect --with-alignment.
+
o Add '%@' format to silc_snprintf functions. It marks for external
rendering function of following type:
silc_snprintf(buf, sizeof(buf), "Client ID %@", id_renderer, client_id);
o Change silc_gettimeofday on Unix to use clock_gettime with REALTIME
- clock if it is available, otherwise use gettimeofday().
+ clock if it is available, otherwise use gettimeofday(). (***DONE)
(o Generic SilcStatus or SilcResult that includes all possible status and
error conditions, including those of SILC protocol. Though, the SILC
@__SILC_ENABLE_DEBUG@
#if defined(HAVE_SILCDEFS_H)
+
/* Automatically generated configuration header */
#ifndef SILC_SYMBIAN
#include "silcdefs.h"
#include "../symbian/silcdefs.h"
#endif /* SILC_SYMBIAN */
#include "silcdistdefs.h"
+
+#else
+
+/* Autodetect CPU so that inline assembly in headers are enabled */
+
+#if defined(__i386__)
+#undef SILC_I386
+#define SILC_I386
+#undef SILC_I486
+#define SILC_I486
+#endif /* __i386__ */
+
+#if defined(__x86_64__)
+#undef SILC_X86_64
+#define SILC_X86_64
+#endif /* __x86_64__ */
+
+#if defined(__ia64__)
+#undef SILC_IA64
+#define SILC_IA64
+#endif /* __ia64__ */
+
+#if defined(__ppc__) || defined(__ppc64__)
+#undef SILC_POWERPC
+#define SILC_POWERPC
+#endif /* __ppc__ || __ppc64__ */
+
+#ifndef SILC_ALIGNMENT
+#define SILC_ALIGNMENT SILC_SIZEOF_VOID_P
+#endif /* SILC_ALIGNMENT */
+
#endif /* HAVE_SILCDEFS_H */
/* Platform specific includes */
ifelse([$3], , :, [$3])
else
AC_MSG_RESULT(yes)
- x_have_cpu_$1=true
+ x_have_cpu_$1=true
ifelse([$2], , :, [$2])
fi
;;