# 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
…
- 97
- 98
- 99
- 100
- 101
…
- 119
- 120

Description
This section describes the Application Programming Interface (API) functions of the XTEA module.
1.7.4.1 XTEA_BLOCK_SIZE Macro
File
xtea.h
Syntax
#define XTEA_BLOCK_SIZE 8ul
Module
XTEA
Description
The XTEA algorithm block size
1.7.4.2 XTEA_Configure Function
File
xtea.h
Syntax
void XTEA_Configure(uint8_t iterations);
Module
XTEA
Side Effects
None
Returns
None
Description
Configures the XTEA module.
None
Remarks
This implementation is not thread-safe. If you are using XTEA for multiple applications in an preemptive operating system
you must use the same number of iterations for all applications to avoid error.
Preconditions
None
Parameters
Parameters Description
iterations The number of iterations of the XTEA algorithm that the
encrypt/decrypt functions should perform for each block
encryption/decryption.
Function
void XTEA_Configure (uint8_t iterations)
1.7 Library Interface MLA - Crypto Library Help XTEA
99

- 1
- 2
…
- 97
- 98
- 99
- 100
- 101
…
- 119
- 120