1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 01:41:40 +00:00
pqcrypto/crypto_sign/dilithium-iii/clean/rounding.h
2019-01-16 13:02:35 +01:00

12 lines
260 B
C

#ifndef ROUNDING_H
#define ROUNDING_H
#include <stdint.h>
uint32_t power2round(uint32_t a, uint32_t *a0);
uint32_t decompose(uint32_t a, uint32_t *a0);
unsigned int make_hint(uint32_t a, uint32_t b);
uint32_t use_hint(uint32_t a, unsigned int hint);
#endif