luasec/src/ec.h
2017-09-26 18:22:49 -03:00

23 lines
475 B
C

/*--------------------------------------------------------------------------
* LuaSec 0.7alpha
*
* Copyright (C) 2006-2017 Bruno Silvestre
*
*--------------------------------------------------------------------------*/
#ifndef LSEC_EC_H
#define LSEC_EC_H
#include <lua.h>
#ifndef OPENSSL_NO_ECDH
#include <openssl/ec.h>
EC_KEY *lsec_find_ec_key(lua_State *L, const char *str);
#endif
void lsec_get_curves(lua_State *L);
void lsec_load_curves(lua_State *L);
#endif