pqc/crypto_sign/rainbowIa-classic/clean/gf.h

21 lines
543 B
C
Raw Normal View History

2019-06-14 14:53:08 +01:00
#ifndef _GF16_H_
#define _GF16_H_
#include "rainbow_config.h"
2019-06-14 14:53:08 +01:00
#include <stdint.h>
/// @file gf16.h
/// @brief Library for arithmetics in GF(16) and GF(256)
///
2019-06-22 17:17:07 +01:00
uint32_t PQCLEAN_RAINBOWIACLASSIC_CLEAN_gf16v_mul_u32(uint32_t a, uint8_t b);
2019-06-14 14:53:08 +01:00
uint8_t PQCLEAN_RAINBOWIACLASSIC_CLEAN_gf16_is_nonzero(uint8_t a);
uint8_t PQCLEAN_RAINBOWIACLASSIC_CLEAN_gf16_inv(uint8_t a);
uint32_t PQCLEAN_RAINBOWIACLASSIC_CLEAN_gf16v_mul_u32_u32(uint32_t a, uint32_t b);
uint8_t PQCLEAN_RAINBOWIACLASSIC_CLEAN_gf16v_reduce_u32(uint32_t a);
2019-06-14 14:53:08 +01:00
#endif // _GF16_H_