Vault 7: Projects

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

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

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh