Botan 3.2.0
Crypto and TLS for C&
Namespaces | Functions | Variables
mp_core.h File Reference

Internal Header. More...

#include <botan/exceptn.h>
#include <botan/mem_ops.h>
#include <botan/types.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/mp_asmi.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Functions

BOTAN_FUZZER_API void Botan::basecase_mul (word z[], size_t z_size, const word x[], size_t x_size, const word y[], size_t y_size)
 
BOTAN_FUZZER_API void Botan::basecase_sqr (word z[], size_t z_size, const word x[], size_t x_size)
 
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_add (word cnd, word x[], word x_size, const word y[], size_t y_size)
 
void Botan::bigint_cnd_add_or_sub (CT::Mask< word > mask, word x[], const word y[], size_t size)
 
word Botan::bigint_cnd_addsub (CT::Mask< word > mask, word x[], const word y[], const word z[], size_t size)
 
word Botan::bigint_cnd_sub (word cnd, word x[], const word y[], size_t size)
 
word Botan::bigint_cnd_sub (word cnd, word x[], size_t x_size, const word y[], size_t y_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_mul24 (word z[48], const word x[24], const word y[24])
 
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_sqr24 (word z[48], const word x[24])
 
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])
 
CT::Mask< word > Botan::bigint_ct_is_eq (const word x[], size_t x_size, const word y[], size_t y_size)
 
CT::Mask< word > Botan::bigint_ct_is_lt (const word x[], size_t x_size, const word y[], size_t y_size, bool lt_or_equal=false)
 
word Botan::bigint_divop (word n1, word n0, word d)
 
word 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)
 
void Botan::bigint_mod_sub (word t[], const word s[], const word mod[], size_t mod_sw, word ws[])
 
template<size_t N>
void Botan::bigint_mod_sub_n (word t[], const word s[], const word mod[], word ws[])
 
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 ws[], size_t ws_size)
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_16 (word z[32], const word p[16], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_24 (word z[48], const word p[24], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_32 (word z[64], const word p[32], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_4 (word z[8], const word p[4], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_6 (word z[12], const word p[6], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_8 (word z[16], const word p[8], word p_dash, word ws[])
 
BOTAN_FUZZER_API void Botan::bigint_monty_redc_generic (word z[], size_t z_size, const word p[], size_t p_size, word p_dash, word ws[])
 
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 x_words, 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)
 
CT::Mask< word > Botan::bigint_sub_abs (word z[], const word x[], const word y[], size_t N, word ws[])
 
int32_t Botan::bigint_sub_abs (word z[], const word x[], size_t x_size, const word y[], size_t y_size)
 

Variables

const word Botan::MP_WORD_MAX = ~static_cast<word>(0)
 

Detailed Description

Internal Header.

Definition in file mp_core.h.