updated to cyassl 3.1.0
parent
8b589382ee
commit
ade53e9956
|
@ -779,13 +779,13 @@ int main(int argc, char** argv)
|
|||
|
||||
#if !defined(USE_CERT_BUFFERS_1024) && !defined(USE_CERT_BUFFERS_2048) && \
|
||||
defined(CYASSL_MDK_SHELL)
|
||||
static char *certRSAname = "certs/rsa2048.der" ;
|
||||
static char *certRSAname = "rsa2048.der" ;
|
||||
static void set_Bench_RSA_File(char * cert) { certRSAname = cert ; }
|
||||
/* set by shell command */
|
||||
#elif defined(CYASSL_MDK_SHELL)
|
||||
/* nothing */
|
||||
#else
|
||||
static const char *certRSAname = "certs/rsa2048.der" ;
|
||||
static const char *certRSAname = "rsa2048.der" ;
|
||||
#endif
|
||||
|
||||
void bench_rsa(void)
|
||||
|
@ -884,13 +884,13 @@ int main(int argc, char** argv)
|
|||
|
||||
#if !defined(USE_CERT_BUFFERS_1024) && !defined(USE_CERT_BUFFERS_2048) && \
|
||||
defined(CYASSL_MDK_SHELL)
|
||||
static char *certDHname = "certs/dh2048.der" ;
|
||||
static char *certDHname = "dh2048.der" ;
|
||||
void set_Bench_DH_File(char * cert) { certDHname = cert ; }
|
||||
/* set by shell command */
|
||||
#elif defined(CYASSL_MDK_SHELL)
|
||||
/* nothing */
|
||||
#else
|
||||
static const char *certDHname = "certs/dh2048.der" ;
|
||||
static const char *certDHname = "dh2048.der" ;
|
||||
#endif
|
||||
|
||||
void bench_dh(void)
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -2632,7 +2632,7 @@ byte GetEntropy(ENTROPY_CMD cmd, byte* out)
|
|||
|
||||
#if !defined(USE_CERT_BUFFERS_1024) && !defined(USE_CERT_BUFFERS_2048)
|
||||
#ifdef FREESCALE_MQX
|
||||
static const char* clientKey = "a:\\certs\\client-key.der";
|
||||
static const char* clientKey = "a:\\client-key.der";
|
||||
static const char* clientCert = "a:\\certs\\client-cert.der";
|
||||
#ifdef CYASSL_CERT_GEN
|
||||
static const char* caKeyFile = "a:\\certs\\ca-key.der";
|
||||
|
@ -2643,7 +2643,7 @@ byte GetEntropy(ENTROPY_CMD cmd, byte* out)
|
|||
#endif
|
||||
#endif
|
||||
#elif defined(CYASSL_MKD_SHELL)
|
||||
static char* clientKey = "certs/client-key.der";
|
||||
static char* clientKey = "client-key.der";
|
||||
static char* clientCert = "certs/client-cert.der";
|
||||
void set_clientKey(char *key) { clientKey = key ; }
|
||||
void set_clientCert(char *cert) { clientCert = cert ; }
|
||||
|
@ -2660,7 +2660,7 @@ byte GetEntropy(ENTROPY_CMD cmd, byte* out)
|
|||
#endif
|
||||
#endif
|
||||
#else
|
||||
static const char* clientKey = "./certs/client-key.der";
|
||||
static const char* clientKey = "client-key.der";
|
||||
static const char* clientCert = "./certs/client-cert.der";
|
||||
#ifdef CYASSL_CERT_GEN
|
||||
static const char* caKeyFile = "./certs/ca-key.der";
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
SUMMARY = "CyaSSL Embedded SSL Library"
|
||||
DESCRIPTION = "CyaSSL is a lightweight SSL library written in C and \
|
||||
optimized for embedded and RTOS environments. It can be \
|
||||
Up to 20 times smaller than OpenSSL while still supporting \
|
||||
a full TLS 1.2 client and server."
|
||||
HOMEPAGE = "http://www.yassl.com/yaSSL/Products-cyassl.html"
|
||||
BUGTRACKER = "http://github.com/cyassl/cyassl/issues"
|
||||
SECTION = "libs/network"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "http://www.yassl.com/cyassl-${PV}.zip"
|
||||
|
||||
|
||||
SRC_URI[md5sum] = "72477eb50697e759d309c49cb1aef18a"
|
||||
SRC_URI[sha256sum] = "85a79009d2a7468910dfb1e4b975e0b00a42c695f4f1a2adc16d2507b5d0b03e"
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
# Detect and build with correct endianness
|
||||
# CFLAGS += "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '', '-DBIG_ENDIAN_ORDER', d)}"
|
||||
|
Loading…
Reference in New Issue