fpe2scalar.hpp 537 B

12345678910111213141516
  1. #ifndef __DECOMPOSITION_HPP
  2. #define __DECOMPOSITION_HPP
  3. #include "bgn.hpp"
  4. #include <sstream>
  5. #include "scalar1024.hpp"
  6. void fpe2scalar(scalar_t rop, const fpe_t op); //choix d'utiliser des procédures dans le main pour lisibilté
  7. mpz_class fpe2mpz(const fpe_t);
  8. unsigned long long mpz2ull (mpz_class n);
  9. mpz_class ull2mpz (unsigned long long n);
  10. mpz_class scalar2mpz(const scalar_t op);
  11. void mpz2scalar1024(scalar1024 rop, mpz_class field_element);
  12. mpz_class scalar1024_2mpz( const scalar1024 op);
  13. #endif /* __DECOMPOSITION_HPP */