Article ID Journal Published Year Pages File Type
461174 Journal of Systems and Software 2011 9 Pages PDF
Abstract

We describe the implementation, based on the Compute Unified Device Architecture (CUDA) for Graphics Processing Units (GPU), of a novel and very effective approach to quickly test passphrases used to protect private keyrings of OpenPGP cryptosystems.Our combination of algorithm and implementation, reduces the time required to test a set of possible passphrases by three-orders of magnitude with respect to an attack based on the procedure described in the OpenPGP standard and implemented by software packages like GnuPG, and a tenfold speed up if compared to our highly tuned CPU implementation. Our solution can be considered a replacement and an extension of pgpcrack, a utility used in the past for attacking PGP.The optimizations described can be applied to other cryptosystems and confirm that the GPU architecture is also very effective for running applications that make extensive (if not exclusive) use of integer operations.

► We show that GPU can be very effective also for applications that use only integer operations. ► The check of a GnuPG passphrase can be carried out by means of a simple test of the validity of the Multiple Precision Integer representing the passphrase. ► Function templates make easier to develop highly tuned and specialized code.

Related Topics
Physical Sciences and Engineering Computer Science Computer Networks and Communications
Authors
, , ,