devcrypto_plugin_op_init

Initialize a plugin

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_plugin_op_init)(const char *opts);

Arguments:

opts
The option string.

Library:

devcr

Description:

This function is called to initialize the plugin and any resources that it requires. If the plugin supports options, they are passed to it as a string using the devcrypto command line option -o (option).

Returns:

EOK if successful or errno if an error occurred.