# 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
- 3
- 4
…
- 24
- 25

Table of Contents
1 Crypto Hash Library 3
1.1 Introduction 4
1.2 Legal Information 5
1.3 Release Notes 6
1.4 Using the Library 7
1.4.1 Abstraction Model 7
1.4.2 Library Overview 7
1.4.3 How the Library Works 8
1.5 Configuring the Library 9
1.5.1 CRYPTO_HASH_CONFIG_SHA_SMALL_RAM Macro 9
1.6 Library Interface 10
1.6.1 MD5 10
1.6.1.1 MD5_CONTEXT Structure 10
1.6.1.2 MD5_Initialize Function 11
1.6.1.3 MD5_DataAdd Function 12
1.6.1.4 MD5_Calculate Function 12
1.6.2 SHA-1 13
1.6.2.1 SHA1_CONTEXT Structure 13
1.6.2.2 SHA1_Initialize Function 14
1.6.2.3 SHA1_DataAdd Function 15
1.6.2.4 SHA1_Calculate Function 16
1.6.3 SHA-256 16
1.6.3.1 SHA256_BIT_LENGTH Enumeration 17
1.6.3.2 SHA256_CONTEXT Structure 17
1.6.3.3 SHA256_Initialize Function 18
1.6.3.4 SHA256_DataAdd Function 19
1.6.3.5 SHA256_Calculate Function 19
1.6.4 SHA-512 20
1.6.4.1 SHA512_BIT_LENGTH Enumeration 21
1.6.4.2 SHA512_CONTEXT Structure 21
1.6.4.3 SHA512_Initialize Function 22
1.6.4.4 SHA512_DataAdd Function 22
1.6.4.5 SHA512_Calculate Function 23
Index 25
MLA - Crypto Hash Library Help
2

- 1
- 2
- 3
- 4
…
- 24
- 25