[Botan-devel] 1.9.2 and 1.8.8 - AltiVec, XTEA SIMD, SHA optimizations

Jack Lloyd lloyd at randombit.net
Wed Nov 4 11:52:31 EST 2009

I've pushed out 1.8.8 and 1.9.2 releases of botan.

On the 1.8 side, the main changes are switching Skein to the tweaked
1.2 specificaion, and a fix to enable use of the x86 bswap

In 1.9.2, I've extended the SIMD code with a generic wrapper for SIMD
operations (limited to 32 bit operations currently, since that is what
is of interest in terms of SIMD optimizations right now) and added
support for AltiVec and a portable scalar emulation of SIMD. The
AltiVec code, oddly, is slower than the scalar-SIMD version on a G5 I
was testing on, because it seems like GCC refuses to inline a
particular (very simple, inline) constructor and so many many
unnecessary function calls are made. An XTEA implementation in SIMD
was also added. And unrolling the expansion loops in SHA-1 and SHA-2
showed a 5-10% improvement in speed on a Core2.


More information about the botan-devel mailing list