mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
176 B
C
11 lines
176 B
C
6 years ago
|
#include "params.h"
|
||
|
#include "rq.h"
|
||
|
|
||
|
void rq_round3(modq *h,const modq *f)
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
for (i = 0;i < p;++i)
|
||
|
h[i] = ((21846 * (f[i] + 2295) + 32768) >> 16) * 3 - 2295;
|
||
|
}
|