cryptnox-sdk-esp32
1.0.0
ESP32 SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
keccak256.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: LGPL-3.0-or-later
3
* Copyright (c) 2026 Cryptnox SA
4
*/
5
6
#pragma once
7
8
#include <stdint.h>
9
#include <stddef.h>
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
/* Ethereum uses the original Keccak-256 (0x01 padding), NOT SHA3-256 (0x06). */
16
void
keccak256
(
const
uint8_t *input,
size_t
length, uint8_t digest[32]);
17
18
#ifdef __cplusplus
19
}
20
#endif
keccak256
void keccak256(const uint8_t *input, size_t length, uint8_t digest[32])
Definition
keccak256.cpp:85
examples
UsdcSigning
main
keccak256.h
Generated by
1.15.0