|
DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
|
#include "pch.h"#include "System/Security/Cryptography/HMACSHA256.h"#include "System/ArgumentNullException.h"#include <cstring>Go to the source code of this file.
Namespaces | |
| namespace | DotNetDupe |
| namespace | DotNetDupe::System |
| namespace | DotNetDupe::System::Security |
| namespace | DotNetDupe::System::Security::Cryptography |
Macros | |
| #define | SHA256_F1(x) |
| #define | SHA256_F2(x) |
| #define | SHA256_F3(x) |
| #define | SHA256_F4(x) |
| #define | SHA2_CH(x, y, z) |
| #define | SHA2_MAJ(x, y, z) |
| #define | SHA2_PACK32(str, x) |
| #define | SHA2_ROTR(x, n) |
| #define | SHA2_SHFR(x, n) |
| #define | SHA2_UNPACK32(x, str) |
Functions | |
| static void | DotNetDupe::System::Security::Cryptography::ComputeHmacDigests (const unsigned char *k_ipad, const unsigned char *k_opad, const Array< char > &buffer, unsigned char *outer_digest) |
| static void | DotNetDupe::System::Security::Cryptography::PrepareHmacPads (const Array< char > &key, unsigned char *k_ipad, unsigned char *k_opad) |
Variables | |
| static const unsigned int | DotNetDupe::System::Security::Cryptography::sha256_k [64] |
| #define SHA256_F1 | ( | x | ) |
Definition at line 16 of file HMACSHA256.cpp.
| #define SHA256_F2 | ( | x | ) |
Definition at line 17 of file HMACSHA256.cpp.
| #define SHA256_F3 | ( | x | ) |
Definition at line 18 of file HMACSHA256.cpp.
| #define SHA256_F4 | ( | x | ) |
Definition at line 19 of file HMACSHA256.cpp.
| #define SHA2_CH | ( | x, | |
| y, | |||
| z ) |
Definition at line 14 of file HMACSHA256.cpp.
| #define SHA2_MAJ | ( | x, | |
| y, | |||
| z ) |
Definition at line 15 of file HMACSHA256.cpp.
| #define SHA2_PACK32 | ( | str, | |
| x ) |
Definition at line 29 of file HMACSHA256.cpp.
| #define SHA2_ROTR | ( | x, | |
| n ) |
Definition at line 13 of file HMACSHA256.cpp.
| #define SHA2_SHFR | ( | x, | |
| n ) |
Definition at line 12 of file HMACSHA256.cpp.
| #define SHA2_UNPACK32 | ( | x, | |
| str ) |
Definition at line 21 of file HMACSHA256.cpp.