Botan 3.7.1
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* TODO(Botan4): Move EC_Point_Format to ec_group.h and delete this file
17*/
18
19namespace Botan {
20
21enum class EC_Point_Format {
22 Uncompressed = 0,
23 Compressed = 1,
24
25 UNCOMPRESSED BOTAN_DEPRECATED("Use EC_Point_Format::Uncompressed") = Uncompressed,
26 COMPRESSED BOTAN_DEPRECATED("Use EC_Point_Format::Compressed") = Compressed,
27
28 Hybrid BOTAN_DEPRECATED("Hybrid point encoding is deprecated") = 2,
29 HYBRID BOTAN_DEPRECATED("Hybrid point encoding is deprecated") = 2
30};
31
32} // namespace Botan
33
34#endif
#define BOTAN_DEPRECATED(msg)
Definition api.h:59