qcrypto_rng_args_t

Updated: October 26, 2022

RNG algorithm arguments

Synopsis:

#include <qcrypto/qcrypto.h>
typedef struct _qcrypto_rng_args {
    union {
        struct {
            const uint8_t   *pstr;
            size_t           pstrsize;
        drbg;
        void*        private;
    }
} qcrypto_rng_args_t;

Data:

uint8_t* pstr

The DRBG (deterministic random bit generator) personalization string.

size_t pstrsize

The DRBG personalization string length.

void* private

Private arguments to pass for other types of ciphers.

Library:

libqcrypto

Description:

The arguments are organized based on the algorithm name.

The private field can be used for custom plugins that implement custom algorithms that the QNX cryptography library API does not support.

For more information, see qcrypto_rng_init().