Wednesday Nov 26, 2008

Userland platform-specific crypto is here: libsoftcrypto

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.

About

izick

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today