qcrypto_key_ctx_t

Updated: April 19, 2023

Key context

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef struct _qcrypto_key_ctx {
    qcrypto_key_type_t type;
    qcrypto_key_alg_type_t alg_type;
    uint8_t* key;
    size_t keysize;
} qcrypto_key_ctx_t;

Data:

qcrypto_key_type_t type

The key type.

qcrypto_key_alg_type_t alg_type

The key algorithm type.

uint8_t* key

The key data.

size_t keysize

The key size.

Library:

libqcrypto