Hi
I am trying the example httpsget_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT on EK-TM4C129EXL — TM4C129E Crypto Connected LaunchPad.
I am using CCSv11.2,tirtos_tivac_2_16_00_08, xdctools_3_32_00_06_core and Compiler ti-cgt-arm_20.2.5.LTS.
wolfssl :wolfssl-3.9.61,wolfssl-3.8
Using the ti wiki page doc : processors.wiki.ti.com/index.php
I have modified url as specified in the given link
e2e.ti.com/.../rtos-ek-tm4c129exl-ti-rtos-with-patch-and-wolfssl3-14-0-doesent-work
Wolfssl compiled successfully and project compiled successfully.
While executing I am getting following error
Sending a HTTPS GET request to 'ev-root.chain-demos.digicert.com:443'
wolfSSL Entering WOLFSSL_CTX_new_ex
wolfSSL Entering wolfSSL_Init
wolfSSL Entering wolfSSL_CertManagerNew
wolfSSL Leaving WOLFSSL_CTX_new, return 0
wolfSSL Entering wolfSSL_CTX_load_verify_buffer
Adding a CA
wolfSSL Entering GetExplicitVersion
wolfSSL Entering GetMyVersion
Got Cert Header
wolfSSL Entering GetAlgoId
wolfSSL Entering GetObjectId()
Got Algo ID
Getting Cert Name
Getting Cert Name
Got Subject Name
wolfSSL Entering GetAlgoId
wolfSSL Entering GetObjectId()
Got Key
Parsed Past Key
wolfSSL Entering DecodeCertExtensions
wolfSSL Entering GetObjectId()
wolfSSL Entering DecodeKeyUsage
wolfSSL Entering GetObjectId()
wolfSSL Entering DecodeBasicCaConstraint
wolfSSL Entering GetObjectId()
wolfSSL Entering DecodeSubjKeyId
wolfSSL Entering GetObjectId()
wolfSSL Entering DecodeAuthKeyId
wolfSSL Entering GetAlgoId
wolfSSL Entering GetObjectId()
Parsed new CA
Freeing Parsed CA
Freeing der CA
OK Freeing der CA
wolfSSL Leaving AddCA, return 0
wolfSSL Entering SSL_new
wolfSSL Leaving SSL_new, return 0
wolfSSL Entering SSL_set_fd
wolfSSL Leaving SSL_set_fd, return 1
wolfSSL Entering wolfSSL_send()
wolfSSL Entering SSL_write()
handshake not complete, trying to finish
wolfSSL Entering wolfSSL_negotiate
wolfSSL Entering SSL_connect()
growing output buffer
Shrinking output buffer
connect state: CLIENT_HELLO_SENT
received record layer msg
got ALERT!
Got alert
wolfSSL error occurred, error = 40
wolfSSL error occurred, error = -313
wolfSSL Leaving wolfSSL_negotiate, return -1
wolfSSL Leaving SSL_write(), return -1
wolfSSL Leaving wolfSSL_send(), return -1
wolfSSL Entering SSL_get_error
wolfSSL Leaving SSL_get_error, return -313
Error! code = -313, desc = httpsTask: socket error code
Tried with diffrent wolfssl config same result.
#ifdef WOLFSSL_TIRTOS
#define SIZEOF_LONG_LONG 8
#define NO_WRITEV
#define NO_WOLFSSL_DIR
#define USE_FAST_MATH
#define TFM_TIMING_RESISTANT
#define NO_DEV_RANDOM
#define NO_FILESYSTEM
#define USE_CERT_BUFFERS_2048
#define NO_ERROR_STRINGS
#define USER_TIME
#define HAVE_ECC
#define HAVE_ALPN
#define HAVE_AESGCM
#define HAVE_SUPPORTED_CURVES
#define ALT_ECC_SIZE
#define DEBUG_WOLFSSL
#define WOLFSSL_TI_CRYPT
#define WOLFSSL_ALWAYS_VERIFY_CB
#define WOLFSSL_TLS12
#define HAVE_HASHDRBG
#define HAVE_HKDF
#define HAVE_AESCCM
#define HAVE_CHACHA
#define HAVE_POLY1305
#define HAVE_ONE_TIME_AUTH
#define HAVE_CAMELLIA
#define HAVE_SRP
#define WOLFSSL_SNIFFER
#define HAVE_CURVE25519
#define HAVE_ED25519
#define HAVE_TLS_EXTENSIONS
#define HAVE_SUPPORTED_CURVES
//#define HAVE_HKDF
//#define WC_RSA_PSS
//#define NO_OLD_TLS
#define HAVE_SHA512
#define WOLFSSL_SHA512
Please support me dear WolfSSL team.