1

I was wondering if anyone knew if Cisco IOS (that is, the mainline IOS, not the XE or XR trains) had an internal secure random number generator similar to Unix-style /dev/urandom? If so, what and if not, what does eg. OpenSSL use for seed entropy in Cisco IOS?

ayylmao
  • 39
  • 2

1 Answers1

1

YES, Cisco IOS makes use of a PRNG (Pseudo Random Number Generator) in images where encryption features are available.

This applies at least to K8 and K9 IOS image types. Sometimes, this PRNG fails and you get error messages on the console, like this one:

"UTIL-6-RANDOM: A pseudo-random number was generated twice in succession"
Alexandre Fenyo
  • 4,526
  • 1
  • 17
  • 24