# Vault 7: Projects

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

### Protego

# MLA -- Crypto Hash Library

20 December, 2013

- 1
- 2
…
- 9
- 10
- 11
- 12
- 13
…
- 24
- 25

uint32_t h1;
uint32_t h2;
uint32_t h3;
uint32_t bytesSoFar;
uint8_t partialBlock[64];
} MD5_CONTEXT;
Members
Members Description
uint32_t h0; Hash state h0
uint32_t h1; Hash state h1
uint32_t h2; Hash state h2
uint32_t h3; Hash state h3
uint32_t bytesSoFar; Total number of bytes hashed so far
uint8_t partialBlock[64]; Beginning of next 64 byte block
Module
MD5
Description
Context storage for a hash operation
1.6.1.2 MD5_Initialize Function
Initializes an MD5 context to perform an MD5 hash.
File
md5.h
Syntax
void MD5_Initialize(MD5_CONTEXT* context);
Module
MD5
Returns
None.
Description
This routine initializes a hash context for the MD5 hash.
Remarks
You must initialize a context before calculating an MD5 hash.
Preconditions
None.
Example
MD5_CONTEXT context;
MD5_Initialize (&context);
Parameters
Parameters Description
context The context to initialize.
Function
void MD5_Initialize( MD5_CONTEXT* context);
1.6 Library Interface MLA - Crypto Hash Library Help MD5
11
1

- 1
- 2
…
- 9
- 10
- 11
- 12
- 13
…
- 24
- 25