Botan
1.11.15
|
#include <botan/internal/hash_utils.h>
#include <botan/sha2_64.h>
Go to the source code of this file.
Namespaces | |
namespace | Botan |
namespace | Botan::SHA2_64 |
Defines | |
#define | SHA2_64_F(A, B, C, D, E, F, G, H, M1, M2, M3, M4, magic) |
Functions | |
Botan::BOTAN_REGISTER_HASH_NAMED_NOARGS (SHA_384,"SHA-384") | |
Botan::BOTAN_REGISTER_HASH_NAMED_NOARGS (SHA_512,"SHA-512") | |
Botan::BOTAN_REGISTER_HASH_NAMED_NOARGS (SHA_512_256,"SHA-512-256") |
#define SHA2_64_F | ( | A, | |
B, | |||
C, | |||
D, | |||
E, | |||
F, | |||
G, | |||
H, | |||
M1, | |||
M2, | |||
M3, | |||
M4, | |||
magic | |||
) |
do { \ H += magic + rho(E, 14, 18, 41) + ((E & F) ^ (~E & G)) + M1; \ D += H; \ H += rho(A, 28, 34, 39) + ((A & B) | ((A | B) & C)); \ M1 += sigma(M2, 19, 61, 6) + M3 + sigma(M4, 1, 8, 7); \ } while(0);
Definition at line 44 of file sha2_64.cpp.