Botan 2.19.5 Crypto and TLS for C&

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[4], word p_dash, word ws[]);
22 void bigint_monty_redc_6(word z[], const word p[6], word p_dash, word ws[]);
23 void bigint_monty_redc_8(word z[], const word p[8], word p_dash, word ws[]);
24 void bigint_monty_redc_16(word z[], const word p[16], word p_dash, word ws[]);
25 void bigint_monty_redc_24(word z[], const word p[24], word p_dash, word ws[]);
26 void bigint_monty_redc_32(word z[], const word p[32], word p_dash, word ws[]);
27
28
29}
30
31#endif
Botan
Definition: alg_id.cpp:13
Botan::bigint_monty_redc_4
void bigint_monty_redc_4(word z[], const word p[4], word p_dash, word ws[])
Definition: mp_monty_n.cpp:15
Botan::bigint_monty_redc_32
void bigint_monty_redc_32(word z[], const word p[32], word p_dash, word ws[])
Definition: mp_monty_n.cpp:1387
Botan::bigint_monty_redc_16
void bigint_monty_redc_16(word z[], const word p[16], word p_dash, word ws[])
Definition: mp_monty_n.cpp:293
Botan::bigint_monty_redc_6
void bigint_monty_redc_6(word z[], const word p[6], word p_dash, word ws[])
Definition: mp_monty_n.cpp:71
Botan::bigint_monty_redc_8
void bigint_monty_redc_8(word z[], const word p[8], word p_dash, word ws[])
Definition: mp_monty_n.cpp:161
Botan::bigint_monty_redc_24
void bigint_monty_redc_24(word z[], const word p[24], word p_dash, word ws[])
Definition: mp_monty_n.cpp:656