Debian Codegraph @

crypto_nPbatch/montgomery25519/ref/nPbatch.c

raw
1 #include "crypto_nP_montgomery25519.h"
2 #include "crypto_nPbatch.h"
3
4 void crypto_nPbatch(unsigned char *nP,
5 const unsigned char *n,
6 const unsigned char *P,
7 long long batch
8 )
9 {
10 while (batch > 0) {
11 crypto_nP_montgomery25519(nP,n,P);
12 nP += 32;
13 n += 32;
14 P += 32;
15 --batch;
16 }
17 }