Botan
3.12.0
Crypto and TLS for C&
src
lib
ffi
ffi_ec.h
Go to the documentation of this file.
1
/*
2
* (C) 2025 Jack Lloyd
3
* (C) 2025,2026 Dominik Schricker
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7
8
#ifndef BOTAN_FFI_EC_H_
9
#define BOTAN_FFI_EC_H_
10
11
#include <botan/ec_group.h>
12
#include <botan/internal/ffi_util.h>
13
14
extern
"C"
{
15
16
BOTAN_FFI_DECLARE_STRUCT
(botan_ec_group_struct,
Botan::EC_Group
, 0xC5A5DB46);
17
BOTAN_FFI_DECLARE_STRUCT
(botan_ec_scalar_struct,
Botan::EC_Scalar
, 0x504CC641);
18
BOTAN_FFI_DECLARE_STRUCT
(botan_ec_point_struct,
Botan::EC_AffinePoint
, 0xE3DAD046);
19
}
20
21
#endif
Botan::EC_AffinePoint
Definition
ec_apoint.h:36
Botan::EC_Group
Definition
ec_group.h:69
Botan::EC_Scalar
Definition
ec_scalar.h:28
BOTAN_FFI_DECLARE_STRUCT
#define BOTAN_FFI_DECLARE_STRUCT(NAME, TYPE, MAGIC)
Definition
ffi_util.h:61
Generated by
1.16.1