qcrypto_key_from_file()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Load a symmetric key from a file
Synopsis:
#include <qcrypto/qcrypto_keys.h>
int qcrypto_key_from_file(qcrypto_ctx_t *ctx,
qcrypto_key_t **key,
const char *filename)
Arguments:
- ctx
- The algorithm context object.
- key
- A pointer to a symmetric key handle.
- filename
- The key filename.
Library:
libqcryptoDescription:
This function loads a symmetric key from the specified file.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: