Enhanced Ant Colony-Inspired ParallelAlgorithm to Improve Cryptographic PRNGs

We present and motivate a parallel algorithm to compute promising candidate states for modifying the state space of a pseudo-random number generator in order to increase its cycle length. This is important for generators in low-power devices where increase of state space to achieve longer cycles is not an alternative. The runtime of the parallel algorithm is improved by an analogy to ant colony behavior: if two paths meet, the resulting path is followed at accelerated speed just as ants tend to reinforce paths that have been used by other ants. We evaluate our algorithm with simulations and demonstrate high parallel efficiency that makes the algorithm well-suited even for massively parallel systems like GPUs. Furthermore, the accelerated path variant of the algorithm achieves a runtime improvement of up to 4% over the straightforward implementation.1

[1]  Ulrich Meyer,et al.  A structural analysis of the A5/1 state transition graph , 2012, GRAPHITE.

[2]  Jan Heichler Parallel Storage Allocation for Intermediate Results During Exploration of Random Mappings , 2005 .

[3]  Honorio Martín,et al.  AKARI-X: A pseudorandom number generator for secure lightweight systems , 2011, 2011 IEEE 17th International On-Line Testing Symposium.

[4]  Anand Desai,et al.  A Practice-Oriented Treatment of Pseudorandom Number Generators , 2002, EUROCRYPT.

[5]  Jörg Keller,et al.  Tweaking cryptographic primitives with moderate state space by direct manipulation , 2017, 2017 IEEE International Conference on Communications (ICC).

[6]  Philippe Flajolet,et al.  Random Mapping Statistics , 1990, EUROCRYPT.

[7]  Jovan Dj. Golic,et al.  Cryptanalysis of Alleged A5 Stream Cipher , 1997, EUROCRYPT.

[8]  Elaine B. Barker,et al.  A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications , 2000 .

[9]  Luca Maria Gambardella,et al.  Ant colony system: a cooperative learning approach to the traveling salesman problem , 1997, IEEE Trans. Evol. Comput..

[10]  Donald E. Knuth,et al.  Mathematical Analysis of Algorithms , 1971, IFIP Congress.

[11]  Leslie Lamport,et al.  Password authentication with insecure communication , 1981, CACM.

[12]  Steffen Wendzel,et al.  Ant Colony-Inspired Parallel Algorithm to Improve Cryptographic Pseudo Random Number Generators , 2017, 2017 IEEE Security and Privacy Workshops (SPW).

[13]  Alex Biryukov,et al.  Real Time Cryptanalysis of A5/1 on a PC , 2000, FSE.

[14]  J. Keller Parallel Exploration of the Structure of Random Functions , 2002 .

[15]  David Pointcheval,et al.  Security analysis of pseudo-random number generators with input: /dev/random is not robust , 2013, CCS.

[16]  Ronald L. Rivest,et al.  Spritz - a spongy RC4-like stream cipher and hash function , 2016, IACR Cryptol. ePrint Arch..