Destroys an ECPVS sign context.
#include "huecpvs.h"
int hu_ECPVSSignEnd(sb_Context *ecpvsContext, size_t *sLen, unsigned char *sValue, sb_GlobalCtx sbCtx)
ECPVS context object pointer.
The length (in bytes) of sValue.
The s component from the signature computation.
A global context.
This is the fourth (and final) API function to be called during the ECPVS signing process.
Provide output buffer in sValue, and indicate the amount in sLen. If sufficient amount of buffer is supplied, this function will place the value of s into sValue and set the actual length in sLen. If the buffer is insufficient, this function will return an error.
If sValue is NULL, this function will set the correct length of s in sLen.
Context object pointer is NULL.
Context object is NULL.
Context object is invalid.
Global context is NULL.
The signature component length is NULL.
The signature component length is invalid.
Success.