qcrypto_rng_args_t

QNX SDP8.0QNX OS System Security GuideAPIConfiguration

RNG algorithm arguments

Synopsis:

#include <qcrypto/qcrypto.h>
typedef struct {
    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().

Page updated: