Packages
ntru_elixir
0.0.0
libntru wrapper for elixir. NTRU is a post quantom cryptography algorithm.
Current section
Files
Jump to
Current section
Files
libntru/src/arith.h
#ifndef NTRU_ARITH_H
#define NTRU_ARITH_H
#include <stdint.h>
/**
* @brief logarithm
*
* Returns floor(log(n)).
*
* @param n
* @return
*/
uint8_t ntru_log2(uint16_t n);
#endif /* NTRU_ARITH_H */