Botan 3.5.0
Crypto and TLS for C&
ffi_pkey.h
Go to the documentation of this file.
1/*
2* (C) 2017 Jack Lloyd
3*
4* Botan is released under the Simplified BSD License (see license.txt)
5*/
6
7#ifndef BOTAN_FFI_PKEY_H_
8#define BOTAN_FFI_PKEY_H_
9
10#include <botan/pk_keys.h>
11#include <botan/internal/ffi_util.h>
12
13extern "C" {
14
15BOTAN_FFI_DECLARE_STRUCT(botan_pubkey_struct, Botan::Public_Key, 0x2C286519);
16BOTAN_FFI_DECLARE_STRUCT(botan_privkey_struct, Botan::Private_Key, 0x7F96385E);
17}
18
19#endif
#define BOTAN_FFI_DECLARE_STRUCT(NAME, TYPE, MAGIC)
Definition ffi_util.h:51