pqc/crypto_sign/dilithium-iii/clean/rounding.h

12 lines
290 B
C
Raw Normal View History

2019-01-16 09:15:18 +00:00
#ifndef ROUNDING_H
#define ROUNDING_H
#include <stdint.h>
uint32_t power2round(const uint32_t a, uint32_t *a0);
uint32_t decompose(uint32_t a, uint32_t *a0);
unsigned int make_hint(const uint32_t a, const uint32_t b);
uint32_t use_hint(const uint32_t a, const unsigned int hint);
#endif