The RSA driver instance data structure. A pointer to an instance data structure is passed around by functions to refer to a specific driver instance.
Declaration
typedef struct
{
u32 BaseAddress,
u8 * Mod,
u8 * ModExt,
u8 * ModExpo,
u8 EncDec,
u32 SizeInWords,
XSecure_RsaState
RsaState
} XSecure_Rsa;
Member | Description |
---|---|
BaseAddress | Device Base Address |
Mod | Modulus |
ModExt | Precalc. R sq. mod N |
ModExpo | Exponent |
EncDec | 0 for signature verification and 1 for generation |
SizeInWords | |
RsaState | RSA key size in words |