19 static void CRYPTOPP_API InitState(HashWordType *state);
20 static void CRYPTOPP_API Transform(word32 *digest,
const word32 *data);
21 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "SHA-1";}
30 #if defined(CRYPTOPP_X86_ASM_AVAILABLE) || defined(CRYPTOPP_X32_ASM_AVAILABLE) || defined(CRYPTOPP_X64_MASM_AVAILABLE) && !defined(CRYPTOPP_DISABLE_SHA_ASM) 31 size_t HashMultipleBlocks(
const word32 *input,
size_t length);
33 static void CRYPTOPP_API InitState(HashWordType *state);
34 static void CRYPTOPP_API Transform(word32 *digest,
const word32 *data);
35 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "SHA-256";}
42 #if defined(CRYPTOPP_X86_ASM_AVAILABLE) || defined(CRYPTOPP_X32_ASM_AVAILABLE) || defined(CRYPTOPP_X64_MASM_AVAILABLE) && !defined(CRYPTOPP_DISABLE_SHA_ASM) 43 size_t HashMultipleBlocks(
const word32 *input,
size_t length);
45 static void CRYPTOPP_API InitState(HashWordType *state);
46 static void CRYPTOPP_API Transform(word32 *digest,
const word32 *data) {SHA256::Transform(digest, data);}
47 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "SHA-224";}
54 static void CRYPTOPP_API InitState(HashWordType *state);
55 static void CRYPTOPP_API Transform(word64 *digest,
const word64 *data);
56 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "SHA-512";}
63 static void CRYPTOPP_API InitState(HashWordType *state);
64 static void CRYPTOPP_API Transform(word64 *digest,
const word64 *data) {SHA512::Transform(digest, data);}
65 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "SHA-384";}
implements the SHA-384 standard
implements the SHA-256 standard
Converts a typename to an enumerated value.
Library configuration file.
implements the SHA-512 standard
Crypto++ library namespace.
implements the SHA-224 standard