mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-15 02:21:28 +01:00
13 lines
342 B
C
13 lines
342 B
C
#ifndef CRYPTO_LIBRARY_H
|
|
#define CRYPTO_LIBRARY_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#define STATE_WIDTH 12
|
|
|
|
bool add_constants_and_apply_sbox(uint64_t state[STATE_WIDTH], uint64_t constants[STATE_WIDTH]);
|
|
bool add_constants_and_apply_inv_sbox(uint64_t state[STATE_WIDTH], uint64_t constants[STATE_WIDTH]);
|
|
|
|
#endif //CRYPTO_LIBRARY_H
|