23 #ifndef WOLF_CRYPT_GE_448_H 24 #define WOLF_CRYPT_GE_448_H 26 #include <wolfssl/wolfcrypt/settings.h> 30 #include <wolfssl/wolfcrypt/fe_448.h> 46 #define GE448_WORDS 56 47 #elif defined(CURVED448_128BIT) 48 typedef int64_t ge448;
51 typedef int32_t ge448;
52 #define GE448_WORDS 16 62 WOLFSSL_LOCAL
int ge448_compress_key(byte*,
const byte*,
const byte*);
63 WOLFSSL_LOCAL
int ge448_from_bytes_negate_vartime(
ge448_p2 *,
64 const unsigned char *);
66 WOLFSSL_LOCAL
int ge448_double_scalarmult_vartime(
ge448_p2 *,
67 const unsigned char *,
69 const unsigned char *);
70 WOLFSSL_LOCAL
void ge448_scalarmult_base(
ge448_p2 *,
const unsigned char *);
71 WOLFSSL_LOCAL
void sc448_reduce(byte*);
72 WOLFSSL_LOCAL
void sc448_muladd(byte*,
const byte*,
const byte*,
const byte*);
73 WOLFSSL_LOCAL
void ge448_to_bytes(
unsigned char *,
const ge448_p2 *);