PQLR
Postquantum Crypto Library by QAPP
|
Pqlr user's error handler callback interface. More...
#include <pqlr/common/error_handler.h>
Data Fields | |
pqlr_error_handler_fnc | callback |
Error handler function. You can pass pointer to custom fatal error handler function for correct resources release before program stop. More... | |
void * | ctx |
This is a context pointer to be passed to user's callback. User is able to store and access any state of his software resources by this address. More... | |
Pqlr user's error handler callback interface.
In case of fatal error in any pqlr algorithm abort() will be called. If set this callback would be called just before the abort.
pqlr_error_handler_fnc pqlr_error_handler_callback::callback |
Error handler function. You can pass pointer to custom fatal error handler function for correct resources release before program stop.
void* pqlr_error_handler_callback::ctx |
This is a context pointer to be passed to user's callback. User is able to store and access any state of his software resources by this address.