gsasl_randomize(3)

gsasl_randomize3

Api function

Usage

#include <gsasl.h>

int gsasl_randomize(int strong, char * data, size_t datalen);

Arguments

int strong

0 iff operation should not block, non-0 for very strong randomness.

char * data

output array to be filled with random data.

size_t datalen

size of output array.

Overview

Store cryptographically random data of given size in the provided buffer.

Return value: Returns GSASL_OK iff successful.

Deprecated

Use gsasl_random() or gsasl_nonce() instead.

Releases

8 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–10
  5. 11

Reporting bugs

Report bugs to <[email protected]>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GNU SASL home page: http://www.gnu.org/software/gsasl/

From libgsasl-dev 1.10.0-4+deb11u1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.