register_algorithm()

Updated: April 19, 2023

Register an algorithm

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
int register_algorithm(const qcrypto_algorithm_t *alg)

Arguments:

alg
The algorithm object.

Library:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.