arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/arch/arm64-sve/library.h
arch/arm64-sve/library.hRaw
 1#ifndef CRYPTO_LIBRARY_H
 2#define CRYPTO_LIBRARY_H
 3
 4#include <stdint.h>
 5#include <stdbool.h>
 6
 7#define STATE_WIDTH 12
 8
 9bool add_constants_and_apply_sbox(uint64_t state[STATE_WIDTH], uint64_t constants[STATE_WIDTH]);
10bool add_constants_and_apply_inv_sbox(uint64_t state[STATE_WIDTH], uint64_t constants[STATE_WIDTH]);
11
12#endif //CRYPTO_LIBRARY_H