CCF
Loading...
Searching...
No Matches
Namespaces | Macros | Enumerations | Functions
curve.h File Reference
#include "ccf/crypto/md_type.h"
#include "ccf/ds/enum_formatter.h"
#include "ccf/ds/json.h"
#include <fmt/format.h>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Macros

#define FMT_HEADER_ONLY
 

Enumerations

enum class  ccf::crypto::CurveID {
  ccf::crypto::NONE = 0 , ccf::crypto::SECP384R1 , ccf::crypto::SECP256R1 , ccf::crypto::CURVE25519 ,
  ccf::crypto::X25519
}
 

Functions

 ccf::crypto::DECLARE_JSON_ENUM (CurveID, {{CurveID::NONE, "None"}, {CurveID::SECP384R1, "Secp384R1"}, {CurveID::SECP256R1, "Secp256R1"}, {CurveID::CURVE25519, "Curve25519"}, {CurveID::X25519, "X25519"}})
 
MDType ccf::crypto::get_md_for_ec (CurveID ec)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY