# 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
…
- 93
- 94
- 95
- 96
- 97
…
- 119
- 120

Functions
Name Description
TDES_RoundKeysCreate Creates a set of round keys from an TDES key to be used in TDES
encryption and decryption of data blocks.
TDES_Encrypt Encrypts a 64-byte block of data using the Triple-DES algorithm.
TDES_Decrypt Decrypts a 64-byte block of data using the Triple-DES algorithm.
Macros
Name Description
TDES_KEY_SIZE Defines the TDES key size in bytes
TDES_BLOCK_SIZE Defines the data block size for the TDES algorithm. The TDES algorithm
uses a fixed 8 byte data block so this is defined as a constant that can be
used to define or measure against the TDES data block size.
Structures
Name Description
TDES_ROUND_KEYS Definition to simplify the creation of a round key buffer for the
TDES_RoundKeysCreate() function.
Description
This section describes the Application Programming Interface (API) functions of the TDES module.
1.7.3.1 TDES_KEY_SIZE Macro
File
tdes.h
Syntax
#define TDES_KEY_SIZE 8
Module
TDES
Description
Defines the TDES key size in bytes
1.7.3.2 TDES_BLOCK_SIZE Macro
File
tdes.h
Syntax
#define TDES_BLOCK_SIZE 8
Module
TDES
Description
Defines the data block size for the TDES algorithm. The TDES algorithm uses a fixed 8 byte data block so this is defined as
a constant that can be used to define or measure against the TDES data block size.
1.7 Library Interface MLA - Crypto Library Help TDES
95

- 1
- 2
…
- 93
- 94
- 95
- 96
- 97
…
- 119
- 120