Sha2.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * Sha2.h
8  *
9  ****/
10 
11 #pragma once
12 
13 #include "HashApi/sha2.h"
14 #include "HashEngine.h"
15 #include "HashContext.h"
16 #include "HmacContext.h"
17 
18 namespace Crypto
19 {
24 
25 /*
26  * Hash contexts
27  */
28 
33 
34 /*
35  * HMAC contexts
36  */
37 
42 
43 } // namespace Crypto
Class template for a Hash implementation 'Context'.
Definition: HashContext.h:23
HMAC class template.
Definition: HmacContext.h:25
Definition: Blake2s.h:19
CRYPTO_HASH_ENGINE_STD(Md5, md5, MD5_SIZE, MD5_STATESIZE, MD5_BLOCKSIZE)
#define SHA512_STATESIZE
Definition: sha2.h:93
#define SHA256_BLOCKSIZE
Definition: sha2.h:45
#define SHA512_BLOCKSIZE
Definition: sha2.h:94
#define SHA224_SIZE
Definition: sha2.h:23
#define SHA384_SIZE
Definition: sha2.h:65
#define SHA256_STATESIZE
Definition: sha2.h:44
#define SHA256_SIZE
Definition: sha2.h:43
#define SHA224_STATESIZE
Definition: sha2.h:24
#define SHA224_BLOCKSIZE
Definition: sha2.h:25
#define SHA384_STATESIZE
Definition: sha2.h:66
#define SHA512_SIZE
Definition: sha2.h:92
#define SHA384_BLOCKSIZE
Definition: sha2.h:67