Botan 2.19.3
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
12namespace 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
21void bigint_monty_redc_4(word z[], const word p[], word p_dash, word ws[]);
22void bigint_monty_redc_6(word z[], const word p[], word p_dash, word ws[]);
23void bigint_monty_redc_8(word z[], const word p[], word p_dash, word ws[]);
24void bigint_monty_redc_16(word z[], const word p[], word p_dash, word ws[]);
25void bigint_monty_redc_24(word z[], const word p[], word p_dash, word ws[]);
26void bigint_monty_redc_32(word z[], const word p[], word p_dash, word ws[]);
27
28
29}
30
31#endif
void bigint_monty_redc_24(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_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[])
void bigint_monty_redc_32(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[])