File: ecpp.h

package info (click to toggle)
libmath-prime-util-gmp-perl 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,232 kB
  • ctags: 821
  • sloc: ansic: 13,320; perl: 3,471; sh: 159; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MPU_ECPP_H
#define MPU_ECPP_H

#include <gmp.h>
#include "ptypes.h"

extern void init_ecpp_gcds(UV nsize);
extern void destroy_ecpp_gcds(void);

extern int _GMP_ecpp(mpz_t N, char** prooftextptr);
extern int _GMP_ecpp_fps(mpz_t N, char** prooftextptr);

extern int ecpp_check_point(mpz_t x, mpz_t y, mpz_t m, mpz_t q, mpz_t a,
                            mpz_t N, mpz_t t, mpz_t t2);

#endif