Botan  2.6.0
Crypto and TLS for C++11
Namespaces | Functions | Variables
mp_core.h File Reference
#include <botan/types.h>

Go to the source code of this file.

Namespaces

 Botan
 

Functions

void Botan::bigint_add2 (word x[], size_t x_size, const word y[], size_t y_size)
 
word Botan::bigint_add2_nc (word x[], size_t x_size, const word y[], size_t y_size)
 
void Botan::bigint_add3 (word z[], const word x[], size_t x_size, const word y[], size_t y_size)
 
word Botan::bigint_add3_nc (word z[], const word x[], size_t x_size, const word y[], size_t y_size)
 
int32_t Botan::bigint_cmp (const word x[], size_t x_size, const word y[], size_t y_size)
 
void Botan::bigint_cnd_abs (word cnd, word x[], size_t size)
 
word Botan::bigint_cnd_add (word cnd, word x[], const word y[], size_t size)
 
word Botan::bigint_cnd_sub (word cnd, word x[], const word y[], size_t size)
 
void Botan::bigint_cnd_swap (word cnd, word x[], word y[], size_t size)
 
void Botan::bigint_comba_mul16 (word z[32], const word x[16], const word y[16])
 
void Botan::bigint_comba_mul4 (word z[8], const word x[4], const word y[4])
 
void Botan::bigint_comba_mul6 (word z[12], const word x[6], const word y[6])
 
void Botan::bigint_comba_mul8 (word z[16], const word x[8], const word y[8])
 
void Botan::bigint_comba_mul9 (word z[18], const word x[9], const word y[9])
 
void Botan::bigint_comba_sqr16 (word z[32], const word x[16])
 
void Botan::bigint_comba_sqr4 (word z[8], const word x[4])
 
void Botan::bigint_comba_sqr6 (word z[12], const word x[6])
 
void Botan::bigint_comba_sqr8 (word z[16], const word x[8])
 
void Botan::bigint_comba_sqr9 (word z[18], const word x[9])
 
word Botan::bigint_divop (word n1, word n0, word d)
 
void Botan::bigint_linmul2 (word x[], size_t x_size, word y)
 
void Botan::bigint_linmul3 (word z[], const word x[], size_t x_size, word y)
 
word Botan::bigint_modop (word n1, word n0, word d)
 
void Botan::bigint_monty_redc (word z[], const word p[], size_t p_size, word p_dash, word workspace[], size_t ws_size)
 
void Botan::bigint_mul (word z[], size_t z_size, const word x[], size_t x_size, size_t x_sw, const word y[], size_t y_size, size_t y_sw, word workspace[], size_t ws_size)
 
void Botan::bigint_shl1 (word x[], size_t x_size, size_t word_shift, size_t bit_shift)
 
void Botan::bigint_shl2 (word y[], const word x[], size_t x_size, size_t word_shift, size_t bit_shift)
 
void Botan::bigint_shr1 (word x[], size_t x_size, size_t word_shift, size_t bit_shift)
 
void Botan::bigint_shr2 (word y[], const word x[], size_t x_size, size_t word_shift, size_t bit_shift)
 
void Botan::bigint_sqr (word z[], size_t z_size, const word x[], size_t x_size, size_t x_sw, word workspace[], size_t ws_size)
 
word Botan::bigint_sub2 (word x[], size_t x_size, const word y[], size_t y_size)
 
void Botan::bigint_sub2_rev (word x[], const word y[], size_t y_size)
 
word Botan::bigint_sub3 (word z[], const word x[], size_t x_size, const word y[], size_t y_size)
 

Variables

const word Botan::MP_WORD_MASK = ~static_cast<word>(0)
 
const word Botan::MP_WORD_MAX = MP_WORD_MASK
 
const word Botan::MP_WORD_TOP_BIT = static_cast<word>(1) << (8*sizeof(word) - 1)