Config (Obsolete)
This function can be used to restore the configuration of a cipher object. It is used in conjunction with the Status function.
Synopsis
#include “fmciphobj.h”
int (*Config)(struct CipherObj * ctx, const void * parameters, unsigned int length);
Parameter | Description |
---|---|
ctx
|
The address of a cipher object instance. |
parameters
|
The address of the buffer that contains the information returned from the Status function. |
length
|
Number of bytes in the parameters buffer. |
Return Value
0: Operation was successful
Otherwise: There was an error.
Comments
This function is now obsolete, and is not implemented by any of the cipher objects.