#include "beecrypt/mp.h"
#include <iostream>
Go to the source code of this file.
Data Structures | |
struct | mpnumber |
Functions | |
BEECRYPTAPI std::ostream & | operator<< (std::ostream &, const mpnumber &) |
BEECRYPTAPI void | mpnzero (mpnumber *) |
BEECRYPTAPI void | mpnsize (mpnumber *, size_t) |
BEECRYPTAPI void | mpninit (mpnumber *, size_t, const mpw *) |
BEECRYPTAPI void | mpnfree (mpnumber *) |
BEECRYPTAPI void | mpncopy (mpnumber *, const mpnumber *) |
BEECRYPTAPI void | mpnwipe (mpnumber *) |
BEECRYPTAPI void | mpnset (mpnumber *, size_t, const mpw *) |
BEECRYPTAPI void | mpnsetw (mpnumber *, mpw) |
BEECRYPTAPI int | mpnsetbin (mpnumber *, const byte *, size_t) |
BEECRYPTAPI int | mpnsethex (mpnumber *, const char *) |
BEECRYPTAPI int | mpninv (mpnumber *, const mpnumber *, const mpnumber *) |
BEECRYPTAPI size_t | mpntrbits (mpnumber *, size_t) |
Truncate the mpnumber to the specified number of (least significant) bits. | |
BEECRYPTAPI size_t | mpnbits (const mpnumber *) |
BEECRYPTAPI size_t mpnbits | ( | const mpnumber * | ) |
BEECRYPTAPI void mpnfree | ( | mpnumber * | ) |
BEECRYPTAPI int mpnsethex | ( | mpnumber * | , | |
const char * | ||||
) |
BEECRYPTAPI void mpnsize | ( | mpnumber * | , | |
size_t | ||||
) |
BEECRYPTAPI size_t mpntrbits | ( | mpnumber * | , | |
size_t | ||||
) |
Truncate the mpnumber to the specified number of (least significant) bits.
BEECRYPTAPI void mpnwipe | ( | mpnumber * | ) |
BEECRYPTAPI void mpnzero | ( | mpnumber * | ) |
BEECRYPTAPI std::ostream& operator<< | ( | std::ostream & | , | |
const mpnumber & | ||||
) |