Vault 7: Projects

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

1.4 Using the Library
This topic describes the basic architecture of the Crypto Hash Library and provides information and examples on how to use
it.
Description
This topic describes the basic architecture of the Crypto Hash Library and provides information and examples on how to use
it.
Interface Header File
: crypto_hash.h
The interface to the Crypto Hash library is defined in the "crypto_hash.h" header file. Any C language source (.c) file that
uses the Crypto Hash library should include "crypto_hash.h".
1.4.1 Abstraction Model
This library provides the low-level abstraction of the Crypto Hash module on the Microchip family of microcontrollers with a
convenient C language interface. This topic describes how that abstraction is modeled in the software and introduces the
library interface.
Description
Cryptographic Hash Software Abstraction Block Diagram
In the crypto hash module, the user will perform a cryptographic hash algorithm on a message of arbitrary length to produce
a fixed-length hash digest.
1.4.2 Library Overview
Provides an overview of library functionality.
Description
The library interface routines are divided into various sub-sections, each of which addresses one of the blocks or the overall
operation of the Crypto Hash module.
Library Interface Section Description
MD5 Provides an implementation of the MD5 cryptographic hash function.
Note that MD5
is not
recommended
for new designs.
SHA-1 Provides an implementation of the SHA-1 cryptographic hash function.
Note that SHA-1
is not
recommended
for new designs.
SHA-256 Provides implementations of the SHA-224 and SHA-256 cryptographic
hash functions.
SHA-512 Provides implementations of the SHA-384 and SHA-512 cryptographic
hash functions.
1.4 Using the Library MLA - Crypto Hash Library Help How the Library Works
7
1

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh