qcrypto_keypair_init()

Updated: April 19, 2023

Initialize PKI key generation using the specified arguments

Synopsis:

#include <qcrypto/qcrypto_keys.h>
int qcrypto_keypair_init(qcrypto_ctx_t *ctx,
                         const qcrypto_key_args_t *kargs)

Arguments:

ctx
The algorithm context object.
kargs
The key arguments.

Library:

libqcrypto

Description:

This function initializes a PKI key generation algorithm using the specified key arguments.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.