Lines Matching refs:Functions
75 LibTomMath is a library of source code which provides a series of efficient and carefully written functions for manipulating
160 instructs the system to build all of the functions. This is how LibTomMath used to be packaged. This will give you
281 However, LibTomMath was written with cryptography in mind. It provides essentially all of the functions a cryptosystem
350 All LTM functions that use the mp\_int type will expect a pointer to mp\_int structure. You must allocate memory to
356 The arithmetic functions of the library are all organized to have the same style prototype. That is source operands
365 Another feature of the way the functions have been implemented is that source operands can be destination operands as well.
385 represents the default integer which is zero. If the functions returns MP\_OKAY then the mp\_int is ready to be used
386 by the other LibTomMath functions.
545 \section{Maintenance Functions}
642 small constant assignment functions. The first function is used to set a single digit constant while the second sets
643 an ISO C style ``unsigned long'' constant. The reason for both functions is efficiency. Setting a single digit is quick but the
739 To both initialize and set small constants the following two functions are available.
746 Both functions work like the previous counterparts except they first mp\_init $a$ before setting the values.
964 If this program functions properly it will print out the following.
987 The former will assign twice $a$ to $b$ while the latter will assign half $a$ to $b$. These functions are fast
1090 While AND, OR and XOR operations are not typical ``bignum functions'' they can be useful in several instances. The
1091 three functions are prototyped as follows.
1104 To compute an addition or subtraction the following two functions can be used.
1373 This program will calculate $a^3 \mbox{ mod }b$ if all the functions succeed.
1566 This function is actually a shell around the two internal exponentiation functions. This routine will automatically
1758 previous functions.
1769 \chapter{Algebraic Functions}
1816 \section{Single Digit Functions}
1818 For those using small numbers (\textit{snicker snicker}) there are several ``helper'' functions
1830 functions fairly handy if you have to work with relatively small numbers since you will not have to allocate