Botan 3.14.1
Crypto and TLS for C&
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
13namespace 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*/
20std::unique_ptr<Montgomery_Exponentiation_State> make_monty_exp_avx512(const Montgomery_Int& g, size_t window_bits);
21
22} // namespace Botan
23
24#endif
std::unique_ptr< Montgomery_Exponentiation_State > make_monty_exp_avx512(const Montgomery_Int &g, size_t window_bits)