2014-01-29 12:43:33 -08:00
|
|
|
/*--------------------------------------------------------------------------
|
2022-07-30 04:41:46 -07:00
|
|
|
* LuaSec 1.2.0
|
2017-09-26 14:22:49 -07:00
|
|
|
*
|
2022-04-13 06:35:06 -07:00
|
|
|
* Copyright (C) 2006-2022 Bruno Silvestre
|
2014-01-29 12:43:33 -08:00
|
|
|
*
|
|
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
|
2013-03-30 05:21:40 -07:00
|
|
|
#ifndef LSEC_EC_H
|
|
|
|
#define LSEC_EC_H
|
|
|
|
|
2017-06-16 17:03:10 -07:00
|
|
|
#include <lua.h>
|
2013-03-30 05:21:40 -07:00
|
|
|
|
2018-09-12 14:16:21 -07:00
|
|
|
#ifndef OPENSSL_NO_EC
|
2017-06-16 17:03:10 -07:00
|
|
|
#include <openssl/ec.h>
|
2013-03-30 05:21:40 -07:00
|
|
|
|
2017-06-16 17:03:10 -07:00
|
|
|
EC_KEY *lsec_find_ec_key(lua_State *L, const char *str);
|
|
|
|
#endif
|
|
|
|
|
2017-06-16 18:50:27 -07:00
|
|
|
void lsec_get_curves(lua_State *L);
|
2017-06-16 17:03:10 -07:00
|
|
|
void lsec_load_curves(lua_State *L);
|
2013-03-30 05:21:40 -07:00
|
|
|
|
|
|
|
#endif
|