qcrypto_keypair_init_from_mem()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Initialize PKI key generation using parameters in memory
Synopsis:
#include <qcrypto/qcrypto_keys.h>
int qcrypto_keypair_init_from_mem(qcrypto_ctx_t *ctx,
const uint8_t *params,
size_t size,
qcrypto_key_format_t fmt)
Arguments:
- ctx
- The algorithm context object.
- params
- The key parameters buffer.
- size
- The size of params.
- fmt
- The encoding format of params (see qcrypto_key_format_t).
Library:
libqcryptoDescription:
This function initializes a PKI key generation algorithm using key parameters stored in memory.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: