-rw-r--r-- 536 lib25519-20220726/crypto_dh/x25519/sandy2x/fe51.h raw
/*
This file is adapted from amd64-51/fe25519.h:
'fe25519' is renamed as 'fe51';
All the redundant functions are removed;
New function fe51_nsquare is introduced.
*/
#ifndef FE51_H
#define FE51_H
#include "crypto_uint64.h"
#include "fe51_namespace.h"
typedef struct
{
crypto_uint64 v[5];
}
fe51;
extern void fe51_pack(unsigned char *, const fe51 *);
extern void fe51_mul(fe51 *, const fe51 *, const fe51 *);
extern void fe51_nsquare(fe51 *, const fe51 *, int);
extern void fe51_invert(fe51 *, const fe51 *);
#endif