summaryrefslogtreecommitdiff
path: root/libs/libsignal/src/curve25519/ed25519/additions/generalized/gen_crypto_additions.h
blob: 569ae26f4d06d7318d40f7c2dfbdf40f1d879ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#ifndef __GEN_CRYPTO_ADDITIONS__
#define __GEN_CRYPTO_ADDITIONS__

#include "crypto_uint32.h"
#include "fe.h"
#include "ge.h"

int sc_isreduced(const unsigned char* s);

int point_isreduced(const unsigned char* p);

void ge_p3_add(ge_p3 *r, const ge_p3 *p, const ge_p3 *q);

#endif