mirror of https://github.com/wolfSSL/wolfssh.git
add default files
parent
6591581df4
commit
bd17b72732
|
@ -0,0 +1,118 @@
|
||||||
|
/* wolfssl options.h
|
||||||
|
* generated from configure options
|
||||||
|
*
|
||||||
|
* Copyright (C) 2006-2020 wolfSSL Inc.
|
||||||
|
*
|
||||||
|
* This file is part of wolfSSL. (formerly known as CyaSSL)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef WOLFSSL_OPTIONS_H
|
||||||
|
#define WOLFSSL_OPTIONS_H
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef HAVE_THREAD_LS
|
||||||
|
#define HAVE_THREAD_LS
|
||||||
|
|
||||||
|
#undef TFM_TIMING_RESISTANT
|
||||||
|
#define TFM_TIMING_RESISTANT
|
||||||
|
|
||||||
|
#undef ECC_TIMING_RESISTANT
|
||||||
|
#define ECC_TIMING_RESISTANT
|
||||||
|
|
||||||
|
#undef WC_RSA_BLINDING
|
||||||
|
#define WC_RSA_BLINDING
|
||||||
|
|
||||||
|
#undef GCM_TABLE_4BIT
|
||||||
|
#define GCM_TABLE_4BIT
|
||||||
|
|
||||||
|
#undef HAVE_AESGCM
|
||||||
|
#define HAVE_AESGCM
|
||||||
|
|
||||||
|
#undef WOLFSSL_USE_ALIGN
|
||||||
|
#define WOLFSSL_USE_ALIGN
|
||||||
|
|
||||||
|
#undef WOLFSSL_SHA512
|
||||||
|
#define WOLFSSL_SHA512
|
||||||
|
|
||||||
|
#undef WOLFSSL_SHA384
|
||||||
|
#define WOLFSSL_SHA384
|
||||||
|
|
||||||
|
#undef HAVE_HKDF
|
||||||
|
#define HAVE_HKDF
|
||||||
|
|
||||||
|
#undef NO_DSA
|
||||||
|
#define NO_DSA
|
||||||
|
|
||||||
|
#undef HAVE_ECC
|
||||||
|
#define HAVE_ECC
|
||||||
|
|
||||||
|
#undef TFM_ECC256
|
||||||
|
#define TFM_ECC256
|
||||||
|
|
||||||
|
#undef ECC_SHAMIR
|
||||||
|
#define ECC_SHAMIR
|
||||||
|
|
||||||
|
#undef WC_RSA_PSS
|
||||||
|
#define WC_RSA_PSS
|
||||||
|
|
||||||
|
#undef HAVE_POLY1305
|
||||||
|
#define HAVE_POLY1305
|
||||||
|
|
||||||
|
#undef HAVE_ONE_TIME_AUTH
|
||||||
|
#define HAVE_ONE_TIME_AUTH
|
||||||
|
|
||||||
|
#undef HAVE_CHACHA
|
||||||
|
#define HAVE_CHACHA
|
||||||
|
|
||||||
|
#undef HAVE_HASHDRBG
|
||||||
|
#define HAVE_HASHDRBG
|
||||||
|
|
||||||
|
#undef HAVE_TLS_EXTENSIONS
|
||||||
|
#define HAVE_TLS_EXTENSIONS
|
||||||
|
|
||||||
|
#undef HAVE_SUPPORTED_CURVES
|
||||||
|
#define HAVE_SUPPORTED_CURVES
|
||||||
|
|
||||||
|
#undef HAVE_FFDHE_2048
|
||||||
|
#define HAVE_FFDHE_2048
|
||||||
|
|
||||||
|
#undef WOLFSSL_TLS13
|
||||||
|
#define WOLFSSL_TLS13
|
||||||
|
|
||||||
|
#undef HAVE_EXTENDED_MASTER
|
||||||
|
#define HAVE_EXTENDED_MASTER
|
||||||
|
|
||||||
|
#undef NO_RC4
|
||||||
|
#define NO_RC4
|
||||||
|
|
||||||
|
#undef HAVE_ENCRYPT_THEN_MAC
|
||||||
|
#define HAVE_ENCRYPT_THEN_MAC
|
||||||
|
|
||||||
|
#undef NO_PSK
|
||||||
|
#define NO_PSK
|
||||||
|
|
||||||
|
#undef NO_MD4
|
||||||
|
#define NO_MD4
|
||||||
|
|
||||||
|
#undef WC_NO_ASYNC_THREADING
|
||||||
|
#define WC_NO_ASYNC_THREADING
|
||||||
|
|
||||||
|
#undef HAVE_DH_DEFAULT_PARAMS
|
||||||
|
#define HAVE_DH_DEFAULT_PARAMS
|
||||||
|
|
||||||
|
#undef NO_DES3
|
||||||
|
#define NO_DES3
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* WOLFSSL_OPTIONS_H */
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
#
|
||||||
|
# cmake for wolfssh
|
||||||
|
#
|
||||||
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_USER_SETTINGS")
|
||||||
|
|
||||||
|
set(CMAKE_CURRENT_SOURCE_DIR ".")
|
||||||
|
set(WOLFSSL_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
set(INCLUDE_PATH ${WOLFSSL_ROOT})
|
||||||
|
|
||||||
|
set(COMPONENT_SRCDIRS "./src/"
|
||||||
|
"../wolfssl/wolfcrypt/src/"
|
||||||
|
"../wolfssl/wolfcrypt/src/port/Espressif/"
|
||||||
|
"../wolfssl/wolfcrypt/src/port/atmel/"
|
||||||
|
)
|
||||||
|
|
||||||
|
set(COMPONENT_REQUIRES lwip)
|
||||||
|
|
||||||
|
string(REPLACE "\\" "/" RTOS_IDF_PATH "$ENV{IDF_PATH}/components/freertos/include/freertos")
|
||||||
|
|
||||||
|
if(IS_DIRECTORY ${IDF_PATH}/components/freertos/FreeRTOS-Kernel/)
|
||||||
|
set(COMPONENT_ADD_INCLUDEDIRS
|
||||||
|
"."
|
||||||
|
"./include"
|
||||||
|
"../freertos/FreeRTOS-Kernel/include/freertos"
|
||||||
|
"${WOLFSSL_ROOT}"
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
|
||||||
|
set(COMPONENT_ADD_INCLUDEDIRS
|
||||||
|
"."
|
||||||
|
"./include"
|
||||||
|
# "/Users/gojimmypi/Desktop/esp-idf/components/freertos/include/freertos"
|
||||||
|
"${RTOS_IDF_PATH}"
|
||||||
|
"${WOLFSSL_ROOT}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(IS_DIRECTORY ${IDF_PATH}/components/cryptoauthlib)
|
||||||
|
list(APPEND COMPONENT_ADD_INCLUDEDIRS "../cryptoauthlib/lib")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(COMPONENT_SRCEXCLUDE
|
||||||
|
"wolfcrypt/src/aes_asm.S"
|
||||||
|
"wolfcrypt/src/evp.c"
|
||||||
|
"wolfcrypt/src/misc.c"
|
||||||
|
"src/bio.c"
|
||||||
|
)
|
||||||
|
set(COMPONENT_PRIV_INCLUDEDIRS . ../wolfssl ../wolfssl/include)
|
||||||
|
|
||||||
|
register_component()
|
|
@ -0,0 +1,17 @@
|
||||||
|
#
|
||||||
|
# Component Makefile
|
||||||
|
#
|
||||||
|
|
||||||
|
COMPONENT_ADD_INCLUDEDIRS := . ./include
|
||||||
|
COMPONENT_ADD_INCLUDEDIRS += /Users/gojimmypi/Desktop/esp-idf/components/freertos/include/freertos
|
||||||
|
|
||||||
|
COMPONENT_SRCDIRS := src ../wolfssl/wolfcrypt/src
|
||||||
|
COMPONENT_SRCDIRS += ../wolfssl/wolfcrypt/src/port/Espressif
|
||||||
|
COMPONENT_SRCDIRS += ../wolfssl/wolfcrypt/src/port/atmel
|
||||||
|
|
||||||
|
CFLAGS +=-DWOLFSSL_USER_SETTINGS
|
||||||
|
|
||||||
|
COMPONENT_OBJEXCLUDE := ../wolfssl/wolfcrypt/src/aes_asm.o
|
||||||
|
COMPONENT_OBJEXCLUDE += ../wolfssl/wolfcrypt/src/evp.o
|
||||||
|
COMPONENT_OBJEXCLUDE += ../wolfssl/wolfcrypt/src/misc.o
|
||||||
|
COMPONENT_OBJEXCLUDE += src/bio.o
|
Loading…
Reference in New Issue