Updates the visible message to the ECPVS context.
#include "huecpvs.h"
int hu_ECPVSRecoverUpdate(sb_Context ecpvsContext, size_t visibleMessageLen, const unsigned char *visibleMessage, sb_GlobalCtx sbCtx)
ECPVS context object pointer.
The length (in bytes) of visibleMessage.
The visible part of the message.
A global context.
This is the second API function to be called during the ECPVS recovery process. It can be called multiple times to update parts of the message; this is useful if the message is particularly large.
The complete r must be passed in first, either in full or in parts. This must be followed by the complete visible message, again either in full or in parts.
Context object pointer is NULL.
Context object is invalid.
Global context is NULL.
The dataValue parameter is NULL while the dataLen is non-zero.
Memory allocation failure.
Success.