mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-21 11:20:08 +00:00
10 lines
326 B
C
10 lines
326 B
C
|
extern bn256 p256;
|
||
|
#define P256 (&p256)
|
||
|
|
||
|
void modp256_add (bn256 *X, const bn256 *A, const bn256 *B);
|
||
|
void modp256_sub (bn256 *X, bn256 *A, bn256 *B);
|
||
|
void modp256_reduce (bn256 *X, bn512 *A);
|
||
|
void modp256_mul (bn256 *X, bn256 *A, bn256 *B);
|
||
|
void modp256_sqr (bn256 *X, bn256 *A);
|
||
|
void modp256_inv (bn256 *C, const bn256 *a);
|