cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
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
11
12#ifndef KECCAK256_H
13#define KECCAK256_H
14
15/******************************************************************
16 * 1. Included files
17 ******************************************************************/
18
19#include <stdint.h>
20#include <stddef.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/******************************************************************
27 * 2. Public API
28 ******************************************************************/
29
40void keccak256(const uint8_t *input, size_t length, uint8_t digest[32]);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif // KECCAK256_H
void keccak256(const uint8_t *input, size_t length, uint8_t digest[32])
Compute the Keccak-256 digest of a buffer.