In what was literally years in the making, the Crypto Framework's userland provider "softtoken" now has a platform-specific library, called libsoftcrypto. This breaks out symmetric crypto and bignum operations for specific platforms. In build 104, there are libraries for sun4v, sun4u, and MMX/SSE2, Not all the algorithms are optimized. Below is a list algorithms in libsoftcrypto:

* sun4u has aes, arcfour, des, and bignum
* sun4v has arcfour
* MMX/SSE2 has bignum
* amd64 has aes, rc4, bignum).

The other libraries, in i386, sparc, and sparcv9, are default implementations.

Performance-wise, observed improvements are below. The number following each algorithm is the improvement over the previous version of softtoken:
* sun4u: arcfour (+31%), des (+33%)
* sun4v: aes (+3%)
* amd64: bignum(rsa 2x)

Now that libsoftcrypto exists, we hopefully will see more optimizations and more libraries for different platforms in the future. We look forward to sun4v and SSE5 improvements.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by izick