XSecure_Rsa - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

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;
Table 1. Structure XSecure_Rsa member description
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