// C-callable shim around DigiByte Core's OdoCrypt class and the Keccak-p[800] // permutation (both C++ in Core's src/crypto). Mirrors hashodo.h. #include "src/odocrypt.h" #include "src/KeccakP-800-SnP.h" extern "C" void odo_hash(uint32_t key, char* state100) { OdoCrypt(key).Encrypt(state100, state100); KeccakP800_Permute_12rounds(state100); }