# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- Crypto Library

1 January, 2012

- 1
- 2
…
- 24
- 25
- 26
- 27
- 28
…
- 119
- 120

1.6.6 RSA
This section describes the source files that must be included when building the RSA module.
Description
This section describes the source files that must be included when building the RSA module.
dsPIC-Only Implementation
These files are located in the
crypto/src/rsa/dspic
directory.
File Description
rsa_dspic_abstraction.c Provides a shim layer between the common RSA API and the dsPIC-only module's API.
math.s Provides math routines for this implementation.
math_mod_inv.s Provides math routines to compute a modular inverse.
mont.s Provides routines to perform Montgomery operations to support modular exponentiation and
modular arithmetic.
rsa_crt.s Provides routines for Chinese Remainder Theorem (CRT) operations.
rsa_enc_dec.s Provides routines for encryption and decryption.
Other Implementations
These files are located in the
crypto/src/rsa/other
directory.
File Description
rsa.c Contains all RSA functionality.
The "Other" implementation of the RSA module also depends on several math routines for big integers. The big integer math
library (bigint) is distributed with this crypto library. The following source files must be included in your project when using the
RSA module:
16-bit
The default installation directory for these files is
libraries/bigint/src/16bit
.
File Description
bigint_16bit.c Contains interface functions for bigint math.
bigint_helper_16bit.S. Contains helper functions for the bigint library.
1.6 Building the Library MLA - Crypto Library Help RSA
26

- 1
- 2
…
- 24
- 25
- 26
- 27
- 28
…
- 119
- 120