Botan 3.11.0
Crypto and TLS for C&
ec_point_format.h
Go to the documentation of this file.
1/*
2* (C) 2025 Jack Lloyd
3*
4* Botan is released under the Simplified BSD License (see license.txt)
5*/
6
7#ifndef BOTAN_EC_POINT_FORMAT_H_
8#define BOTAN_EC_POINT_FORMAT_H_
9
10#include <botan/types.h>
11
12/*
13* This header is public, but avoid including it directly. Instead
14* get the contents via ec_group.h.
15*/
16
17namespace Botan {
18
19/**
20* This enum indicates the method used to encode the EC parameters
21*
22* @warning All support for explicit or implicit domain encodings
23* will be removed in Botan4. Only named curves will be supported.
24*
25* TODO(Botan4) remove this enum
26*/
36
37enum class EC_Point_Format : uint8_t {
40
41 UNCOMPRESSED BOTAN_DEPRECATED("Use EC_Point_Format::Uncompressed") = Uncompressed,
42 COMPRESSED BOTAN_DEPRECATED("Use EC_Point_Format::Compressed") = Compressed,
43
44 Hybrid BOTAN_DEPRECATED("Hybrid point encoding is deprecated") = 2,
45 HYBRID BOTAN_DEPRECATED("Hybrid point encoding is deprecated") = 2
46};
47
48} // namespace Botan
49
50#endif
#define BOTAN_DEPRECATED(msg)
Definition api.h:73