MPI
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gcry_mpi" , cprefix = "gcry_mpi_" , free_function = "gcry_mpi_release" ) ]
public class MPI
Content:
Enums:
Static methods:
- public static Error scan (out MPI ret, Format format, uchar[] buffer, size_t buflen, out size_t nscanned)
Creation methods:
Methods:
- public void @set (MPI u)
- public void add (MPI u, MPI v)
- public void add_ui (MPI u, ulong v)
- public void addm (MPI u, MPI v, MPI m)
- public Error aprint (Format format, out uchar[] buffer)
- public void clear_bit (uint n)
- public void clear_flag (Flag flag)
- public void clear_highbit (uint n)
- public int cmp (MPI v)
- public int cmp_ui (ulong v)
- public MPI copy ()
- public void div (MPI q, MPI r, MPI dividend, MPI divisor, int round)
- public int gcd (MPI a, MPI b)
- public int get_flag (Flag flag)
- public uint get_nbits ()
- public int invm (MPI a, MPI m)
- public void lshift (MPI a, uint n)
- public void mod (MPI dividend, MPI divisor)
- public void mul (MPI u, MPI v)
- public void mul_2exp (MPI u, ulong cnt)
- public void mul_ui (MPI u, ulong v)
- public void mulm (MPI u, MPI v, MPI m)
- public void powm (MPI b, MPI e, MPI m)
- public Error print (Format format, uchar[] buffer, size_t buflen, out size_t nwritter)
- public void rshift (MPI a, uint n)
- public void set_bit (uint n)
- public void set_flag (Flag flag)
- public void set_highbit (uint n)
- public void set_ui (ulong u)
- public void sub (MPI u, MPI v)
- public void sub_ui (MPI u, MPI v)
- public void subm (MPI u, MPI v, MPI m)
- public void swap ()
- public int test_bit (uint n)