VIA on-chip RNG and crypto...
VIA has publicly posted the docs for the 'xstore' and 'xcrypt' instructions in their processors:
http://www.via.com.tw/en/viac3/c3.jsp
(grab "VIA Padlock {ACE|RNG} Programming Guide" down at the bottom)
'xstore' is an instruction that any program may use, to obtain entropy from the on-chip hardware source (RNG). The in-kernel hw_random driver already supports this (though this support will be moved to the userspace rngd soon). 'xcrypt' provides on-chip AES encrypt and decrypt, similarly useable by any program.
They have also supported open source by providing docs and occasionally hardware to myself, Dave Jones, Alan, and others. So, while it might appear this is a shameless plug :) I just really like the technology, and am never shy about promoting good hardware designs, and vendors that work with the open source community.
Jeff
P.S. In the interest of full disclosure, neither VIA nor my employer prompted me to write this.
Hi Jeff!
Quoted 7 lines · Jeff Garzik
VIA has publicly posted the docs for the 'xstore' and 'xcrypt' instructions in their processors:
http://www.via.com.tw/en/viac3/c3.jsp(grab "VIA Padlock {ACE|RNG} Programming Guide" down at the bottom)
You forgot the "journalist touch". To spike interest:
"PadLock ACE encrypts at rates of up to 12.5 Gigabits per second (Gbps) with a 1GHz VIA C3 processor, more than eight times faster than the best software AES implementation from a power hungry 3GHz Intel® Pentium® 4 processor based system that encrypts at a rate of a mere 1.5 Gbps."
25 times faster, clock by clock :)
Regards,
Nuno Silva
[...]
Quoted 3 lines
P.S. In the interest of full disclosure, neither VIA nor my employer prompted me to write this.
The same here.
Quoted 5 lines · Jeff Garzik
VIA has publicly posted the docs for the 'xstore' and 'xcrypt' instructions in their processors:
http://www.via.com.tw/en/viac3/c3.jsp...
They have also supported open source by providing docs and occasionally hardware to myself, Dave Jones, Alan, and others. So, while it might appear this is a shameless plug :) I just really like the technology, and am never shy about promoting good hardware designs, and vendors that work with the open source community.
Same here, this crypto stuff rocks!
I posted a document and some sources for using the high throughput entropy source on linux (2.4.23 and 2.4.6test9) here:
http://peertech.org/hardware/viarng/
The stock hw_random.c needs a few tweaks to support 8 byte xstore, and I wrote a new userspace entropy daemon to support low latency, high volume throughput. I should clean the code up so it is usable...
Best regards,