Algorithm state context
#include <dev/crypto/devcrypto_plugin.h>
typedef struct _devcrypto_state_ctx { void* data; const devcrypto_algorithm_t* alg; } devcrypto_state_ctx_t;
Algorithm-specific context data.
The algorithm associated with this context.
The state context object is passed as a parameter to each algorithm's functions to allow algorithm-specific data to be stored and referenced. Additionally, it provides a reference to the algorithm object, which allows that object to be used.