# 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
…
- 106
- 107
- 108
- 109
- 110
…
- 119
- 120

1.7.6.9 DRV_RSA_PUBLIC_KEY Structure
File
rsa.h
Syntax
typedef struct {
int nLen;
uint8_t* n;
int eLen;
uint8_t* exp;
} DRV_RSA_PUBLIC_KEY;
Members
Members Description
int nLen; key length, in bytes
uint8_t* n; public modulus
int eLen; exponent length, in bytes
uint8_t* exp; public exponent
Module
RSA
Description
Structure describing the format of an RSA public key (used for encryption or verification)
1.7.6.10 DRV_RSA_PRIVATE_KEY_CRT Structure
File
rsa.h
Syntax
typedef struct {
int nLen;
uint8_t* P;
uint8_t* Q;
uint8_t* dP;
uint8_t* dQ;
uint8_t* qInv;
} DRV_RSA_PRIVATE_KEY_CRT;
Members
Members Description
int nLen; key length, in bytes
uint8_t* P; CRT "P" parameter
uint8_t* Q; CRT "Q" parameter
uint8_t* dP; CRT "dP" parameter
uint8_t* dQ; CRT "dQ" parameter
uint8_t* qInv; CRT "qInv" parameter
Module
RSA
Description
Structure describing the format of an RSA private key, in CRT format (used for decryption or signing)
1.7 Library Interface MLA - Crypto Library Help RSA
108

- 1
- 2
…
- 106
- 107
- 108
- 109
- 110
…
- 119
- 120