digestpp
1.0
C++11 header-only message digest library
Loading...
Searching...
No Matches
algorithm
detail
constants
sha1_constants.hpp
Go to the documentation of this file.
1
/*
2
This code is written by kerukuro and released into public domain.
3
*/
4
5
#ifndef DIGESTPP_PROVIDERS_SHA1_CONSTANTS_HPP
6
#define DIGESTPP_PROVIDERS_SHA1_CONSTANTS_HPP
7
8
namespace
digestpp
9
{
10
11
namespace
detail
12
{
13
14
template
<
typename
T>
15
struct
sha1_constants
16
{
17
const
static
uint32_t
K
[4];
18
};
19
20
template
<
typename
T>
21
const
uint32_t
sha1_constants<T>::K
[4] = {
22
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6
23
};
24
25
}
// namespace detail
26
27
}
// namespace digestpp
28
29
#endif
digestpp
digestpp namespace
Definition
ascon.hpp:14
digestpp::detail::sha1_constants
Definition
sha1_constants.hpp:16
digestpp::detail::sha1_constants::K
static const uint32_t K[4]
Definition
sha1_constants.hpp:17
Generated by
1.12.0