Software APIs
Data Fields
sigverify_rsa_key Struct Reference

An RSA public key with exponent 65537. More...

#include <sw/device/silicon_creator/lib/sigverify/rsa_key.h>

Data Fields

sigverify_rsa_buffer_t n
 Modulus, a kSigVerifyRsaNumWords base 2^32 digit integer, little-endian.
 
uint32_t n0_inv [8]
 Negative of the multiplicative inverse of n modulo 2^256, little-endian. More...
 

Detailed Description

An RSA public key with exponent 65537.

Definition at line 44 of file rsa_key.h.

Field Documentation

◆ n

sigverify_rsa_buffer_t sigverify_rsa_key::n

Modulus, a kSigVerifyRsaNumWords base 2^32 digit integer, little-endian.

Definition at line 48 of file rsa_key.h.

◆ n0_inv

uint32_t sigverify_rsa_key::n0_inv[8]

Negative of the multiplicative inverse of n modulo 2^256, little-endian.

Calculations performed on OTBN (word size: 256 bits) use the whole array while calculations performed on Ibex (word size: 32 bits) use only the first word, which is equal to -n^-1 mod 2^32.

Definition at line 56 of file rsa_key.h.