Botan  2.19.1
Crypto and TLS for C++11
mp_monty.h
Go to the documentation of this file.
1 /*
2 * (C) 2018 Jack Lloyd
3 *
4 * Botan is released under the Simplified BSD License (see license.txt)
5 */
6 
7 #ifndef BOTAN_MP_MONTY_H_
8 #define BOTAN_MP_MONTY_H_
9 
10 #include <botan/types.h>
11 
12 namespace Botan {
13 
14 /*
15 * Each of these functions makes the following assumptions:
16 *
17 * z_size >= 2*(p_size + 1)
18 * ws_size >= z_size
19 */
20 
21 void bigint_monty_redc_4(word z[], const word p[], word p_dash, word ws[]);
22 void bigint_monty_redc_6(word z[], const word p[], word p_dash, word ws[]);
23 void bigint_monty_redc_8(word z[], const word p[], word p_dash, word ws[]);
24 void bigint_monty_redc_16(word z[], const word p[], word p_dash, word ws[]);
25 void bigint_monty_redc_24(word z[], const word p[], word p_dash, word ws[]);
26 void bigint_monty_redc_32(word z[], const word p[], word p_dash, word ws[]);
27 
28 
29 }
30 
31 #endif
void bigint_monty_redc_32(word z[], const word p[], word p_dash, word ws[])
void bigint_monty_redc_8(word z[], const word p[], word p_dash, word ws[])
void bigint_monty_redc_6(word z[], const word p[], word p_dash, word ws[])
void bigint_monty_redc_24(word z[], const word p[], word p_dash, word ws[])
void bigint_monty_redc_16(word z[], const word p[], word p_dash, word ws[])
void bigint_monty_redc_4(word z[], const word p[], word p_dash, word ws[])
Definition: alg_id.cpp:13