# 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
…
- 99
- 100
- 101
- 102
- 103
…
- 119
- 120

Returns
None
Description
Decrypts a 64-bit block of data using the XTEA algorithm.
None
Remarks
None
Preconditions
None
Parameters
Parameters Description
handle Provided for compatibility with the block cipher modes of
operations module.
plainText Pointer to the 64-bit output buffer for the decrypted plainText.
cipherText Pointer to a 64-bit block of cipherText to decrypt.
key Pointer to the 128-bit key.
Function
void XTEA_Decrypt(DRV_HANDLE handle, uint32_t* data,
unsigned int dataLength, uint32_t * key)
1.7.5 ARCFOUR
This section describes the Application Programming Interface (API) functions of the ARCFOUR module.
Functions
Name Description
ARCFOUR_CreateSBox Initializes an ARCFOUR encryption stream.
ARCFOUR_Encrypt Encrypts an array of data with the ARCFOUR algorithm.
Macros
Name Description
ARCFOUR_Decrypt Decrypts an array of data with the ARCFOUR algorithm.
Structures
Name Description
ARCFOUR_CONTEXT Encryption Context for ARCFOUR module. The program need not access
any of these values directly, but rather only store the structure and use
ARCFOUR_CreateSBox to set it up.
Description
This section describes the Application Programming Interface (API) functions of the ARCFOUR module.
1.7 Library Interface MLA - Crypto Library Help ARCFOUR
101

- 1
- 2
…
- 99
- 100
- 101
- 102
- 103
…
- 119
- 120