Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
hash_types.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Complete, auditors: [Nishat], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7/* ethash: C/C++ implementation of Ethash, the Ethereum Proof of Work algorithm.
8 * Copyright 2018-2019 Pawel Bylica.
9 * Licensed under the Apache License, Version 2.0.
10 */
11
12#pragma once
13
14#include <stdint.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20enum {
24 KECCAK256_OUTPUT_WORDS = 4 // 4 * 64 = 256 bits
25};
29
30#ifdef __cplusplus
31}
32#endif
@ KECCAK256_OUTPUT_BYTES
@ KECCAK256_OUTPUT_WORDS
@ KECCAKF1600_ROUNDS
@ KECCAKF1600_LANES
uint64_t word64s[KECCAK256_OUTPUT_WORDS]