1 Dec 2007 03:50
Re: AES Bitslice and the PS3 MD5 cracking.
On Fri, Nov 30, 2007 at 11:01:38PM +0000, Larry Bonner wrote: > I hope Solar Designer doesn't mind me putting this question to some on > the mailing list. It's OK as long as these discussion threads don't run for too long, and the majority of postings are still directly related to JtR. > I'm just curious how complicated it would be to implement AES as a > bitslice algorithm, as i've read that for CORE2 CPU, its actually > faster than "normal" way to compute AES. I haven't looked into this myself, but it's quite possible. A Google search for "bitslice AES" (without the quotes) gives some references, including to a sci.crypt discussion that ended with: "Short answer: yes, on architectures with 128 bits words or more." As to your "how complicated" question, I think it's the same order of complexity for most popular ciphers and cryptographic hashes that are reasonable to implement in this way at all. Things can get a lot more difficult when you try to achieve a certain level of performance - such as to outperform another implementation. The URL for a presentation on PS3/Cell that I had posted a while ago: http://www.hyperelliptic.org/SPEED/slides/Osvik_cell-speed.pdf also briefly describes a non-bitslice but architecture-specific implementation of AES for the Cell and mentions that "bitslice AES would be very interesting".(Continue reading)
RSS Feed