Botan
3.14.1
Crypto and TLS for C&
src
lib
math
numbertheory
monty_exp_avx512
monty_exp_avx512.h
Go to the documentation of this file.
1
/*
2
* (C) 2026 Jack Lloyd
3
*
4
* Botan is released under the Simplified BSD License (see license.txt)
5
*/
6
7
#ifndef BOTAN_MONTY_EXP_AVX512_H_
8
#define BOTAN_MONTY_EXP_AVX512_H_
9
10
#include <botan/internal/monty_exp.h>
11
#include <memory>
12
13
namespace
Botan
{
14
15
/**
16
* Montgomery exponentiation using AVX-512 IFMA
17
*
18
* Returns nullptr if the CPU or the size of the modulus is not supported
19
*/
20
std::unique_ptr<Montgomery_Exponentiation_State>
make_monty_exp_avx512
(
const
Montgomery_Int
& g,
size_t
window_bits);
21
22
}
// namespace Botan
23
24
#endif
Botan::Montgomery_Int
Definition
monty.h:124
Botan
Definition
alg_id.cpp:14
Botan::make_monty_exp_avx512
std::unique_ptr< Montgomery_Exponentiation_State > make_monty_exp_avx512(const Montgomery_Int &g, size_t window_bits)
Definition
monty_exp_avx512.cpp:611
Generated by
1.16.1