qcrypto_keygen_supported()

QNX SDP8.0QNX OS System Security GuideAPIConfiguration

Query whether the specified key generation algorithm is supported

Synopsis:

#include <qcrypto/qcrypto_keys.h>
int qcrypto_keygen_supported(const char *name,
                             const char *tag,
                             uint32_t flags)

Arguments:

name
The algorithm name (e.g., ec).
tag
The tag value that identifies the plugin in the qcrypto library configuration file to check for the algorithm; or NULL, to use the default tag (__progname).
flags
Reserved for future use.

Library:

libqcrypto

Description:

This function checks whether a particular key generation algorithm is supported by the library.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.

Page updated: