Final

Synopsis

#include "fmciphobj.h"
int (*Final)(struct
HashObj * ctx,
unsigned char * hashVal,
unsigned int length,
unsigned int * plength
);  

Description

Final uses the object to finish a hash operation.

If hashVal is NULL, no operation is performed, but the length that would be output is returned in plength.

Parameters

Parameter

Description

ctx IN/OUT object to modify
hashVal

OUT where to place hash or NULL for length prediction

length

IN length of message

plength

OUT number of bytes (actually or potentially) returned in hashVal

Return Value

See CiphObjStat in cipherr.h