ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | List of all members
gmp_num Class Reference
Inheritance diagram for gmp_num:
Inheritance graph
[legend]
Collaboration diagram for gmp_num:
Collaboration graph
[legend]

Public Member Functions

 gmp_num (prime_field *fld)
 
 gmp_num (prime_field *fld, mpz_t src)
 
void set (num *src)
 
void set_si (int32_t src)
 
void set_add (num *a, num *b)
 
void set_mul (num *a, num *b)
 
mpz_t * get_val ()
 
void export_to_bytes (uint8_t *buf, uint32_t field_size)
 
void import_from_bytes (uint8_t *buf, uint32_t field_size)
 
void set_rnd (uint32_t bits)
 
void print ()
 

The documentation for this class was generated from the following files: