Software RSA Key Generator

​​​The Software RSA Key Generator is a secure cryptographic library compliant with the X9.31 and FIPS 186-4 standards.



​X9.31 & FIPS 186-4 compliant
Extended key size range
Configurable architecture
ASM-optimized core functions
Hardened against SPA, DPA & DFA


Fully compliant with the X9.31 and FIPS 186-4 standards (probable primes)
Supported RSA key sizes up to 4096 bits
Unlimited prime generation
Optimized for 32-bit RISC architectures
Adjustable trade-off between performance and RAM footprint
Coprocessor accelerated
Less than 20 s to compute a 2048-bit RSA key (coprocessor clocked at 100 MHz)
State-of-the-art countermeasures against SPA, DPA and DFA attacks
Optional support of other public key algorithms (DSA, Diffie-Hellman...)


C and Assembly source codes
Compilation scripts (makefile)
Test vectors
Documents for certifications (FIPS, CC, EMV...):

  • complete list of countermeasures with references
  • implementation details

​​Design specification​​