2019-09-09 12:40:40 +01:00
|
|
|
#ifndef _GF16_H_
|
|
|
|
#define _GF16_H_
|
|
|
|
|
|
|
|
#include "rainbow_config.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/// @file gf16.h
|
|
|
|
/// @brief Library for arithmetics in GF(16) and GF(256)
|
|
|
|
///
|
|
|
|
|
2019-09-24 12:21:05 +01:00
|
|
|
uint8_t PQCLEAN_RAINBOWVCCYCLIC_CLEAN_gf16_mul(uint8_t a, uint8_t b);
|
2019-09-09 12:40:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
uint8_t PQCLEAN_RAINBOWVCCYCLIC_CLEAN_gf256_is_nonzero(uint8_t a);
|
|
|
|
uint8_t PQCLEAN_RAINBOWVCCYCLIC_CLEAN_gf256_inv(uint8_t a);
|
2019-09-24 12:21:05 +01:00
|
|
|
uint8_t PQCLEAN_RAINBOWVCCYCLIC_CLEAN_gf256_mul(uint8_t a, uint8_t b);
|
2019-09-09 12:40:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif // _GF16_H_
|