digestpp 1.0
C++11 header-only message digest library
Loading...
Searching...
No Matches
sha1_constants.hpp
Go to the documentation of this file.
1/*
2This 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
8namespace digestpp
9{
10
11namespace detail
12{
13
14template<typename T>
16{
17 const static uint32_t K[4];
18};
19
20template<typename T>
21const 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 namespace
Definition ascon.hpp:14
Definition sha1_constants.hpp:16
static const uint32_t K[4]
Definition sha1_constants.hpp:17