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

uint8_t operationMode; Operation Modes of the driver
uint8_t initFlags; Flags for the rsa initialization
Module
RSA
Description
Initialization structure used for RSA.
1.7.6.7 DRV_RSA_OPERATION_MODES Enumeration
File
rsa.h
Syntax
typedef enum {
DRV_RSA_OPERATION_MODE_NONE = (1 << 0),
DRV_RSA_OPERATION_MODE_ENCRYPT = (1 << 1),
DRV_RSA_OPERATION_MODE_DECRYPT = (1 << 2)
} DRV_RSA_OPERATION_MODES;
Members
Members Description
DRV_RSA_OPERATION_MODE_NONE = (1 << 0) RS232 Mode (Asynchronous Mode of Operation)
DRV_RSA_OPERATION_MODE_ENCRYPT = (1 << 1) RS232 Mode (Asynchronous Mode of Operation)
DRV_RSA_OPERATION_MODE_DECRYPT = (1 << 2) RS485 Mode (Asynchronous Mode of Operation)
Module
RSA
Description
Enumeration describing modes of operation used with RSA
1.7.6.8 DRV_RSA_PAD_TYPE Enumeration
File
rsa.h
Syntax
typedef enum {
DRV_RSA_PAD_DEFAULT,
DRV_RSA_PAD_PKCS1
} DRV_RSA_PAD_TYPE;
Members
Members Description
DRV_RSA_PAD_DEFAULT Use default padding
DRV_RSA_PAD_PKCS1 Use the PKCS1 padding format
Module
RSA
Description
Enumeration describing the padding type that should be used with a message being encrypted
1.7 Library Interface MLA - Crypto Library Help RSA
107

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