Botan
3.7.1
Crypto and TLS for C&
src
lib
pubkey
ec_group
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
19
namespace
Botan
{
20
21
enum 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
BOTAN_DEPRECATED
#define BOTAN_DEPRECATED(msg)
Definition
api.h:59
Botan
Definition
alg_id.cpp:13
Botan::EC_Point_Format
EC_Point_Format
Definition
ec_point_format.h:21
Botan::EC_Point_Format::HYBRID
@ HYBRID
Botan::EC_Point_Format::Compressed
@ Compressed
Botan::EC_Point_Format::COMPRESSED
@ COMPRESSED
Botan::EC_Point_Format::UNCOMPRESSED
@ UNCOMPRESSED
Botan::EC_Point_Format::Uncompressed
@ Uncompressed
Botan::EC_Point_Format::Hybrid
@ Hybrid
Generated by
1.12.0