Random Number Generator protocol

Fields

_get_info: *const fn (*const RNGProtocol, *usize, [*]align(8) Guid) callconv(cc) Status,
_get_rng: *const fn (*const RNGProtocol, ?*const align(8) Guid, usize, [*]u8) callconv(cc) Status,

Functions

fn getInfo(self: *const RNGProtocol, list_size: *usize, list: [*]align(8) Guid) Status

Returns information about the random number generation implementation.

fn getRNG(self: *const RNGProtocol, algo: ?*const align(8) Guid, value_length: usize, value: [*]u8) Status

Produces and returns an RNG value using either the default or specified RNG algo…

Produces and returns an RNG value using either the default or specified RNG algorithm.