Home | History | Annotate | Download | only in libtommath

Lines Matching refs:Unsigned

347 ISO C ``unsigned long'' data type and each digit is $28-$bits long.  The mp\_digit type can be configured to suit other
643 an ISO C style ``unsigned long'' constant. The reason for both functions is efficiency. Setting a single digit is quick but the
683 To set a constant that is the size of an ISO C ``unsigned long'' and larger than a single digit the following function
688 int mp_set_int (mp_int * a, unsigned long b);
695 To get the ``unsigned long'' copy of an mp\_int the following function can be used.
699 unsigned long mp_get_int (mp_int * a);
743 int mp_init_set_int (mp_int * a, unsigned long b);
807 \subsection{Unsigned comparison}
809 An unsigned comparison considers only the digits themselves and not the associated \textit{sign} flag of the
1662 typedef int ltm_prime_callback(unsigned char *dst, int len, void *dat);
1741 This will return the number of bytes (octets) required to store the unsigned copy of the integer $a$.
1745 int mp_to_unsigned_bin(mp_int *a, unsigned char *b);
1752 int mp_read_unsigned_bin(mp_int *a, unsigned char *b, int c);
1754 This will read in an unsigned big--endian array of bytes (octets) from $b$ of length $c$ into $a$. The resulting
1762 int mp_read_signed_bin(mp_int *a, unsigned char *b, int c);
1763 int mp_to_signed_bin(mp_int *a, unsigned char *b);
1765 They operate essentially the same as the unsigned copies except they prefix the data with zero or non--zero