UnloadParam
Synopsis
#include "fmciphobj.h"
int (*UnloadParam)(struct
HashObj * ctx,
unsigned char * parameters,
unsigned int paramlen,
unsigned int * plen
);
Description
HashObjUnloadParam queries a Hash Object state and returns certain information.
Writes the internal parameters of the hash object to a byte array. If the internal data contains integers, the output byte array will contain big endian values for these integers.
See the particular Hash Class implementation description for details on valid parameter types and their values.
See LoadParam.
Parameters
Parameter |
Description |
---|---|
ctx
|
IN object to query |
parameters
|
OUT hash class specific information (depends on pType) |
paramlen
|
IN length (in bytes) of parameters |
plen
|
OUT where to store the number of bytes returned in parameters (may be * NULL) |
Return Value
See CiphObjStat in cipherr.h