Botan 3.5.0
Crypto and TLS for C&
|
#include <mp_asmi.h>
Public Member Functions | |
constexpr void | add (W x) |
constexpr W | extract () |
constexpr W | monty_step (W p0, W p_dash) |
constexpr W | monty_step_pdash1 () |
constexpr void | mul (W x, W y) |
constexpr void | mul_x2 (W x, W y) |
constexpr | word3 () |
Helper for 3-word accumulators
A number of algorithms especially Comba multiplication and Montgomery reduction can take advantage of wide accumulators, which consume inputs via addition with outputs extracted from the low bits.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 645 of file mp_asmi.h.
References Botan::word3_add().
Referenced by Botan::bigint_monty_redc_16(), Botan::bigint_monty_redc_24(), Botan::bigint_monty_redc_32(), Botan::bigint_monty_redc_4(), Botan::bigint_monty_redc_6(), Botan::bigint_monty_redc_8(), and Botan::bigint_monty_redc_generic().
|
inlineconstexpr |
Definition at line 647 of file mp_asmi.h.
Referenced by Botan::bigint_comba_mul16(), Botan::bigint_comba_mul24(), Botan::bigint_comba_mul4(), Botan::bigint_comba_mul6(), Botan::bigint_comba_mul7(), Botan::bigint_comba_mul8(), Botan::bigint_comba_mul9(), Botan::bigint_comba_sqr16(), Botan::bigint_comba_sqr24(), Botan::bigint_comba_sqr4(), Botan::bigint_comba_sqr6(), Botan::bigint_comba_sqr7(), Botan::bigint_comba_sqr8(), Botan::bigint_comba_sqr9(), Botan::bigint_monty_redc_16(), Botan::bigint_monty_redc_24(), Botan::bigint_monty_redc_32(), Botan::bigint_monty_redc_4(), Botan::bigint_monty_redc_6(), Botan::bigint_monty_redc_8(), Botan::bigint_monty_redc_generic(), Botan::comba_mul(), and Botan::comba_sqr().
|
inlineconstexpr |
Definition at line 655 of file mp_asmi.h.
References Botan::word3< W >::mul().
Referenced by Botan::bigint_monty_redc_16(), Botan::bigint_monty_redc_24(), Botan::bigint_monty_redc_32(), Botan::bigint_monty_redc_4(), Botan::bigint_monty_redc_6(), Botan::bigint_monty_redc_8(), and Botan::bigint_monty_redc_generic().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 641 of file mp_asmi.h.
References Botan::word3_muladd().
Referenced by Botan::bigint_comba_mul16(), Botan::bigint_comba_mul24(), Botan::bigint_comba_mul4(), Botan::bigint_comba_mul6(), Botan::bigint_comba_mul7(), Botan::bigint_comba_mul8(), Botan::bigint_comba_mul9(), Botan::bigint_comba_sqr16(), Botan::bigint_comba_sqr24(), Botan::bigint_comba_sqr4(), Botan::bigint_comba_sqr6(), Botan::bigint_comba_sqr7(), Botan::bigint_comba_sqr8(), Botan::bigint_comba_sqr9(), Botan::bigint_monty_redc_16(), Botan::bigint_monty_redc_24(), Botan::bigint_monty_redc_32(), Botan::bigint_monty_redc_4(), Botan::bigint_monty_redc_6(), Botan::bigint_monty_redc_8(), Botan::bigint_monty_redc_generic(), Botan::comba_mul(), Botan::comba_sqr(), and Botan::word3< W >::monty_step().
|
inlineconstexpr |
Definition at line 643 of file mp_asmi.h.
References Botan::word3_muladd_2().
Referenced by Botan::bigint_comba_sqr16(), Botan::bigint_comba_sqr24(), Botan::bigint_comba_sqr4(), Botan::bigint_comba_sqr6(), Botan::bigint_comba_sqr7(), Botan::bigint_comba_sqr8(), and Botan::bigint_comba_sqr9().