2014-01-29 21:43:33 +01:00
|
|
|
/*--------------------------------------------------------------------------
|
2016-03-03 20:11:46 +01:00
|
|
|
* LuaSec 0.6
|
|
|
|
* Copyright (C) 2006-2016 Bruno Silvestre
|
2014-01-29 21:43:33 +01:00
|
|
|
*
|
|
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
|
2013-03-30 13:21:40 +01:00
|
|
|
#ifndef LSEC_EC_H
|
|
|
|
#define LSEC_EC_H
|
|
|
|
|
2017-06-17 02:03:10 +02:00
|
|
|
#include <lua.h>
|
2013-03-30 13:21:40 +01:00
|
|
|
|
2017-06-17 02:03:10 +02:00
|
|
|
#ifndef OPENSSL_NO_ECDH
|
|
|
|
#include <openssl/ec.h>
|
2013-03-30 13:21:40 +01:00
|
|
|
|
2017-06-17 02:03:10 +02:00
|
|
|
EC_KEY *lsec_find_ec_key(lua_State *L, const char *str);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void lsec_load_curves(lua_State *L);
|
2013-03-30 13:21:40 +01:00
|
|
|
|
|
|
|
#endif
|