Skip to main content

Module rand

Module rand 

Source
Expand description

Random number generation — Rand (simple), RandAlg, and RandCtx.

Phase 3.4 delivers RandAlg; Phase 4.4 extends this module with Rand and RandCtx.

Structs§

GenerateRequest
Parameters for RandCtx::generate.
Rand
Zero-size type with static methods wrapping RAND_bytes / RAND_priv_bytes.
RandAlg
An OpenSSL RAND algorithm descriptor (EVP_RAND*).
RandCtx
A seeded DRBG context (EVP_RAND_CTX*).

Enums§

RandState
Lifecycle state of a RandCtx DRBG instance.