LoadParam
Synopsis
#include "fmciphobj.h"
int (*LoadParam)(struct
HashObj * ctx,
const unsigned char * parameters,
unsigned int paramlen
);
Description
HashObjLoadParam directly modifies a Hash Object state.
Loads the internal parameters of the hash object from a byte array. If the internal data contains integers, the input byte array should contain big endian values for these integers.
See the particular Hash Class implementation description for details on valid parameter types and their values.
See UnloadParam
Parameters
Parameter |
Description |
---|---|
ctx
|
IN object to query |
parameters
|
IN hash class specific information |
paramlen
|
IN length (in bytes) of parameters |
ctx: IN/OUT object to modify
Return Value
See CiphObjStat in cipherr.h