Config (Obsolete)

Synopsis

#include “fmciphobj.h”
int (*Config)(struct CipherObj * ctx, const void * parameters, unsigned int length);  

Description

This function can be used to restore the configuration of a cipher object. It is used in conjunction with the Status function.

Parameters

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.