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
#define SHA512_SIZE
Definition: sha2.h:92
HashContext< Sha512Engine > Sha512
Definition: Sha2.h:32
#define SHA512_BLOCKSIZE
Definition: sha2.h:94
#define SHA256_STATESIZE
Definition: sha2.h:44
HashContext< Sha384Engine > Sha384
Definition: Sha2.h:31
#define SHA512_STATESIZE
Definition: sha2.h:93
#define SHA256_SIZE
Definition: sha2.h:43
Class template for a Hash implementation &#39;Context&#39;.
Definition: HashContext.h:22
#define SHA224_SIZE
Definition: sha2.h:23
#define SHA384_STATESIZE
Definition: sha2.h:66
HashContext< Sha224Engine > Sha224
Definition: Sha2.h:29
CRYPTO_HASH_ENGINE_STD(Md5, md5, MD5_SIZE, MD5_STATESIZE, MD5_BLOCKSIZE)
#define SHA384_SIZE
Definition: sha2.h:65
Definition: Blake2s.h:18
#define SHA224_BLOCKSIZE
Definition: sha2.h:25
#define SHA384_BLOCKSIZE
Definition: sha2.h:67
#define SHA256_BLOCKSIZE
Definition: sha2.h:45
HMAC class template.
Definition: HmacContext.h:24
HashContext< Sha256Engine > Sha256
Definition: Sha2.h:30
#define SHA224_STATESIZE
Definition: sha2.h:24