Revision control

Copy as Markdown

Other Tools

/*
* This file was automatically generated by {{ script }} on {{ date }}
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_PCURVES_INSTANCE_H_
#define BOTAN_PCURVES_INSTANCE_H_
#include <botan/build.h>
#include <memory>
namespace Botan {
class BigInt;
}
namespace Botan::PCurve {
class PrimeOrderCurve;
class PCurveInstance final {
public:{% for curve in pcurves %}
#if defined(BOTAN_HAS_PCURVES_{{ curve["Name"] | upper }})
static std::shared_ptr<const PrimeOrderCurve> {{ curve["Name"] }}();
#endif
{% endfor %}
#if defined(BOTAN_HAS_PCURVES_GENERIC)
static std::shared_ptr<const PrimeOrderCurve> from_params(const BigInt& p,
const BigInt& a,
const BigInt& b,
const BigInt& base_x,
const BigInt& base_y,
const BigInt& order);
#endif
};
} // namespace Botan::PCurve
#endif