Secure Key

How to use the rdrand engine in OpenSSL for random number generation

The OpenSSL* ENGINE API includes an engine specifically for Intel® Data Protection Technology with Secure Key. When this engine is enabled, the RAND_bytes() function will exclusively use the RDRAND instruction for generating random numbers and will not need to rely on the OS's entropy pool for reseeding. End applications can simply call RAND_bytes(), do not have to invoke RAND_seed() or RAND_add(), and the OpenSSL library will not call RAND_poll() internally.

Download the complete code sample at the bottom of the article.

  • Desenvolvedores
  • Cliente empresarial
  • Servidor
  • C/C++
  • intel data protection with secure key
  • Secure Key
  • DRNG
  • rdrand
  • Segurança
  • Assine o Secure Key