CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
keccak.cpp File Reference

Third-party (vendored): Keccak hash implementation from Stephan Brumme's portable hashing library (create.stephan-brumme.com). More...

#include "hash/keccak.h"
#include <endian.h>
Include dependency graph for keccak.cpp:

Go to the source code of this file.

Namespaces

namespace  hash
 Usage: std::string msg = "The quick brown fox jumps over the lazy dog"; std::string key = "key"; std::string md5hmac = hmac< MD5 >(msg, key); std::string sha1hmac = hmac< SHA1 >(msg, key); std::string sha2hmac = hmac<SHA256>(msg, key);.

Macros

#define LITTLEENDIAN(x)

Detailed Description

Third-party (vendored): Keccak hash implementation from Stephan Brumme's portable hashing library (create.stephan-brumme.com).

Kept close to upstream; not part of the CMSDK documentation remediation - see the file's own copyright notice below.

Definition in file keccak.cpp.

Macro Definition Documentation

◆ LITTLEENDIAN

#define LITTLEENDIAN ( x)
Value:
(x)