Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.6 Library Interface
This section describes the Application Programming Interface (API) functions of the Crypto Hash module.
Refer to each sub-section for a detailed description.
Modules
Name Description
MD5 This section describes the types and functions used for the MD5 crypto
hash module.
Note that MD5
is not recommended
for new designs.
SHA-1 This section describes the types and functions used for the SHA-1 crypto
hash module.
Note that SHA-1
is not recommended
for new designs.
SHA-256 This section describes the types and functions used for the SHA-256
crypto hash module.
SHA-512 This section describes the types and functions used for the SHA-512
crypto hash module.
Description
1.6.1 MD5
This section describes the types and functions used for the MD5 crypto hash module.
Note that MD5
is not recommended
for new designs.
Functions
Name Description
MD5_Initialize Initializes an MD5 context to perform an MD5 hash.
MD5_DataAdd Adds data to a hash being calculated.
MD5_Calculate Finishes calculating a hash.
Structures
Name Description
MD5_CONTEXT Context storage for a hash operation
Description
1.6.1.1 MD5_CONTEXT Structure
File
md5.h
Syntax
typedef struct {
uint32_t h0;
1.6 Library Interface MLA - Crypto Hash Library Help MD5
10
1
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_crypto_hash.pdf