Sming Framework API
()
Toggle main menu visibility
Sming
Components
crypto
include
Crypto
Sha1.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
* Sha1.h
8
*
9
****/
10
11
#pragma once
12
13
#include "
HashApi/sha1.h
"
14
#include "
HashEngine.h
"
15
#include "
HashContext.h
"
16
#include "
HmacContext.h
"
17
18
namespace
Crypto
19
{
20
CRYPTO_HASH_ENGINE_STD
(
Sha1
, sha1,
SHA1_SIZE
,
SHA1_STATESIZE
,
SHA1_BLOCKSIZE
);
21
22
using
Sha1
= HashContext<Sha1Engine>;
23
24
using
HmacSha1
= HmacContext<Sha1>;
25
26
}
// namespace Crypto
HmacContext.h
sha1.h
Crypto::Sha1
HashContext< Sha1Engine > Sha1
Definition:
Sha1.h:30
SHA1_STATESIZE
#define SHA1_STATESIZE
Definition:
sha1.h:20
HashEngine.h
SHA1_SIZE
#define SHA1_SIZE
Definition:
sha1.h:19
HashContext.h
SHA1_BLOCKSIZE
#define SHA1_BLOCKSIZE
Definition:
sha1.h:21
Crypto
Definition:
Blake2s.h:18
Crypto::CRYPTO_HASH_ENGINE_STD
CRYPTO_HASH_ENGINE_STD(Md5, md5, MD5_SIZE, MD5_STATESIZE, MD5_BLOCKSIZE)
Crypto::HmacSha1
HmacContext< Sha1 > HmacSha1
Definition:
Sha1.h:32
Generated by
1.8.17