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