go-ethereum/vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h

19 lines
316 B
C
Raw Normal View History

2015-02-28 13:58:37 -06:00
#pragma once
#include "compiler.h"
#include <stdint.h>
2015-04-07 06:17:27 -05:00
#include <stdlib.h>
2015-02-28 13:58:37 -06:00
#ifdef __cplusplus
extern "C" {
#endif
2015-05-05 00:50:04 -05:00
struct ethash_h256;
2015-04-07 06:17:27 -05:00
2015-05-05 00:50:04 -05:00
void SHA3_256(struct ethash_h256 const* ret, uint8_t const* data, size_t size);
void SHA3_512(uint8_t* const ret, uint8_t const* data, size_t size);
2015-02-28 13:58:37 -06:00
#ifdef __cplusplus
}
2015-04-07 06:17:27 -05:00
#endif