luasec/src/ec.h

23 lines
475 B
C
Raw Normal View History

2014-01-29 21:43:33 +01:00
/*--------------------------------------------------------------------------
2017-09-26 23:22:49 +02:00
* LuaSec 0.7alpha
*
* Copyright (C) 2006-2017 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_get_curves(lua_State *L);
2017-06-17 02:03:10 +02:00
void lsec_load_curves(lua_State *L);
2013-03-30 13:21:40 +01:00
#endif