├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.yaml
│ └── other.yaml
└── workflows
│ └── arduino.yml
├── .gitignore
├── .gitmodules
├── Arduino
├── README.md
└── sketches
│ ├── README.md
│ ├── template
│ ├── README.md
│ ├── template.adeps
│ ├── template.ino
│ ├── template.sln
│ ├── template.vgdbproj
│ ├── wolfssl_helper.c
│ ├── wolfssl_helper.h
│ └── wolfssl_library
│ │ ├── src
│ │ └── wolfssl_library.cpp
│ │ └── wolfssl_library.h
│ ├── wolfssl_AES_CTR
│ ├── README.md
│ ├── wolfssl_AES_CTR.adeps
│ ├── wolfssl_AES_CTR.ino
│ ├── wolfssl_AES_CTR.sln
│ └── wolfssl_AES_CTR.vgdbproj
│ ├── wolfssl_client
│ ├── README.md
│ └── wolfssl_client.ino
│ ├── wolfssl_server
│ ├── README.md
│ └── wolfssl_server.ino
│ └── wolfssl_version
│ ├── README.md
│ └── wolfssl_version.ino
├── ESP32
├── DTLS13-wifi-station-client
│ ├── CMakeLists.txt
│ ├── CMakeLists.txt.bak
│ ├── README.md
│ ├── VisualGDB
│ │ └── wolfssl_dtls13_client_IDF_v5.1_ESP32.vgdbproj
│ ├── components
│ │ └── wolfssl
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Kconfig
│ │ │ ├── Kconfig.bak
│ │ │ ├── Kconfig.projbuild.bak
│ │ │ └── include
│ │ │ ├── config.h
│ │ │ ├── config.h.bak
│ │ │ └── user_settings.h
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── CMakeLists.txt.bak
│ │ ├── client-dtls13.c
│ │ ├── include
│ │ │ ├── client-dtls13.h
│ │ │ ├── dtls-common.h
│ │ │ ├── main.h
│ │ │ ├── time_helper.h
│ │ │ ├── wifi_connect.h
│ │ │ └── wifi_connect.h.bak
│ │ ├── main.c
│ │ ├── server-dtls13 - Copy.c.bak
│ │ ├── time_helper.c
│ │ ├── wifi_connect.c
│ │ └── wifi_connect.c.bak
│ ├── partitions_singleapp_large.csv
│ ├── partitions_singleapp_large.csv.bak
│ ├── sdkconfig.current.bak
│ ├── sdkconfig.defaults
│ └── sdkconfig.defaults.bak
├── DTLS13-wifi-station-server
│ ├── CMakeLists.txt
│ ├── CMakeLists.txt.bak
│ ├── README.md
│ ├── VisualGDB
│ │ └── wolfssl_dtls13_server_IDF_v5.1_ESP32.vgdbproj
│ ├── components
│ │ └── wolfssl
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Kconfig
│ │ │ ├── Kconfig.bak
│ │ │ ├── Kconfig.projbuild.bak
│ │ │ └── include
│ │ │ ├── config.h
│ │ │ ├── config.h.bak
│ │ │ └── user_settings.h
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── CMakeLists.txt.bak
│ │ ├── include
│ │ │ ├── dtls-common.h
│ │ │ ├── main.h
│ │ │ ├── server-dtls13.h
│ │ │ ├── time_helper.h
│ │ │ ├── wifi_connect.h
│ │ │ └── wifi_connect.h.bak
│ │ ├── main.c
│ │ ├── server-dtls13 - Copy.c.bak
│ │ ├── server-dtls13.c
│ │ ├── server-dtls13.c.bak
│ │ ├── time_helper.c
│ │ ├── wifi_connect.c
│ │ └── wifi_connect.c.bak
│ ├── partitions_singleapp_large.csv
│ ├── partitions_singleapp_large.csv.bak
│ ├── sdkconfig.current.bak
│ ├── sdkconfig.defaults
│ └── sdkconfig.defaults.bak
├── ESP32-hello-world
│ ├── ESP32_hello_world.bat
│ ├── README.md
│ ├── boot_app0.bin
│ ├── bootloader_qio_80m.bin
│ ├── hello_world.ino
│ ├── hello_world.ino.bin
│ └── hello_world.ino.partitions.bin
├── README.md
├── TLS13-ENC28J60-client
│ ├── CMakeLists.txt
│ ├── Makefile
│ ├── README-output.txt
│ ├── README.md
│ ├── TLS13-enc28j60-client.sln
│ ├── TLS13-enc28j60-client.vgdbproj
│ ├── TLS13-enc28j60.sln
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── Kconfig.projbuild
│ │ ├── component.mk
│ │ ├── embedded_CA_FILE.h
│ │ ├── embedded_CERT_FILE.h
│ │ ├── embedded_KEY_FILE.h
│ │ ├── enc28j60.h
│ │ ├── enc28j60_example_main.c
│ │ ├── esp_eth_mac_enc28j60.c
│ │ ├── esp_eth_phy_enc28j60.c
│ │ ├── wifi_connect.c
│ │ └── wifi_connect.h
│ ├── sdkconfig
│ └── sdkconfig.defaults
├── TLS13-ENC28J60-server
│ ├── CMakeLists.txt
│ ├── Makefile
│ ├── README.md
│ ├── TLS13-ENC28J60-server.sln
│ ├── TLS13-ENC28J60-server.vgdbproj
│ ├── components
│ │ └── eth_enc28j60
│ │ │ ├── CMakeLists.txt
│ │ │ ├── component.mk
│ │ │ ├── enc28j60.h
│ │ │ ├── esp_eth_enc28j60.h
│ │ │ ├── esp_eth_mac_enc28j60.c
│ │ │ └── esp_eth_phy_enc28j60.c
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── Kconfig.projbuild
│ │ ├── component.mk
│ │ ├── embedded_CLIENT_CERT_FILE.h
│ │ ├── embedded_SERVER_CERT_FILE.h
│ │ ├── embedded_SERVER_KEY_FILE.h
│ │ ├── enc28j60.h
│ │ ├── enc28j60_example_main.c
│ │ ├── esp_eth_mac_enc28j60.c
│ │ └── esp_eth_phy_enc28j60.c
│ ├── sdkconfig
│ └── sdkconfig.defaults
├── TLS13-wifi_station-client
│ ├── CMakeLists.txt
│ ├── Makefile
│ ├── README.md
│ ├── TLS13-wifi_station-client_v4.4.1.vgdbproj
│ ├── TLS13-wifi_station-client_v5.0.vgdbproj
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── Kconfig.projbuild
│ │ ├── component.mk
│ │ ├── embedded_CA_FILE.h
│ │ ├── embedded_CERT_FILE.h
│ │ ├── embedded_KEY_FILE.h
│ │ └── station_example_main.c
│ └── sdkconfig.defaults
├── TLS13-wifi_station-server
│ ├── CMakeLists.txt
│ ├── ESP32-TLS13-wifi_station-server_v4.4.1.vgdbproj
│ ├── ESP32-TLS13-wifi_station-server_v5.0.vgdbproj
│ ├── Makefile
│ ├── README.md
│ ├── main
│ │ ├── CMakeLists.txt
│ │ ├── Kconfig.projbuild
│ │ ├── component.mk
│ │ ├── embedded_CLIENT_CERT_FILE.h
│ │ ├── embedded_SERVER_CERT_FILE.h
│ │ ├── embedded_SERVER_KEY_FILE.h
│ │ └── station_example_main.c
│ └── sdkconfig.defaults
└── images
│ ├── VisualGDB-configure-new-project.png
│ ├── VisualGDB-create-new-project.png
│ ├── VisualGDB-new-espressif-project-debug.png
│ ├── VisualGDB-new-espressif-project-eth_enc28j60.png
│ ├── VisualGDB-new-espressif-project-toolchain.png
│ └── VisualGDB-new-espressif-project.png
├── README.md
├── RPi-Pico
├── CMakeLists.txt
├── README.md
├── config
│ ├── lwipopts.h
│ ├── lwipopts_examples_common.h
│ ├── user_settings.h
│ └── user_settings_asm.h
├── include
│ └── wolf
│ │ ├── blink.h
│ │ ├── common.h
│ │ ├── tcp.h
│ │ └── wifi.h
├── src
│ ├── bench_main.c
│ ├── blink.c
│ ├── tcp.c
│ ├── tcpClient_main.c
│ ├── test_main.c
│ ├── tlsClient_main.c
│ ├── wifi.c
│ └── wifi_main.c
├── user_settings_asm.h
└── wolf
│ └── blink.h
├── RT1060
├── MIMXRT1062xxxxx_flexspi_nor.ld
├── Makefile
├── README.md
├── board.c
├── board.h
├── clock_config.c
├── clock_config.h
├── common.c
├── dcd.c
├── dcd.h
├── main-bench.c
├── main-test.c
├── peripherals.c
├── peripherals.h
├── pin_mux.c
├── pin_mux.h
├── results.md
└── user_settings.h
├── SE050
├── README.md
├── images
│ └── se05x_middleware_cmake_openssl_scp03.png
└── wolfssl
│ ├── CMakeLists.txt
│ ├── wolfcrypt_benchmark
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── benchmark.c
│ ├── benchmark.h
│ └── wolfcrypt_benchmark.c
│ ├── wolfcrypt_generate_csr
│ ├── CMakeLists.txt
│ ├── README.md
│ └── wolfcrypt_generate_csr.c
│ ├── wolfcrypt_key_cert_insert
│ ├── CMakeLists.txt
│ ├── README.md
│ └── wolfcrypt_key_cert_insert.c
│ ├── wolfcrypt_test
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── test.c
│ ├── test.h
│ └── wolfcrypt_test.c
│ ├── wolfssl_client
│ ├── CMakeLists.txt
│ ├── README.md
│ └── wolfssl_client.c
│ └── wolfssl_client_cert_key
│ ├── CMakeLists.txt
│ ├── README.md
│ └── wolfssl_client_cert_key.c
├── SGX_Linux
├── Makefile
├── README-images
│ ├── expected-make-output.png
│ ├── expected-run-output-benchmark.png
│ ├── expected-run-output-client.png
│ ├── expected-run-output-server.png
│ └── expected-run-output-test.png
├── README.md
├── build.sh
├── sgx_t.mk
├── sgx_u.mk
├── trusted
│ ├── Wolfssl_Enclave.c
│ ├── Wolfssl_Enclave.config.xml
│ ├── Wolfssl_Enclave.edl
│ ├── Wolfssl_Enclave.h
│ ├── Wolfssl_Enclave.lds
│ └── Wolfssl_Enclave_private.pem
└── untrusted
│ ├── App.c
│ ├── App.h
│ ├── client-tls.c
│ ├── client-tls.h
│ ├── server-tls.c
│ ├── server-tls.h
│ └── stdafx.h
├── SGX_Windows
├── Benchmarks.sln
├── Benchmarks
│ ├── Benchmarks.cpp
│ ├── Benchmarks.h
│ ├── Benchmarks.vcxproj
│ ├── Benchmarks.vcxproj.filters
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── Enclave
│ ├── Enclave.config.xml
│ ├── Enclave.cpp
│ ├── Enclave.edl
│ ├── Enclave.vcxproj
│ ├── Enclave.vcxproj.filters
│ ├── Enclave_private.pem
│ └── SGX_Benchmark.h
├── README-images
│ ├── expected-results.PNG
│ ├── set-include-path.PNG
│ └── wolfssl-lib.PNG
└── README.md
├── STM32
└── README.md
├── TOPPERS
├── README-en.md
├── README-jp.md
├── Toppers_app
│ ├── .cproject
│ └── .project
├── WolfSSLDemo
│ ├── .cproject
│ ├── .project
│ ├── WolfSSLDemo HardwareDebug.launch
│ ├── WolfSSLDemo.scfg
│ ├── bsp.patch
│ ├── src
│ │ ├── linker_script.ld
│ │ └── wolfDemo
│ │ │ ├── kernel.h
│ │ │ ├── kernel_id.h
│ │ │ ├── kernel_ram.h
│ │ │ ├── kernel_rom.h
│ │ │ ├── ri_cmt.h
│ │ │ ├── strings.h
│ │ │ ├── unistd.h
│ │ │ ├── user_settings.h
│ │ │ ├── wolf_client.c
│ │ │ ├── wolf_console.c
│ │ │ ├── wolf_demo.h
│ │ │ ├── wolf_main.c
│ │ │ ├── wolf_main.h
│ │ │ ├── wolf_server.c
│ │ │ └── wolfssl_dummy.c
│ ├── target_edmac.c
│ ├── target_edmac.cfg
│ └── target_edmac.h
├── setting.sh
└── wolflib
│ ├── .cproject
│ └── .project
├── X9.146
├── Makefile
├── README.md
├── gen_dual_keysig_cert.c
├── gen_ecdsa_mldsa_dual_keysig_cert.c
└── gen_rsa_mldsa_dual_keysig_cert.c
├── android
├── .gitignore
├── README.md
├── wolfcryptjni-ndk-gradle
│ ├── app
│ │ ├── CMakeLists.txt
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── wolfssl
│ │ │ │ └── wolfcryptjni_ndk_gradle
│ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── wolfssljni-ndk-gradle
│ ├── app
│ │ ├── CMakeLists.txt
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── cpp
│ │ │ └── NativeHelper.c
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── wolfssl
│ │ │ │ └── wolfssljni_ndk_gradle
│ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── wolfssljni-ndk-sample
│ ├── AndroidManifest.xml
│ ├── ant.properties
│ ├── jni
│ ├── Android.mk
│ ├── com_wolfssl_example_JNITest.h
│ └── jnitest.c
│ ├── project.properties
│ ├── res
│ ├── drawable-hdpi
│ │ └── icon.png
│ ├── drawable-ldpi
│ │ └── icon.png
│ ├── drawable-mdpi
│ │ └── icon.png
│ ├── layout
│ │ └── main.xml
│ └── values
│ │ └── strings.xml
│ └── src
│ └── com
│ └── wolfssl
│ └── example
│ └── JNITest.java
├── btle
├── README.md
├── common
│ ├── btle-sim.c
│ └── btle-sim.h
├── ecies
│ ├── BTLESecureMessageExchange.pdf
│ ├── Makefile
│ ├── README.md
│ ├── ecc-client.c
│ └── ecc-server.c
└── tls
│ ├── Makefile
│ ├── README.md
│ ├── client-tls13-btle.c
│ └── server-tls13-btle.c
├── caam
└── seco
│ ├── Makefile
│ ├── README.md
│ ├── aes-cbc.c
│ ├── aes-ccm.c
│ ├── aes-ecb.c
│ ├── aes-gcm.c
│ ├── aes-update-key.c
│ ├── cmac.c
│ ├── cryptodev
│ ├── Makefile
│ ├── ecc-sign-verify.c
│ ├── ecdh.c
│ ├── hmac.c
│ └── rsa.c
│ ├── ecc-sign-verify.c
│ └── import-key.c
├── can-bus
├── Makefile
├── README.md
├── client.c
├── common.c
├── common.h
├── generate_ssl.sh
└── server.c
├── ccb_vaultic
├── Makefile
├── README.md
├── ccb_vaultic.c
├── ccb_vaultic.h
├── main-bench.c
└── main-test.c
├── certfields
├── all-fields
│ ├── Makefile
│ ├── README.md
│ └── main.c
├── extendedKeyUsage
│ ├── Makefile
│ ├── README.md
│ └── test.c
├── extract-pubkey-from-certfile
│ ├── Makefile
│ ├── README.md
│ └── main.c
└── keyUsage
│ ├── Makefile
│ ├── README.md
│ └── test.c
├── certgen
├── Makefile
├── README.md
├── ca-ecc-cert.der
├── ca-ecc-cert.pem
├── ca-ecc-key.der
├── ca-ecc-key.pem
├── certgen_ca_example.c
├── certgen_example.c
├── csr_cryptocb.c
├── csr_example.c
├── csr_sign.c
├── csr_w_ed25519_example.c
├── custom_ext.c
└── custom_ext_callback.c
├── certmanager
├── Makefile
├── README.md
├── certloadverifybuffer.c
└── certverify.c
├── certs
├── 1024
│ ├── ca-cert.der
│ ├── ca-cert.pem
│ ├── ca-key.der
│ ├── ca-key.pem
│ ├── client-cert.der
│ ├── client-cert.pem
│ ├── client-key.der
│ ├── client-key.pem
│ ├── client-keyPub.der
│ ├── dh1024.der
│ ├── dh1024.pem
│ ├── dsa1024.der
│ ├── dsa1024.pem
│ ├── rsa1024.der
│ ├── server-cert.der
│ ├── server-cert.pem
│ ├── server-key.der
│ └── server-key.pem
├── ca-cert.der
├── ca-cert.pem
├── ca-ecc-cert.pem
├── ca-key.der
├── ca-key.pem
├── cliCrl.pem
├── client-cert.der
├── client-cert.pem
├── client-ecc-cert.der
├── client-ecc-cert.pem
├── client-key.der
├── client-key.pem
├── client-keyEnc.pem
├── client-keyPub.der
├── client-keyPub.pem
├── crl.pem
├── crl.revoked
├── crl
│ ├── cliCrl.pem
│ ├── crl.pem
│ ├── crl.revoked
│ ├── eccCliCRL.pem
│ └── eccSrvCRL.pem
├── dh1024.der
├── dh1024.pem
├── dh2048.der
├── dh2048.pem
├── dsa1024.der
├── dsa1024.pem
├── dsa2048.der
├── ecc-client-key.der
├── ecc-client-key.pem
├── ecc-client-keyPub.der
├── ecc-client-keyPub.pem
├── ecc-key-comp.pem
├── ecc-key.der
├── ecc-key.pem
├── ecc-keyPkcs8.pem
├── ecc-keyPkcs8Enc.pem
├── ecc-keyPub.der
├── ecc-keyPub.pem
├── eccCliCRL.pem
├── eccSrvCRL.pem
├── ech-client-cert.pem
├── ed25519-keyPriv.pem
├── ed25519-keyPub.pem
├── generate-client-bundle.sh
├── mldsa44_ca_key.der
├── mldsa44_ca_pubkey.der
├── mldsa44_entity_cert.pem
├── mldsa44_entity_key.pem
├── mldsa44_entity_req.pem
├── mldsa44_root_cert.pem
├── mldsa44_root_key.pem
├── mldsa44_server_key.der
├── mldsa44_server_key.pem
├── mldsa44_server_pubkey.der
├── mldsa65_ca_key.der
├── mldsa65_ca_pubkey.der
├── mldsa65_entity_cert.pem
├── mldsa65_entity_key.pem
├── mldsa65_entity_req.pem
├── mldsa65_root_cert.pem
├── mldsa65_root_key.pem
├── mldsa65_server_key.der
├── mldsa65_server_key.pem
├── mldsa65_server_pubkey.der
├── mldsa87_ca_key.der
├── mldsa87_ca_pubkey.der
├── mldsa87_entity_cert.pem
├── mldsa87_entity_key.pem
├── mldsa87_entity_req.pem
├── mldsa87_root_cert.pem
├── mldsa87_root_key.pem
├── mldsa87_server_key.der
├── mldsa87_server_key.pem
├── mldsa87_server_pubkey.der
├── ntru-cert.pem
├── ntru-key.raw
├── ocsp-responder-cert.pem
├── rsa1024.der
├── rsa2048.der
├── server-cert.der
├── server-cert.pem
├── server-ecc-comp.pem
├── server-ecc-rsa.pem
├── server-ecc.pem
├── server-key.der
├── server-key.pem
├── server-keyEnc.pem
├── server-keyPkcs8.pem
├── server-keyPkcs8Enc.pem
├── server-keyPkcs8Enc12.pem
├── server-keyPkcs8Enc2.pem
├── server-keyPub.pem
├── server-revoked-cert.pem
├── server-revoked-key.pem
├── taoCert.txt
├── test-clientbundle.p12
├── test-degenerate.p7b
└── test-intermediate.pem
├── certstore
├── Makefile
├── README.md
└── certverify.c
├── certvfy
├── Makefile
├── README.md
├── certsigvfy.c
├── certvfy.c
└── sigvfycert.c
├── cmake
├── CMakeLists.txt
├── README.md
├── include
│ └── user_settings.h
└── myApp.c
├── crypto
├── 3des
│ ├── 3des-file-encrypt.c
│ ├── Makefile
│ └── README.md
├── MagicCrypto
│ ├── MagicCrypto.patch
│ ├── Makefile
│ ├── README.md
│ ├── client.c
│ ├── common.h
│ └── server.c
├── README.md
├── aes
│ ├── Makefile
│ ├── README.md
│ ├── aes-file-encrypt.c
│ ├── aescfb-file-encrypt.c
│ ├── aesctr-file-encrypt.c
│ ├── aesgcm-file-encrypt.c
│ ├── aesgcm-file-encrypt.sh
│ ├── aesgcm-oneshot.c
│ └── plot_data.gp
├── camellia
│ ├── Makefile
│ ├── README.md
│ └── camellia-encrypt.c
├── keywrap
│ └── keywrap.c
└── pkcs12
│ ├── Makefile
│ ├── README.md
│ ├── pkcs12-create-example.c
│ ├── pkcs12-example.c
│ └── test-servercert.p12
├── custom-io-callbacks
├── README.md
├── file-client
│ ├── Makefile
│ ├── clean-io-files.sh
│ ├── client_read_server_write_file.txt
│ ├── client_write_server_read_file.txt
│ └── file-client.c
└── file-server
│ ├── Makefile
│ ├── check.sh
│ └── file-server.c
├── dtls
├── Makefile
├── README.md
├── bin-msgs
│ ├── CH1.bin
│ └── CH2.bin
├── client-dtls-callback.c
├── client-dtls-cid.c
├── client-dtls-ipv6.c
├── client-dtls-nonblocking.c
├── client-dtls-resume.c
├── client-dtls-rw-threads.c
├── client-dtls-shared.c
├── client-dtls-threaded.c
├── client-dtls.c
├── client-dtls13-cid.c
├── client-dtls13.c
├── client-udp.c
├── dtls-common.h
├── memory-bio-dtls.c
├── server-dtls-callback.c
├── server-dtls-demux.c
├── server-dtls-ipv6.c
├── server-dtls-nonblocking.c
├── server-dtls-rw-threads.c
├── server-dtls-threaded.c
├── server-dtls.c
├── server-dtls13-event.c
├── server-dtls13.c
└── server-udp.c
├── ecc
├── Makefile
├── README.md
├── ecc-export-Qx-Qy.c
├── ecc-key-decode.c
├── ecc-key-export.c
├── ecc-params.c
├── ecc-sign.c
├── ecc-stack.c
├── ecc-verify.c
└── parsekeys.sh
├── embedded
├── Makefile
├── README.md
├── certs.h
├── sockets.h
├── threading.h
├── tls-client-server.c
├── tls-info.h
├── tls-server-size.c
├── tls-sock-client-ca.c
├── tls-sock-client.c
├── tls-sock-server-ca.c
├── tls-sock-server.c
├── tls-sock-threaded.c
└── tls-threaded.c
├── freertos
└── tls_client_freertos_tcp.c
├── fullstack
└── freertos-wolfip-wolfssl-https
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── freertos
│ └── utils
│ │ └── utils.c
│ ├── include
│ ├── FreeRTOSConfig.h
│ └── user_settings.h
│ ├── setup.sh
│ ├── setup_network.sh
│ ├── src
│ ├── https_server.c
│ ├── https_server.h
│ ├── main.c
│ ├── wolfip_freertos.c
│ └── wolfip_freertos.h
│ └── test_https.sh
├── hash
├── Makefile
├── README.md
├── hash-file.c
├── input.txt
├── sha256-hash-oneshot-string.c
├── sha256-hash-string.c
├── sha256-hash.c
├── sha3-256-hash-oneshot-string.c
├── sha3-256-hash.c
└── sha512-hash.c
├── java
├── README.md
├── example-keystores
│ ├── README.md
│ ├── all.jks
│ ├── all_mixed.jks
│ ├── client.jks
│ ├── ecc.jks
│ ├── external.jks
│ ├── rsa.jks
│ └── server.jks
└── https-url
│ ├── README.md
│ └── URLClient.java
├── lwip
├── README.md
└── example-lwip-native-echoclient.c
├── maxq10xx
├── Makefile
├── README.md
├── ecc-p256-pub.pem
├── maxq10xx-wolfssl-client.c
├── rsa-2048-pub.pem
└── wolfssl-lwip-client.c
├── mynewt
├── .gitignore
├── README.md
├── apps.wolfsslclienttlsmn.pkg.yml
├── apps.wolfsslclienttlsmn.syscfg.yml
├── client-tls-mn.c
├── jenkins.sh
├── setup.sh
└── test_client-tls.expect
├── ocsp
└── ocsp_nonblock
│ ├── Makefile
│ ├── README.md
│ ├── ca_certs
│ ├── GTS_CA_1C3.pem
│ └── GTS_Root_R1.pem
│ ├── google.pem
│ ├── ocsp_nonblock.c
│ └── ocsp_nonblock_async.c
├── picotcp
├── Makefile
├── README.md
└── picotcp-server.c
├── pk
├── README.md
├── curve25519
│ ├── Makefile
│ ├── README.md
│ └── curve25519_test.c
├── dh-pg
│ ├── Makefile
│ ├── README.md
│ ├── dh-params.h
│ └── dh-pg-ka.c
├── ecc
│ ├── Makefile
│ ├── README.md
│ ├── ecc_keys.c
│ ├── ecc_pub.c
│ ├── ecc_sign.c
│ ├── ecc_sign_deterministic.c
│ └── ecc_verify.c
├── ecdh_generate_secret
│ ├── Makefile
│ ├── README.md
│ └── ecdh_gen_secret.c
├── ed25519
│ ├── Makefile
│ ├── README.md
│ ├── ed25519_keys.c
│ ├── ed25519_pub.c
│ ├── ed25519_sign.c
│ └── ed25519_verify.c
├── ed25519_gen
│ ├── Makefile
│ ├── README.md
│ ├── ed_priv_test_key.der
│ ├── ed_pub_test_key.der
│ ├── gen_key_files.c
│ ├── genkeybuffers.pl
│ ├── sign_and_verify.c
│ └── test_keys.h
├── ed448
│ ├── Makefile
│ ├── README.md
│ ├── ed448_keys.c
│ ├── ed448_pub.c
│ ├── ed448_sign.c
│ └── ed448_verify.c
├── enc-through-sign-rsa
│ ├── Makefile
│ ├── README.md
│ ├── rsa-private-encrypt-app.c
│ └── rsa-public-decrypt-app.c
├── hpke
│ ├── Makefile
│ ├── README.md
│ └── hpke_test.c
├── rsa-kg
│ ├── Makefile
│ ├── README.md
│ ├── rsa-key.h
│ ├── rsa-kg-sv.c
│ └── rsa-kg.c
├── rsa-pss
│ ├── Makefile
│ ├── README.md
│ └── rsa-pss.c
├── rsa
│ ├── Makefile
│ ├── README.md
│ └── rsa-nb.c
├── srp
│ ├── Makefile
│ ├── README.md
│ ├── srp.c
│ ├── srp_gen.c
│ ├── srp_params.h
│ └── srp_store.h
└── test_cert_and_private_keypair
│ ├── Makefile
│ ├── README.md
│ └── test-cert-privkey-pair.c
├── pkcs11
├── Makefile
├── PKCS11.md
├── README.md
├── client-tls-pkcs11.c
├── mksofthsm2_conf.sh
├── opencryptoki.sh
├── pkcs11_aescbc.c
├── pkcs11_aesgcm.c
├── pkcs11_ecc.c
├── pkcs11_genecc.c
├── pkcs11_hmac.c
├── pkcs11_rand.c
├── pkcs11_rsa.c
├── pkcs11_test.c
├── server-tls-pkcs11-ecc.c
├── server-tls-pkcs11.c
└── softhsm2.sh
├── pkcs7
├── Makefile
├── README.md
├── authEnvelopedData-kari.c
├── authEnvelopedData-kekri.c
├── authEnvelopedData-ktri.c
├── authEnvelopedData-ori.c
├── authEnvelopedData-pwri.c
├── benchmark-streaming-envelop.c
├── compressedData.c
├── content.txt
├── encryptedData.c
├── envelopedData-kari.c
├── envelopedData-kekri.c
├── envelopedData-ktri-stream.c
├── envelopedData-ktri.c
├── envelopedData-ori.c
├── envelopedData-pwri.c
├── envelopedDataDecode.c
├── pkcs7-verify.c
├── scripts
│ ├── openssl-verify.sh
│ └── runall.sh
├── signed.p7b
├── signed.p7s
├── signedData-CompressedFirmwarePkgData.c
├── signedData-DetachedSignature.c
├── signedData-EncryptedCompressedFirmwarePkgData.c
├── signedData-EncryptedFirmwareCB.c
├── signedData-EncryptedFirmwarePkgData.c
├── signedData-FirmwarePkgData.c
├── signedData-cryptocb.c
├── signedData-p7b.c
├── signedData-stream.c
├── signedData-verifyFile.c
├── signedData.c
├── smime-verify.c
└── smime.c
├── pq
├── ml_dsa
│ ├── Makefile
│ ├── README.md
│ └── ml_dsa.c
├── stateful_hash_sig
│ ├── 0001-Patch-to-support-wolfSSL-xmss-reference-integration.patch
│ ├── Makefile
│ ├── README.md
│ ├── lms_example.c
│ └── xmss_example.c
└── tls
│ ├── Makefile
│ ├── README.md
│ ├── client-pq-tls13.c
│ ├── server-pq-tls13.c
│ └── stm32
│ ├── Makefile
│ ├── README.md
│ ├── client-tls-uart.c
│ ├── server-tls-uart.c
│ ├── setup_kyber.patch
│ ├── setup_kyber.sh
│ └── wolfssl_stm32_pq
│ ├── .cproject
│ ├── .mxproject
│ ├── .project
│ ├── Core
│ ├── Inc
│ │ └── main.h
│ └── Src
│ │ └── main.c
│ └── wolfssl_stm32_pq.ioc
├── psa
├── Makefile
├── README.md
├── build_with_mbedtls_psa.sh
├── client-tls13-ecc-psa.c
├── server-tls13-ecc-psa.c
└── trusted-firmware
│ ├── 0001-WolfSSL-TLS-1.3-client-server-PSA-demo.patch
│ └── build_tfm_example.sh
├── psk
├── Makefile
├── README.md
├── client-psk-bio-custom.c
├── client-psk-nonblocking.c
├── client-psk-resume.c
├── client-psk-tls13-multi-id.c
├── client-psk.c
├── client-tcp.c
├── server-psk-nonblocking.c
├── server-psk-threaded.c
├── server-psk-tls13-multi-id.c
├── server-psk.c
└── server-tcp.c
├── riot-os-posix-lwip
├── Makefile
├── README.md
├── client.c
├── main.c
└── server.c
├── signature
├── Makefile
├── README.md
├── ecc-sign-verify
│ ├── Makefile
│ ├── README.md
│ └── ecc_sign_verify.c
├── rsa_buffer
│ ├── Makefile
│ ├── README.md
│ ├── rsa_priv_2048.h
│ ├── rsa_pub_2048.h
│ ├── sign.c
│ ├── sign_vfy.sh
│ ├── signature.h
│ └── verify.c
├── rsa_vfy_only
│ ├── Makefile
│ ├── README.md
│ └── verify.c
├── signature.c
└── sigtest
│ ├── Makefile
│ ├── README.md
│ ├── eccsiglentest.c
│ ├── opensigtest.c
│ └── wolfsigtest.c
├── staticmemory
├── Makefile
├── README.md
├── debug-callback-example.c
└── size-calculation.c
├── tirtos_ccs_examples
├── README.md
├── TI-RTOS AND WOLFSSL README
├── nameReplace.sh
├── tcpEcho_Client_TivaTM4C1294NCPDT
│ ├── .ccsproject
│ ├── .config
│ │ ├── .productview.dat
│ │ └── xconfig_tcpEcho
│ │ │ ├── .buildtime
│ │ │ ├── .interfaces
│ │ │ ├── .xdcenv.mak
│ │ │ ├── compiler.opt
│ │ │ ├── compiler.opt.defs
│ │ │ ├── config.bld
│ │ │ ├── custom.mak
│ │ │ ├── package.bld
│ │ │ ├── package.mak
│ │ │ ├── package.xdc
│ │ │ ├── package.xs
│ │ │ └── package
│ │ │ ├── .vers_b160
│ │ │ ├── .vers_g180
│ │ │ ├── .vers_r170
│ │ │ ├── .xdc-A32
│ │ │ ├── build.cfg
│ │ │ ├── cfg
│ │ │ ├── tcpEcho.xem4f.mak
│ │ │ ├── tcpEcho_pem4f.cfg
│ │ │ └── tcpEcho_pem4f.mak
│ │ │ ├── package.bld.xml
│ │ │ ├── package.defs.h
│ │ │ ├── package.xdc.dep
│ │ │ ├── package.xdc.inc
│ │ │ ├── package_xconfig_tcpEcho.c
│ │ │ ├── rel
│ │ │ ├── xconfig_tcpEcho.xdc.inc
│ │ │ └── xconfig_tcpEcho.xdc.ninc
│ │ │ ├── xconfig_tcpEcho.ccs
│ │ │ ├── xconfig_tcpEcho.class
│ │ │ ├── xconfig_tcpEcho.java
│ │ │ └── xconfig_tcpEcho.sch
│ ├── .cproject
│ ├── .launches
│ │ ├── tcpEcho_Client_TivaTM4C1294NCPDT.launch
│ │ ├── tcpEcho_Server_TivaTM4C1294NCPDT.launch
│ │ └── tcpEcho_TivaTM4C1294NCPDT.launch
│ ├── .project
│ ├── .settings
│ │ ├── org.eclipse.cdt.codan.core.prefs
│ │ ├── org.eclipse.cdt.debug.core.prefs
│ │ └── org.eclipse.core.resources.prefs
│ ├── .xdchelp
│ ├── Board.h
│ ├── EK_TM4C1294XL.c
│ ├── EK_TM4C1294XL.cmd
│ ├── EK_TM4C1294XL.h
│ ├── tcpEcho.c
│ ├── tcpEcho.cfg
│ └── tcpEcho_readme.txt
├── tcpEcho_Server_TivaTM4C1294NCPDT
│ ├── .ccsproject
│ ├── .config
│ │ ├── .productview.dat
│ │ └── xconfig_tcpEcho
│ │ │ ├── .buildtime
│ │ │ ├── .interfaces
│ │ │ ├── .xdcenv.mak
│ │ │ ├── compiler.opt
│ │ │ ├── compiler.opt.defs
│ │ │ ├── config.bld
│ │ │ ├── custom.mak
│ │ │ ├── package.bld
│ │ │ ├── package.mak
│ │ │ ├── package.xdc
│ │ │ ├── package.xs
│ │ │ └── package
│ │ │ ├── .vers_b160
│ │ │ ├── .vers_g180
│ │ │ ├── .vers_r170
│ │ │ ├── .xdc-A32
│ │ │ ├── build.cfg
│ │ │ ├── cfg
│ │ │ ├── tcpEcho.xem4f.mak
│ │ │ ├── tcpEcho_pem4f.cfg
│ │ │ └── tcpEcho_pem4f.mak
│ │ │ ├── package.bld.xml
│ │ │ ├── package.defs.h
│ │ │ ├── package.xdc.dep
│ │ │ ├── package.xdc.inc
│ │ │ ├── package_xconfig_tcpEcho.c
│ │ │ ├── rel
│ │ │ ├── xconfig_tcpEcho.xdc.inc
│ │ │ └── xconfig_tcpEcho.xdc.ninc
│ │ │ ├── xconfig_tcpEcho.ccs
│ │ │ ├── xconfig_tcpEcho.class
│ │ │ ├── xconfig_tcpEcho.java
│ │ │ └── xconfig_tcpEcho.sch
│ ├── .cproject
│ ├── .launches
│ │ ├── tcpEcho_Server_TivaTM4C1294NCPDT.launch
│ │ └── tcpEcho_TivaTM4C1294NCPDT.launch
│ ├── .project
│ ├── .settings
│ │ ├── org.eclipse.cdt.codan.core.prefs
│ │ ├── org.eclipse.cdt.debug.core.prefs
│ │ └── org.eclipse.core.resources.prefs
│ ├── .xdchelp
│ ├── Board.h
│ ├── EK_TM4C1294XL.c
│ ├── EK_TM4C1294XL.cmd
│ ├── EK_TM4C1294XL.h
│ ├── tcpEcho.c
│ ├── tcpEcho.cfg
│ └── tcpEcho_readme.txt
├── tirtos.mak
├── tirtos.mak.old
├── wolfssl_tests
│ ├── .ccsproject
│ ├── .config
│ │ ├── .productview.dat
│ │ ├── xconfig_benchmarkTest
│ │ │ ├── .buildtime
│ │ │ ├── .interfaces
│ │ │ ├── .xdcenv.mak
│ │ │ ├── compiler.opt
│ │ │ ├── compiler.opt.defs
│ │ │ ├── config.bld
│ │ │ ├── custom.mak
│ │ │ ├── package.bld
│ │ │ ├── package.mak
│ │ │ ├── package.xdc
│ │ │ ├── package.xs
│ │ │ └── package
│ │ │ │ ├── .vers_b160
│ │ │ │ ├── .vers_g180
│ │ │ │ ├── .vers_r170
│ │ │ │ ├── .xdc-A32
│ │ │ │ ├── build.cfg
│ │ │ │ ├── cfg
│ │ │ │ ├── benchmarkTest.xem4f.mak
│ │ │ │ ├── benchmarkTest_pem4f.cfg
│ │ │ │ └── benchmarkTest_pem4f.mak
│ │ │ │ ├── package.bld.xml
│ │ │ │ ├── package.defs.h
│ │ │ │ ├── package.xdc.dep
│ │ │ │ ├── package.xdc.inc
│ │ │ │ ├── package_xconfig_benchmarkTest.c
│ │ │ │ ├── rel
│ │ │ │ ├── xconfig_benchmarkTest.xdc.inc
│ │ │ │ └── xconfig_benchmarkTest.xdc.ninc
│ │ │ │ ├── xconfig_benchmarkTest.ccs
│ │ │ │ ├── xconfig_benchmarkTest.class
│ │ │ │ ├── xconfig_benchmarkTest.java
│ │ │ │ └── xconfig_benchmarkTest.sch
│ │ ├── xconfig_tcpEcho
│ │ │ ├── .buildtime
│ │ │ ├── .interfaces
│ │ │ ├── .xdcenv.mak
│ │ │ ├── compiler.opt
│ │ │ ├── compiler.opt.defs
│ │ │ ├── config.bld
│ │ │ ├── custom.mak
│ │ │ ├── package.bld
│ │ │ ├── package.mak
│ │ │ ├── package.xdc
│ │ │ ├── package.xs
│ │ │ └── package
│ │ │ │ ├── .vers_b160
│ │ │ │ ├── .vers_g180
│ │ │ │ ├── .vers_r170
│ │ │ │ ├── .xdc-A32
│ │ │ │ ├── build.cfg
│ │ │ │ ├── cfg
│ │ │ │ ├── tcpEcho.xem4f.mak
│ │ │ │ ├── tcpEcho_pem4f.cfg
│ │ │ │ └── tcpEcho_pem4f.mak
│ │ │ │ ├── package.bld.xml
│ │ │ │ ├── package.defs.h
│ │ │ │ ├── package.xdc.dep
│ │ │ │ ├── package.xdc.inc
│ │ │ │ ├── package_xconfig_tcpEcho.c
│ │ │ │ ├── rel
│ │ │ │ ├── xconfig_tcpEcho.xdc.inc
│ │ │ │ └── xconfig_tcpEcho.xdc.ninc
│ │ │ │ ├── xconfig_tcpEcho.ccs
│ │ │ │ ├── xconfig_tcpEcho.class
│ │ │ │ ├── xconfig_tcpEcho.java
│ │ │ │ └── xconfig_tcpEcho.sch
│ │ └── xconfig_wolfsslTest
│ │ │ ├── .buildtime
│ │ │ ├── .interfaces
│ │ │ ├── .xdcenv.mak
│ │ │ ├── compiler.opt
│ │ │ ├── compiler.opt.defs
│ │ │ ├── config.bld
│ │ │ ├── custom.mak
│ │ │ ├── package.bld
│ │ │ ├── package.mak
│ │ │ ├── package.xdc
│ │ │ ├── package.xs
│ │ │ └── package
│ │ │ ├── .vers_b160
│ │ │ ├── .vers_g180
│ │ │ ├── .vers_r170
│ │ │ ├── .xdc-A32
│ │ │ ├── build.cfg
│ │ │ ├── cfg
│ │ │ ├── wolfsslTest.xem4f.mak
│ │ │ ├── wolfsslTest_pem4f.cfg
│ │ │ └── wolfsslTest_pem4f.mak
│ │ │ ├── package.bld.xml
│ │ │ ├── package.defs.h
│ │ │ ├── package.xdc.dep
│ │ │ ├── package.xdc.inc
│ │ │ ├── package_xconfig_wolfsslTest.c
│ │ │ ├── rel
│ │ │ ├── xconfig_wolfsslTest.xdc.inc
│ │ │ └── xconfig_wolfsslTest.xdc.ninc
│ │ │ ├── xconfig_wolfsslTest.ccs
│ │ │ ├── xconfig_wolfsslTest.class
│ │ │ ├── xconfig_wolfsslTest.java
│ │ │ └── xconfig_wolfsslTest.sch
│ ├── .cproject
│ ├── .launches
│ │ ├── benchmarkTest.launch
│ │ ├── tcpEchoClient_TivaTM4C1294NCPDT.launch
│ │ ├── tcpEcho_TivaTM4C1294NCPDT.launch
│ │ ├── wolfsslTest.launch
│ │ └── wolfssl_tests.launch
│ ├── .project
│ ├── .settings
│ │ ├── org.eclipse.cdt.codan.core.prefs
│ │ ├── org.eclipse.cdt.debug.core.prefs
│ │ └── org.eclipse.core.resources.prefs
│ ├── .xdchelp
│ ├── Board.h
│ ├── EK_TM4C1294XL.c
│ ├── EK_TM4C1294XL.cmd
│ ├── EK_TM4C1294XL.h
│ ├── wolfssl_tests.c
│ ├── wolfssl_tests.cfg
│ └── wolfssl_tests_readme.txt
└── wolfssl_tirtos_benchmark
│ ├── .ccsproject
│ ├── .config
│ ├── .productview.dat
│ └── xconfig_benchmarkTest
│ │ ├── .buildtime
│ │ ├── .interfaces
│ │ ├── .xdcenv.mak
│ │ ├── compiler.opt
│ │ ├── compiler.opt.defs
│ │ ├── config.bld
│ │ ├── custom.mak
│ │ ├── package.bld
│ │ ├── package.mak
│ │ ├── package.xdc
│ │ ├── package.xs
│ │ └── package
│ │ ├── .vers_b160
│ │ ├── .vers_g180
│ │ ├── .vers_r170
│ │ ├── .xdc-A32
│ │ ├── build.cfg
│ │ ├── cfg
│ │ ├── benchmarkTest.xem4f.mak
│ │ ├── benchmarkTest_pem4f.cfg
│ │ └── benchmarkTest_pem4f.mak
│ │ ├── package.bld.xml
│ │ ├── package.defs.h
│ │ ├── package.xdc.dep
│ │ ├── package.xdc.inc
│ │ ├── package_xconfig_benchmarkTest.c
│ │ ├── rel
│ │ ├── xconfig_benchmarkTest.xdc.inc
│ │ └── xconfig_benchmarkTest.xdc.ninc
│ │ ├── xconfig_benchmarkTest.ccs
│ │ ├── xconfig_benchmarkTest.class
│ │ ├── xconfig_benchmarkTest.java
│ │ └── xconfig_benchmarkTest.sch
│ ├── .cproject
│ ├── .launches
│ ├── benchmarkTest.launch
│ ├── tcpEchoClient_TivaTM4C1294NCPDT.launch
│ ├── tcpEcho_TivaTM4C1294NCPDT.launch
│ └── wolfssl_tirtos_benchmark.launch
│ ├── .project
│ ├── .settings
│ ├── org.eclipse.cdt.codan.core.prefs
│ ├── org.eclipse.cdt.debug.core.prefs
│ └── org.eclipse.core.resources.prefs
│ ├── .xdchelp
│ ├── Board.h
│ ├── EK_TM4C1294XL.c
│ ├── EK_TM4C1294XL.cmd
│ ├── EK_TM4C1294XL.h
│ ├── wolfssl_tirtos_benchmark.c
│ ├── wolfssl_tirtos_benchmark.cfg
│ └── wolfssl_tirtos_benchmark_readme.txt
├── tls-options
├── Makefile
├── README.md
├── client-tls-cipher.c
├── client-tls-peerauth.c
├── client-tls-resume.c
├── client-tls-session.c
├── server-tls-cipher.c
└── server-tls-peerauth.c
├── tls
├── Makefile
├── README.md
├── VisualGDB-tls
│ ├── README.md
│ ├── VisualGDB-client-tls.sln
│ ├── VisualGDB-server-tls.sln
│ ├── client-tcp
│ │ ├── Makefile
│ │ ├── client-tcp-Debug.vgdbsettings
│ │ ├── client-tcp-Release.vgdbsettings
│ │ ├── client-tcp.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-cacb
│ │ ├── Makefile
│ │ ├── client-tls-cacb-Debug.vgdbsettings
│ │ ├── client-tls-cacb-Release.vgdbsettings
│ │ ├── client-tls-cacb.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-callback
│ │ ├── Makefile
│ │ ├── client-tls-callback-Debug.vgdbsettings
│ │ ├── client-tls-callback-Release.vgdbsettings
│ │ ├── client-tls-callback.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-cryptocb
│ │ ├── Makefile
│ │ ├── client-tls-cryptocb-Debug.vgdbsettings
│ │ ├── client-tls-cryptocb-Release.vgdbsettings
│ │ ├── client-tls-cryptocb.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-ecdhe
│ │ ├── Makefile
│ │ ├── client-tls-ecdhe-Debug.vgdbsettings
│ │ ├── client-tls-ecdhe-Release.vgdbsettings
│ │ ├── client-tls-ecdhe.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-nonblocking
│ │ ├── Makefile
│ │ ├── client-tls-nonblocking-Debug.vgdbsettings
│ │ ├── client-tls-nonblocking-Release.vgdbsettings
│ │ ├── client-tls-nonblocking.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-perf
│ │ ├── Makefile
│ │ ├── client-tls-perf-Debug.vgdbsettings
│ │ ├── client-tls-perf-Release.vgdbsettings
│ │ ├── client-tls-perf.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-pkcallback
│ │ ├── Makefile
│ │ ├── client-tls-pkcallback-Debug.vgdbsettings
│ │ ├── client-tls-pkcallback-Release.vgdbsettings
│ │ ├── client-tls-pkcallback.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-pkcs12
│ │ ├── Makefile
│ │ ├── client-tls-pkcs12-Debug.vgdbsettings
│ │ ├── client-tls-pkcs12-Release.vgdbsettings
│ │ ├── client-tls-pkcs12.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-resume
│ │ ├── Makefile
│ │ ├── client-tls-resume-Debug.vgdbsettings
│ │ ├── client-tls-resume-Release.vgdbsettings
│ │ ├── client-tls-resume.sln
│ │ ├── client-tls-resume.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-uart
│ │ ├── Makefile
│ │ ├── client-tls-uart-Debug.vgdbsettings
│ │ ├── client-tls-uart-Release.vgdbsettings
│ │ ├── client-tls-uart.sln
│ │ ├── client-tls-uart.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls-writedup
│ │ ├── Makefile
│ │ ├── client-tls-writedup-Debug.vgdbsettings
│ │ ├── client-tls-writedup-Release.vgdbsettings
│ │ ├── client-tls-writedup.sln
│ │ ├── client-tls-writedup.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls
│ │ ├── Makefile
│ │ ├── client-tls-Debug.vgdbsettings
│ │ ├── client-tls-Release.vgdbsettings
│ │ ├── client-tls.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls13-resume
│ │ ├── Makefile
│ │ ├── client-tls13-resume-Debug.vgdbsettings
│ │ ├── client-tls13-resume-Release.vgdbsettings
│ │ ├── client-tls13-resume.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── client-tls13
│ │ ├── Makefile
│ │ ├── client-tls13-Debug.vgdbsettings
│ │ ├── client-tls13-Release.vgdbsettings
│ │ ├── client-tls13.c
│ │ ├── client-tls13.sln
│ │ ├── client-tls13.vcxproj
│ │ ├── debug.mak
│ │ └── release.mak
│ ├── images
│ │ ├── VisualGDB-New-Project-Step1.png
│ │ ├── VisualGDB-New-Project-Step2.png
│ │ ├── VisualGDB-New-Project-Step3.png
│ │ ├── VisualGDB-New-Project-Step4.png
│ │ ├── VisualGDB-New-Project-Step5.png
│ │ ├── VisualGDB-New-Project-Step6.png
│ │ ├── VisualGDB-New-Project-Step7.png
│ │ ├── VisualGDB-New-Project-Step8.png
│ │ ├── VisualGDB-build.png
│ │ ├── VisualGDB-pick-WSL.png
│ │ ├── VisualGDB-select-build-machine.png
│ │ ├── VisualStudio-firewall.png
│ │ ├── Windows-Firewall-Step1.png
│ │ ├── Windows-Firewall-Step2.png
│ │ ├── Windows-Firewall-Step3.png
│ │ ├── Windows-Firewall-Step4.png
│ │ ├── Windows-Firewall-Step5.png
│ │ ├── Windows-Firewall-Step6.png
│ │ ├── common_flags-pthread.png
│ │ └── failed_to_start_gdb_session.png
│ ├── memory-tls
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── memory-tls-Debug.vgdbsettings
│ │ ├── memory-tls-Release.vgdbsettings
│ │ ├── memory-tls.vcxproj
│ │ └── release.mak
│ ├── server-tcp
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tcp-Debug.vgdbsettings
│ │ ├── server-tcp-Release.vgdbsettings
│ │ └── server-tcp.vcxproj
│ ├── server-tls-callback
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-callback-Debug.vgdbsettings
│ │ ├── server-tls-callback-Release.vgdbsettings
│ │ └── server-tls-callback.vcxproj
│ ├── server-tls-ecdhe
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-ecdhe-Debug.vgdbsettings
│ │ ├── server-tls-ecdhe-Release.vgdbsettings
│ │ └── server-tls-ecdhe.vcxproj
│ ├── server-tls-epoll-perf
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-epoll-perf-Debug.vgdbsettings
│ │ ├── server-tls-epoll-perf-Release.vgdbsettings
│ │ └── server-tls-epoll-perf.vcxproj
│ ├── server-tls-epoll-threaded
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-epoll-threaded-Debug.vgdbsettings
│ │ ├── server-tls-epoll-threaded-Release.vgdbsettings
│ │ └── server-tls-epoll-threaded.vcxproj
│ ├── server-tls-nonblocking
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-nonblocking-Debug.vgdbsettings
│ │ ├── server-tls-nonblocking-Release.vgdbsettings
│ │ └── server-tls-nonblocking.vcxproj
│ ├── server-tls-pkcallback
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-pkcallback-Debug.vgdbsettings
│ │ ├── server-tls-pkcallback-Release.vgdbsettings
│ │ └── server-tls-pkcallback.vcxproj
│ ├── server-tls-threaded
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-threaded-Debug.vgdbsettings
│ │ ├── server-tls-threaded-Release.vgdbsettings
│ │ └── server-tls-threaded.vcxproj
│ ├── server-tls-uart
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-uart-Debug.vgdbsettings
│ │ ├── server-tls-uart-Release.vgdbsettings
│ │ └── server-tls-uart.vcxproj
│ ├── server-tls-verifycallback
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-verifycallback-Debug.vgdbsettings
│ │ ├── server-tls-verifycallback-Release.vgdbsettings
│ │ └── server-tls-verifycallback.vcxproj
│ ├── server-tls
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── server-tls-Debug.vgdbsettings
│ │ ├── server-tls-Release.vgdbsettings
│ │ └── server-tls.vcxproj
│ └── server-tls13
│ │ ├── Makefile
│ │ ├── debug.mak
│ │ ├── release.mak
│ │ ├── resource.h
│ │ ├── server-tls13-Debug.vgdbsettings
│ │ ├── server-tls13-Release.vgdbsettings
│ │ └── server-tls13.vcxproj
├── client-ech-local.c
├── client-ech.c
├── client-tcp.c
├── client-tls-bio.c
├── client-tls-cacb.c
├── client-tls-callback.c
├── client-tls-cryptocb.c
├── client-tls-ecdhe.c
├── client-tls-nonblocking.c
├── client-tls-perf.c
├── client-tls-pkcallback.c
├── client-tls-pkcs12.c
├── client-tls-posthsauth.c
├── client-tls-resume.c
├── client-tls-uart.c
├── client-tls-writedup.c
├── client-tls.c
├── client-tls13-resume.c
├── client-tls13.c
├── cryptocb-common.c
├── cryptocb-common.h
├── memory-tls.c
├── server-ech-local.c
├── server-tcp.c
├── server-tls-callback.c
├── server-tls-cryptocb.c
├── server-tls-ecdhe.c
├── server-tls-epoll-perf.c
├── server-tls-epoll-threaded.c
├── server-tls-nonblocking.c
├── server-tls-pkcallback.c
├── server-tls-poll-perf.c
├── server-tls-posthsauth.c
├── server-tls-threaded.c
├── server-tls-uart.c
├── server-tls-verifycallback.c
├── server-tls-writedup.c
├── server-tls.c
└── server-tls13.c
├── tpm
├── Makefile
├── README.md
└── evp_tpm.c
├── uefi
├── Makefile
├── README.md
├── main.c
├── startup.nsh
├── string.c
└── user_settings.h
├── utasker
├── README.md
├── wolfSSLClientTask.c
├── wolfSSLClientTask.h
├── wolfSSLServerTask.c
└── wolfSSLServerTask.h
└── x509_acert
├── Makefile
├── README.md
├── certs
├── acert.pem
├── acert_ietf.pem
├── acert_ietf_pubkey.pem
├── acert_pubkey.pem
└── rsa_pss
│ ├── acert.pem
│ ├── acert_ietf.pem
│ ├── acert_ietf_pkey.pem
│ └── acert_pkey.pem
├── set_env
└── test_x509_acert.c
/Arduino/sketches/template/template.adeps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Platform
6 |
7 | teensy
8 | avr
9 | 1.59.0
10 |
11 |
12 |
13 | Library
14 |
15 | wolfSSL Inc.
16 | wolfssl
17 | 5.7.6
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Arduino/sketches/wolfssl_AES_CTR/wolfssl_AES_CTR.adeps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Platform
6 |
7 | teensy
8 | avr
9 | 1.59.0
10 |
11 |
12 |
13 | Library
14 |
15 | wolfSSL Inc.
16 | wolfssl
17 | 5.7.6
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Arduino/sketches/wolfssl_version/README.md:
--------------------------------------------------------------------------------
1 | # Arduino Basic Hello World
2 |
3 | This example simply compiles in wolfSSL and shows the current version number.
4 |
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-client/components/wolfssl/Kconfig.projbuild.bak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-client/components/wolfssl/Kconfig.projbuild.bak
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-client/partitions_singleapp_large.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-client/partitions_singleapp_large.csv
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-client/partitions_singleapp_large.csv.bak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-client/partitions_singleapp_large.csv.bak
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-client/sdkconfig.defaults:
--------------------------------------------------------------------------------
1 | # This file was generated using idf.py save-defconfig. It can be edited manually.
2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration
3 | #
4 | CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
5 |
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-server/components/wolfssl/Kconfig.projbuild.bak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-server/components/wolfssl/Kconfig.projbuild.bak
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-server/partitions_singleapp_large.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-server/partitions_singleapp_large.csv
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-server/partitions_singleapp_large.csv.bak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/DTLS13-wifi-station-server/partitions_singleapp_large.csv.bak
--------------------------------------------------------------------------------
/ESP32/DTLS13-wifi-station-server/sdkconfig.defaults:
--------------------------------------------------------------------------------
1 | # This file was generated using idf.py save-defconfig. It can be edited manually.
2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration
3 | #
4 | CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
5 |
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/ESP32_hello_world.bat:
--------------------------------------------------------------------------------
1 | esptool.exe --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader_qio_80m.bin 0x10000 hello_world.ino.bin 0x8000 hello_world.ino.partitions.bin
2 |
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/boot_app0.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/ESP32-hello-world/boot_app0.bin
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/bootloader_qio_80m.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/ESP32-hello-world/bootloader_qio_80m.bin
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/hello_world.ino:
--------------------------------------------------------------------------------
1 | void setup() {
2 | // put your setup code here, to run once:
3 | Serial.begin(115200);
4 | while (!Serial) {
5 | delay(250);
6 | }
7 | }
8 |
9 | void loop() {
10 | // put your main code here, to run repeatedly:
11 | Serial.println(F("Hello World!"));
12 | }
13 |
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/hello_world.ino.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/ESP32-hello-world/hello_world.ino.bin
--------------------------------------------------------------------------------
/ESP32/ESP32-hello-world/hello_world.ino.partitions.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/ESP32-hello-world/hello_world.ino.partitions.bin
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # The following lines of boilerplate have to be in your project's CMakeLists
2 | # in this exact order for cmake to work correctly
3 | cmake_minimum_required(VERSION 3.5)
4 |
5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake)
6 | # include(/SysGCC/esp32/esp-idf/v4.4/tools/cmake/project.cmake)
7 | project(ESP32-TLS13-enc28j60-client)
8 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-client/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a
3 | # project subdirectory.
4 | #
5 |
6 | PROJECT_NAME := enc28j60
7 |
8 | include $(IDF_PATH)/make/project.mk
9 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-client/main/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(srcs enc28j60_example_main.c
2 | "esp_eth_mac_enc28j60.c"
3 | "esp_eth_phy_enc28j60.c")
4 |
5 | idf_component_register(
6 | SRCS "${srcs}"
7 | INCLUDE_DIRS "."
8 | PRIV_INCLUDE_DIRS
9 | /SysGCC/esp32/esp-idf/v4.4/components
10 | /SysGCC/esp32/esp-idf/v4.4/components/wolfssl)
11 | set_source_files_properties(enc28j60_example_main2.c PROPERTIES HEADER_FILE_ONLY TRUE)
12 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-client/main/component.mk:
--------------------------------------------------------------------------------
1 | #
2 | # "main" pseudo-component makefile.
3 | #
4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
5 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-client/sdkconfig.defaults:
--------------------------------------------------------------------------------
1 | CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n
2 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # The following lines of boilerplate have to be in your project's CMakeLists
2 | # in this exact order for cmake to work correctly
3 | cmake_minimum_required(VERSION 3.5)
4 |
5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake)
6 | project(ESP32-TLS13-enc28j60-server)
7 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a
3 | # project subdirectory.
4 | #
5 |
6 | PROJECT_NAME := enc28j60
7 |
8 | include $(IDF_PATH)/make/project.mk
9 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/components/eth_enc28j60/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | idf_component_register(SRCS "esp_eth_mac_enc28j60.c"
2 | "esp_eth_phy_enc28j60.c"
3 | INCLUDE_DIRS ".")
4 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/components/eth_enc28j60/component.mk:
--------------------------------------------------------------------------------
1 | #
2 | # "main" pseudo-component makefile.
3 | #
4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
5 |
6 | COMPONENT_ADD_INCLUDEDIRS := .
7 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/main/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(srcs "enc28j60_example_main.c" esp_eth_mac_enc28j60.c esp_eth_phy_enc28j60.c)
2 |
3 | idf_component_register(SRCS "${srcs}"
4 | INCLUDE_DIRS ".")
5 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/main/component.mk:
--------------------------------------------------------------------------------
1 | #
2 | # "main" pseudo-component makefile.
3 | #
4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
5 |
--------------------------------------------------------------------------------
/ESP32/TLS13-ENC28J60-server/sdkconfig.defaults:
--------------------------------------------------------------------------------
1 | CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n
2 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # The following five lines of boilerplate have to be in your project's
2 | # CMakeLists in this exact order for cmake to work correctly
3 | cmake_minimum_required(VERSION 3.5)
4 |
5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake)
6 | project(ESP32-TLS13-wifi_station-client)
7 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-client/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a
3 | # project subdirectory.
4 | #
5 |
6 | PROJECT_NAME := wifi_station
7 |
8 | include $(IDF_PATH)/make/project.mk
9 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-client/main/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | idf_component_register(SRCS "station_example_main.c"
2 | INCLUDE_DIRS ".")
3 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-client/main/Kconfig.projbuild:
--------------------------------------------------------------------------------
1 | menu "Example Configuration"
2 |
3 | config ESP_WIFI_SSID
4 | string "WiFi SSID"
5 | default "myssid"
6 | help
7 | SSID (network name) for the example to connect to.
8 |
9 | config ESP_WIFI_PASSWORD
10 | string "WiFi Password"
11 | default "mypassword"
12 | help
13 | WiFi password (WPA or WPA2) for the example to use.
14 |
15 | config ESP_MAXIMUM_RETRY
16 | int "Maximum retry"
17 | default 5
18 | help
19 | Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
20 | endmenu
21 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-client/main/component.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Main component makefile.
3 | #
4 | # This Makefile can be left empty. By default, it will take the sources in the
5 | # src/ directory, compile them and link them into lib(subdirectory_name).a
6 | # in the build directory. This behaviour is entirely configurable,
7 | # please read the ESP-IDF documents if you need to do this.
8 | #
9 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-server/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # The following five lines of boilerplate have to be in your project's
2 | # CMakeLists in this exact order for cmake to work correctly
3 | cmake_minimum_required(VERSION 3.5)
4 |
5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake)
6 | project(ESP32-TLS13-wifi_station-server)
7 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-server/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a
3 | # project subdirectory.
4 | #
5 |
6 | PROJECT_NAME := wifi_station
7 |
8 | include $(IDF_PATH)/make/project.mk
9 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-server/main/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | idf_component_register(SRCS "station_example_main.c"
2 | INCLUDE_DIRS ".")
3 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-server/main/Kconfig.projbuild:
--------------------------------------------------------------------------------
1 | menu "Example Configuration"
2 |
3 | config ESP_WIFI_SSID
4 | string "WiFi SSID"
5 | default "myssid"
6 | help
7 | SSID (network name) for the example to connect to.
8 |
9 | config ESP_WIFI_PASSWORD
10 | string "WiFi Password"
11 | default "mypassword"
12 | help
13 | WiFi password (WPA or WPA2) for the example to use.
14 |
15 | config ESP_MAXIMUM_RETRY
16 | int "Maximum retry"
17 | default 5
18 | help
19 | Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
20 | endmenu
21 |
--------------------------------------------------------------------------------
/ESP32/TLS13-wifi_station-server/main/component.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Main component makefile.
3 | #
4 | # This Makefile can be left empty. By default, it will take the sources in the
5 | # src/ directory, compile them and link them into lib(subdirectory_name).a
6 | # in the build directory. This behaviour is entirely configurable,
7 | # please read the ESP-IDF documents if you need to do this.
8 | #
9 |
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-configure-new-project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-configure-new-project.png
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-create-new-project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-create-new-project.png
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-new-espressif-project-debug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-new-espressif-project-debug.png
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-new-espressif-project-eth_enc28j60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-new-espressif-project-eth_enc28j60.png
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-new-espressif-project-toolchain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-new-espressif-project-toolchain.png
--------------------------------------------------------------------------------
/ESP32/images/VisualGDB-new-espressif-project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/ESP32/images/VisualGDB-new-espressif-project.png
--------------------------------------------------------------------------------
/RPi-Pico/config/user_settings_asm.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/RPi-Pico/config/user_settings_asm.h
--------------------------------------------------------------------------------
/RPi-Pico/user_settings_asm.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/RPi-Pico/user_settings_asm.h
--------------------------------------------------------------------------------
/SE050/images/se05x_middleware_cmake_openssl_scp03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SE050/images/se05x_middleware_cmake_openssl_scp03.png
--------------------------------------------------------------------------------
/SE050/wolfssl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ADD_SUBDIRECTORY(wolfcrypt_benchmark)
2 | ADD_SUBDIRECTORY(wolfcrypt_test)
3 | ADD_SUBDIRECTORY(wolfcrypt_key_cert_insert)
4 | ADD_SUBDIRECTORY(wolfcrypt_generate_csr)
5 | ADD_SUBDIRECTORY(wolfssl_client)
6 | ADD_SUBDIRECTORY(wolfssl_client_cert_key)
7 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfcrypt_benchmark/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfcrypt_benchmark)
2 | FILE(
3 | GLOB
4 | files
5 | *.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFCRYPTBENCHMARK NO_MAIN_DRIVER BENCH_EMBEDDED USE_CERT_BUFFERS_2048 USE_CERT_BUFFERS_256 USE_FLAT_BENCHMARK_H
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc /home/pi/se_mw/wolfssl
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfcrypt_generate_csr/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfcrypt_generate_csr)
2 | FILE(
3 | GLOB
4 | files
5 | wolfcrypt_generate_csr.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFCRYPT_GENERATE_CSR
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfcrypt_key_cert_insert/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfcrypt_key_cert_insert)
2 | FILE(
3 | GLOB
4 | files
5 | *.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFCRYPT_KEY_CERT_INSERT USE_CERT_BUFFERS_2048 USE_CERT_BUFFERS_256
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfcrypt_test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfcrypt_test)
2 | FILE(
3 | GLOB
4 | files
5 | *.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFCRYPTTEST NO_MAIN_DRIVER BENCH_EMBEDDED USE_CERT_BUFFERS_2048 USE_CERT_BUFFERS_256 USE_FLAT_TEST_H
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc /home/pi/se_mw/wolfssl
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfssl_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfssl_client)
2 | FILE(
3 | GLOB
4 | files
5 | *.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFSSL_CLIENT NO_MAIN_DRIVER USE_CERT_BUFFERS_2048 USE_CERT_BUFFERS_256
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc /home/pi/se_mw/wolfssl
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SE050/wolfssl/wolfssl_client_cert_key/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(wolfssl_client_cert_key)
2 | FILE(
3 | GLOB
4 | files
5 | *.c
6 | )
7 |
8 | ADD_EXECUTABLE(
9 | ${PROJECT_NAME}
10 | ${KSDK_STARTUP_FILE} ${files}
11 | )
12 |
13 | TARGET_COMPILE_DEFINITIONS(
14 | ${PROJECT_NAME}
15 | PRIVATE SIMW_DEMO_ENABLE__DEMO_WOLFSSL_CLIENT_CERT_KEY NO_MAIN_DRIVER USE_CERT_BUFFERS_2048 USE_CERT_BUFFERS_256 WOLF_PRIVATE_KEY_ID
16 | )
17 |
18 | TARGET_INCLUDE_DIRECTORIES(
19 | ${PROJECT_NAME}
20 | PRIVATE ${SIMW_TOP_DIR}/sss/ex/inc /home/pi/se_mw/wolfssl
21 | )
22 |
23 | TARGET_LINK_LIBRARIES(
24 | ${PROJECT_NAME}
25 | SSS_APIs
26 | ex_common
27 | wolfssl
28 | )
29 |
30 | CREATE_BINARY(${PROJECT_NAME})
31 |
32 | IF(SSS_HAVE_HOST_LINUX_LIKE)
33 | INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
34 | ENDIF()
35 |
--------------------------------------------------------------------------------
/SGX_Linux/Makefile:
--------------------------------------------------------------------------------
1 | SGX_SDK ?= /opt/intel/sgxsdk
2 | SGX_MODE ?= SIM
3 | SGX_ARCH ?= x64
4 | SGX_WOLFSSL_LIB ?= ./
5 |
6 | ifndef WOLFSSL_ROOT
7 | $(error WOLFSSL_ROOT is not set. Please set to root wolfssl directory)
8 | endif
9 |
10 |
11 |
12 | all:
13 | $(MAKE) -ef sgx_u.mk all
14 | $(MAKE) -ef sgx_t.mk all
15 |
16 | clean:
17 | $(MAKE) -ef sgx_u.mk clean
18 | $(MAKE) -ef sgx_t.mk clean
19 |
20 |
--------------------------------------------------------------------------------
/SGX_Linux/README-images/expected-make-output.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Linux/README-images/expected-make-output.png
--------------------------------------------------------------------------------
/SGX_Linux/README-images/expected-run-output-benchmark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Linux/README-images/expected-run-output-benchmark.png
--------------------------------------------------------------------------------
/SGX_Linux/README-images/expected-run-output-client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Linux/README-images/expected-run-output-client.png
--------------------------------------------------------------------------------
/SGX_Linux/README-images/expected-run-output-server.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Linux/README-images/expected-run-output-server.png
--------------------------------------------------------------------------------
/SGX_Linux/README-images/expected-run-output-test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Linux/README-images/expected-run-output-test.png
--------------------------------------------------------------------------------
/SGX_Linux/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | if [ -z $1 ]; then
4 | echo "Add path to wolfssl directory, i.e. ./build.sh ../../ "
5 | exit 1
6 | fi
7 |
8 | make SGX_MODE=HW SGX_PRERELEASE=1 SGX_WOLFSSL_LIB=${1}IDE/LINUX-SGX/ WOLFSSL_ROOT=${1} SGX_DEBUG=0 HAVE_WOLFSSL_TEST=1 HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_SP=1
9 |
10 | exit 0
11 |
--------------------------------------------------------------------------------
/SGX_Linux/trusted/Wolfssl_Enclave.config.xml:
--------------------------------------------------------------------------------
1 |
2 | 0
3 | 0
4 | 0x400000
5 | 0x1000000
6 | 10
7 | 1
8 | 0
9 |
10 |
--------------------------------------------------------------------------------
/SGX_Linux/trusted/Wolfssl_Enclave.lds:
--------------------------------------------------------------------------------
1 | Benchmark_Enclave.so
2 | {
3 | global:
4 | g_global_data_sim;
5 | g_global_data;
6 | Benchmark_Enclave_entry;
7 | local:
8 | *;
9 | };
10 |
--------------------------------------------------------------------------------
/SGX_Linux/untrusted/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 |
9 | #include
10 | #include
11 | #include
12 |
13 | // TODO: reference additional headers your program requires here
14 |
--------------------------------------------------------------------------------
/SGX_Windows/Benchmarks/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // Benchmarks.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/SGX_Windows/Benchmarks/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #include
11 | #include
12 |
13 |
14 |
15 | // TODO: reference additional headers your program requires here
16 |
--------------------------------------------------------------------------------
/SGX_Windows/Benchmarks/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/SGX_Windows/Enclave/Enclave.config.xml:
--------------------------------------------------------------------------------
1 |
2 | 0
3 | 0
4 | 0x100000
5 | 0x200000
6 | 1
7 | 1
8 | 0
9 | 0
10 | 0xFFFFFFFF
11 |
12 |
--------------------------------------------------------------------------------
/SGX_Windows/Enclave/SGX_Benchmark.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef SGX_BENCHMARK_H
3 | #define SGX_BENCHMARK_H
4 |
5 | #include
6 |
7 | enum BenchmarkBounds {
8 | numBlocks = 50, /* how many megs to test (en/de)cryption */
9 | ntimes = 100,
10 | genTimes = 100,
11 | agreeTimes = 100
12 | };
13 |
14 | static byte plain[1024 * 1024];
15 | #endif
--------------------------------------------------------------------------------
/SGX_Windows/README-images/expected-results.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Windows/README-images/expected-results.PNG
--------------------------------------------------------------------------------
/SGX_Windows/README-images/set-include-path.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Windows/README-images/set-include-path.PNG
--------------------------------------------------------------------------------
/SGX_Windows/README-images/wolfssl-lib.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/SGX_Windows/README-images/wolfssl-lib.PNG
--------------------------------------------------------------------------------
/STM32/README.md:
--------------------------------------------------------------------------------
1 | # STM32 Examples
2 |
3 | The STM32 examples can be found in the [wolfSSL/wolfssl-examples-stm32](https://github.com/wolfSSL/wolfssl-examples-stm32) repository.
4 |
--------------------------------------------------------------------------------
/TOPPERS/setting.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # param none
3 | # copy edmac to asp
4 | cp ./WolfSSLDemo/target_edmac.c ./asp/target/rx72n_gcc/
5 | cp ./WolfSSLDemo/target_edmac.h ./asp/target/rx72n_gcc/
6 | cp ./WolfSSLDemo/target_edmac.cfg ./asp/target/rx72n_gcc/
7 |
8 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .DS_Store
3 |
4 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | wolfssl_ndk_gradle
3 |
4 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | google()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.2.0'
10 |
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | jcenter()
19 | google()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfcryptjni-ndk-gradle/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon May 23 14:17:29 MDT 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/android/wolfcryptjni-ndk-gradle/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | wolfssl_ndk_gradle
3 | Select Operation to Run:
4 | wolfCrypt Test
5 | wolfCrypt Bench
6 | SSLSocket Connect (wolfssl.com)
7 |
8 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | google()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:8.3.1'
10 |
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | mavenCentral()
19 | google()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-gradle/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon May 23 13:47:02 MDT 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-gradle/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/ant.properties:
--------------------------------------------------------------------------------
1 | # This file is used to override default values used by the Ant build system.
2 | #
3 | # This file must be checked into Version Control Systems, as it is
4 | # integral to the build system of your project.
5 |
6 | # This file is only used by the Ant script.
7 |
8 | # You can use this to override default values such as
9 | # 'source.dir' for the location of your java source folder and
10 | # 'out.dir' for the location of your output folder.
11 |
12 | # You can also use it define how the release builds are signed by declaring
13 | # the following properties:
14 | # 'key.store' for the location of your keystore and
15 | # 'key.alias' for the name of the key to use.
16 | # The password will be asked during the build when you use the 'release' target.
17 |
18 | source.dir=src;wolfssljni/src/java;
19 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system use,
7 | # "build.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Project target.
11 | target=android-24
12 |
13 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/res/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-sample/res/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/res/drawable-ldpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-sample/res/drawable-ldpi/icon.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/res/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/android/wolfssljni-ndk-sample/res/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/android/wolfssljni-ndk-sample/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | JNITest
4 |
5 |
--------------------------------------------------------------------------------
/btle/ecies/BTLESecureMessageExchange.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/btle/ecies/BTLESecureMessageExchange.pdf
--------------------------------------------------------------------------------
/caam/seco/Makefile:
--------------------------------------------------------------------------------
1 | # SECO Examples Makefile
2 | WOLFSSL_INSTALL_DIR ?= /usr/local
3 | CRYPTODEV_DIR ?= /usr/include
4 | ZLIB_DIR ?= /usr
5 | CFLAGS = -O -Wall -I$(WOLFSSL_INSTALL_DIR)/include -I$(HSM_DIR)/include -I$(CRYPTODEV_DIR)
6 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -L$(ZLIB_DIR)/lib -lm -lz -lpthread
7 |
8 | # option variables
9 | DYN_LIB = -lwolfssl
10 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
11 |
12 | # build targets
13 | SRC=$(wildcard *.c)
14 | TARGETS=$(patsubst %.c, %, $(SRC))
15 |
16 | .PHONY: clean all
17 | all: $(TARGETS)
18 |
19 | # build template
20 | %: %.c
21 | $(CC) -o $@ $< $(CFLAGS) $(LIBS) $(STATIC_LIB) $(HSM_DIR)/lib/hsm_lib.a $(HSM_DIR)/lib/seco_nvm_manager.a
22 |
23 | clean:
24 | rm -f $(TARGETS)
25 |
--------------------------------------------------------------------------------
/caam/seco/cryptodev/Makefile:
--------------------------------------------------------------------------------
1 | # SECO Examples Makefile
2 | WOLFSSL_INSTALL_DIR ?= /usr/local
3 | CRYPTODEV_DIR ?= /usr/include
4 | ZLIB_DIR ?= /usr
5 | CFLAGS = -O -Wall -I$(WOLFSSL_INSTALL_DIR)/include -I$(HSM_DIR)/include -I$(CRYPTODEV_DIR)
6 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -L$(ZLIB_DIR)/lib -lm -lz -lpthread
7 |
8 | # option variables
9 | DYN_LIB = -lwolfssl
10 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
11 |
12 | # build targets
13 | SRC=$(wildcard *.c)
14 | TARGETS=$(patsubst %.c, %, $(SRC))
15 |
16 | .PHONY: clean all
17 | all: $(TARGETS)
18 |
19 | # build template
20 | %: %.c
21 | $(CC) -o $@ $< $(CFLAGS) $(LIBS) $(STATIC_LIB) $(HSM_DIR)/lib/hsm_lib.a $(HSM_DIR)/lib/seco_nvm_manager.a
22 |
23 | clean:
24 | rm -f $(TARGETS)
25 |
--------------------------------------------------------------------------------
/can-bus/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | LIBS=-lwolfssl
3 | CFLAGS=-g -Wno-cpp -Wall -Wextra -Wpedantic -Wdeclaration-after-statement
4 |
5 | COMMON_OBJS=common.o
6 | CLIENT_OBJS=client.o
7 | SERVER_OBJS=server.o
8 |
9 | all: client server
10 |
11 | %.o: %.c
12 | @$(CC) -c $< -o $@ $(CFLAGS)
13 |
14 | client: $(COMMON_OBJS) $(CLIENT_OBJS)
15 | @$(CC) -o $@ $(COMMON_OBJS) $(CLIENT_OBJS) $(CFLAGS) $(LIBS)
16 |
17 | server: $(COMMON_OBJS) $(SERVER_OBJS)
18 | @$(CC) -o $@ $(COMMON_OBJS) $(SERVER_OBJS) $(CFLAGS) $(LIBS)
19 |
20 | clean:
21 | @rm -f *.o
22 | @rm -f client
23 | @rm -f server
24 |
--------------------------------------------------------------------------------
/certfields/all-fields/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 |
4 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
5 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
6 |
7 | app: main.o
8 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
9 |
10 | .PHONY: clean
11 |
12 | clean:
13 | rm -f *.o app
14 |
--------------------------------------------------------------------------------
/certfields/extendedKeyUsage/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc -fsanitize=address
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-Wall -I$(WOLFSSL_INSTALL_DIR)/include
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | run: test.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o run
13 |
--------------------------------------------------------------------------------
/certfields/extract-pubkey-from-certfile/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 |
3 | WOLFSSL_INSTALL_DIR=/usr/local
4 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
5 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
6 |
7 | app: main.o
8 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
9 |
10 | .PHONY: clean
11 |
12 | clean:
13 | rm -f *.o app
14 |
--------------------------------------------------------------------------------
/certfields/extract-pubkey-from-certfile/README.md:
--------------------------------------------------------------------------------
1 | # wolfSSL X509 Field Extraction Example
2 |
3 | Example of parsing a DER encoded self-signed certificate and extracting
4 | public key and subject name information.
5 |
6 | ## Compiling and Running the Example
7 |
8 | To compile, first build wolfSSL with the OpenSSL compatibility layer enabled:
9 |
10 | ```
11 | $ cd wolfssl-X.X.X
12 | $ ./configure --enable-opensslextra
13 | $ make
14 | $ sudo make install
15 | ```
16 |
17 | Then, compile the example app:
18 |
19 | ```
20 | $ make
21 | $ ./app
22 | ```
23 |
24 | For support, please contact support@wolfssl.com
25 |
--------------------------------------------------------------------------------
/certfields/keyUsage/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-Wall -I$(WOLFSSL_INSTALL_DIR)/include
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | run: test.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o run
13 |
--------------------------------------------------------------------------------
/certgen/ca-ecc-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certgen/ca-ecc-cert.der
--------------------------------------------------------------------------------
/certgen/ca-ecc-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certgen/ca-ecc-key.der
--------------------------------------------------------------------------------
/certgen/ca-ecc-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PRIVATE KEY-----
2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgAuEzmHeXrEpZbSib
3 | bqCTmwdxi01gY4WZ5rsWcOkK9oChRANCAAQC09lu1gGORci5kDHlwEzjnq0pOJi6
4 | ENbpCSqAqS4XKrmKvzODRuOVC+R3QLU7Q0UzD2FTfDdEwcv8gMroQ+qn
5 | -----END PRIVATE KEY-----
6 |
--------------------------------------------------------------------------------
/certmanager/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | all: certloadverifybuffer certverify
7 |
8 | certloadverifybuffer: certloadverifybuffer.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
10 | certverify: certverify.o
11 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
12 |
13 | .PHONY: clean
14 |
15 | clean:
16 | rm -f *.o certverify certloadverifybuffer
17 |
--------------------------------------------------------------------------------
/certmanager/README.md:
--------------------------------------------------------------------------------
1 | # wolfSSL CertManager Example
2 |
3 | This directory contains:
4 |
5 | A simple example of using the wolfSSL CertManager to verify a certificate
6 | in a standalone manner, separate from an SSL/TLS connection.
7 |
8 | ## Compiling and Running the Example
9 |
10 | ```
11 | $ cd wolfssl
12 | $ ./autogen.sh # If downloaded from github
13 | $ ./configure --enable-crl # CRL is optional.
14 | $ make all
15 | $ make check
16 | $ sudo make install
17 | ```
18 |
19 | ```
20 | $ cd wolfssl-examples
21 | $ cd certmanager
22 | $ make all
23 | $ ./certverify
24 | ```
25 |
26 |
--------------------------------------------------------------------------------
/certs/1024/ca-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/ca-cert.der
--------------------------------------------------------------------------------
/certs/1024/ca-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/ca-key.der
--------------------------------------------------------------------------------
/certs/1024/client-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/client-cert.der
--------------------------------------------------------------------------------
/certs/1024/client-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/client-key.der
--------------------------------------------------------------------------------
/certs/1024/client-keyPub.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/client-keyPub.der
--------------------------------------------------------------------------------
/certs/1024/dh1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/dh1024.der
--------------------------------------------------------------------------------
/certs/1024/dh1024.pem:
--------------------------------------------------------------------------------
1 | PKCS#3 DH Parameters: (1024 bit)
2 | prime:
3 | 00:a4:d2:b8:6e:78:f5:d9:ed:2d:7c:dd:b6:16:86:
4 | 5a:4b:05:76:90:dd:66:61:b9:6d:52:a7:1c:af:62:
5 | c6:69:47:7b:39:f2:fb:94:ec:bc:79:ff:24:5e:ef:
6 | 79:bb:59:b2:fc:ca:07:d6:f4:e9:34:f7:e8:38:e7:
7 | d7:33:44:1d:a3:64:76:1a:84:97:54:74:40:84:1f:
8 | 15:fe:7c:25:2a:2b:25:fd:9e:c1:89:33:8c:39:25:
9 | 2b:40:e6:cd:f8:a8:a1:8a:53:c6:47:b2:a0:d7:8f:
10 | eb:2e:60:0a:0d:4b:f8:b4:94:8c:63:0a:ad:c7:10:
11 | ea:c7:a1:b9:9d:f2:a8:37:73
12 | generator: 2 (0x2)
13 | -----BEGIN DH PARAMETERS-----
14 | MIGHAoGBAKTSuG549dntLXzdthaGWksFdpDdZmG5bVKnHK9ixmlHezny+5TsvHn/
15 | JF7vebtZsvzKB9b06TT36Djn1zNEHaNkdhqEl1R0QIQfFf58JSorJf2ewYkzjDkl
16 | K0DmzfiooYpTxkeyoNeP6y5gCg1L+LSUjGMKrccQ6sehuZ3yqDdzAgEC
17 | -----END DH PARAMETERS-----
18 |
--------------------------------------------------------------------------------
/certs/1024/dsa1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/dsa1024.der
--------------------------------------------------------------------------------
/certs/1024/dsa1024.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN DSA PRIVATE KEY-----
2 | MIIBvAIBAAKBgQD3S/m7FZjr3d4eTnGIhfK3uuJK2nZAzWlInoN8EfdlMXj1JS33
3 | t/hSP77YtsX+GBVbudWShryyF3zYsL6gfPLVc3pYj43lSgCZg0rAnhYJoRA01Rm7
4 | Y+Pdg3R/EMpzde4xSt2f4AJqne6yS6drKmzHhnfoBBXckrR6KR9Og2OFVQIVANIF
5 | 5HP7wZnF3GikjZInPeJSX4mLAoGBAKohAglDbvuiVBSFCvQofMvM2/UeohipId6I
6 | iDOMLuuNo/AdyI/2fvjPEvW0oRFvDNTwBq3E/BRFx5QVvBlLru+Tak/MFNhHizlm
7 | hwLUKAq47gk39ACgBKd5p9I89zRDVo7QfMLYTQ+J7RTBLJxMGZue3FMJn98t8Awn
8 | VDp3FC3eAoGBAOgffLfAVFGnKC1YfN7UXN3VdoQ8NiDAwyXXOjjhVMj9QGgaIVQm
9 | ORS/9qOcXtkr98klugAJy38MSiT9FRYVSM0LUkRAe5BjK5AixRgFgFOvgx9U4rCi
10 | C1qSJOFiKD+3yrmJ1qC3ra4F4cFZQO1KG2ine/vDIIHvS/NpkbDOOrA4AhQlODuh
11 | GXXfm/VyU0854RzsE4SCGA==
12 | -----END DSA PRIVATE KEY-----
13 |
--------------------------------------------------------------------------------
/certs/1024/rsa1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/rsa1024.der
--------------------------------------------------------------------------------
/certs/1024/server-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/server-cert.der
--------------------------------------------------------------------------------
/certs/1024/server-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/1024/server-key.der
--------------------------------------------------------------------------------
/certs/ca-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ca-cert.der
--------------------------------------------------------------------------------
/certs/ca-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ca-key.der
--------------------------------------------------------------------------------
/certs/client-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/client-cert.der
--------------------------------------------------------------------------------
/certs/client-ecc-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/client-ecc-cert.der
--------------------------------------------------------------------------------
/certs/client-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/client-key.der
--------------------------------------------------------------------------------
/certs/client-keyPub.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/client-keyPub.der
--------------------------------------------------------------------------------
/certs/client-keyPub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwwPRK/45pDJFO1PIhCsq
3 | fHSavaoqUgdH1qY2sgcyjtC6aXvGw0Se1IFI/S1oootnu6F1yDYsStIb94u6zw35
4 | 7+zxgR57mwNHmr9lzH9lJGmm6BSJW+Q098WwFJP1Z3s6enjhAVZWkaYTQo3SPECc
5 | TO/Rht83URsMoTv18aNKNeThzpbfG36/TpfQEOioCDCBryALQxTFdGe0MoJvjYbC
6 | iECZNoO6HkByIhfXUmUkc7DO7xnNrv94bHvAEgPUTnINUG07ozujmV6dyNkMhbPZ
7 | itlUJttt+qy7/yVMxNF59HHThkAYE7BjtXJOMMSXhIYtVi/XFfd/wK71/Fvl+6G6
8 | 0wIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/certs/dh1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/dh1024.der
--------------------------------------------------------------------------------
/certs/dh1024.pem:
--------------------------------------------------------------------------------
1 | PKCS#3 DH Parameters: (1024 bit)
2 | prime:
3 | 00:a4:d2:b8:6e:78:f5:d9:ed:2d:7c:dd:b6:16:86:
4 | 5a:4b:05:76:90:dd:66:61:b9:6d:52:a7:1c:af:62:
5 | c6:69:47:7b:39:f2:fb:94:ec:bc:79:ff:24:5e:ef:
6 | 79:bb:59:b2:fc:ca:07:d6:f4:e9:34:f7:e8:38:e7:
7 | d7:33:44:1d:a3:64:76:1a:84:97:54:74:40:84:1f:
8 | 15:fe:7c:25:2a:2b:25:fd:9e:c1:89:33:8c:39:25:
9 | 2b:40:e6:cd:f8:a8:a1:8a:53:c6:47:b2:a0:d7:8f:
10 | eb:2e:60:0a:0d:4b:f8:b4:94:8c:63:0a:ad:c7:10:
11 | ea:c7:a1:b9:9d:f2:a8:37:73
12 | generator: 2 (0x2)
13 | -----BEGIN DH PARAMETERS-----
14 | MIGHAoGBAKTSuG549dntLXzdthaGWksFdpDdZmG5bVKnHK9ixmlHezny+5TsvHn/
15 | JF7vebtZsvzKB9b06TT36Djn1zNEHaNkdhqEl1R0QIQfFf58JSorJf2ewYkzjDkl
16 | K0DmzfiooYpTxkeyoNeP6y5gCg1L+LSUjGMKrccQ6sehuZ3yqDdzAgEC
17 | -----END DH PARAMETERS-----
18 |
--------------------------------------------------------------------------------
/certs/dh2048.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/dh2048.der
--------------------------------------------------------------------------------
/certs/dsa1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/dsa1024.der
--------------------------------------------------------------------------------
/certs/dsa1024.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN DSA PRIVATE KEY-----
2 | MIIBvAIBAAKBgQD3S/m7FZjr3d4eTnGIhfK3uuJK2nZAzWlInoN8EfdlMXj1JS33
3 | t/hSP77YtsX+GBVbudWShryyF3zYsL6gfPLVc3pYj43lSgCZg0rAnhYJoRA01Rm7
4 | Y+Pdg3R/EMpzde4xSt2f4AJqne6yS6drKmzHhnfoBBXckrR6KR9Og2OFVQIVANIF
5 | 5HP7wZnF3GikjZInPeJSX4mLAoGBAKohAglDbvuiVBSFCvQofMvM2/UeohipId6I
6 | iDOMLuuNo/AdyI/2fvjPEvW0oRFvDNTwBq3E/BRFx5QVvBlLru+Tak/MFNhHizlm
7 | hwLUKAq47gk39ACgBKd5p9I89zRDVo7QfMLYTQ+J7RTBLJxMGZue3FMJn98t8Awn
8 | VDp3FC3eAoGBAOgffLfAVFGnKC1YfN7UXN3VdoQ8NiDAwyXXOjjhVMj9QGgaIVQm
9 | ORS/9qOcXtkr98klugAJy38MSiT9FRYVSM0LUkRAe5BjK5AixRgFgFOvgx9U4rCi
10 | C1qSJOFiKD+3yrmJ1qC3ra4F4cFZQO1KG2ine/vDIIHvS/NpkbDOOrA4AhQlODuh
11 | GXXfm/VyU0854RzsE4SCGA==
12 | -----END DSA PRIVATE KEY-----
13 |
--------------------------------------------------------------------------------
/certs/dsa2048.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/dsa2048.der
--------------------------------------------------------------------------------
/certs/ecc-client-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ecc-client-key.der
--------------------------------------------------------------------------------
/certs/ecc-client-key.pem:
--------------------------------------------------------------------------------
1 | ASN1 OID: prime256v1
2 | -----BEGIN EC PARAMETERS-----
3 | BggqhkjOPQMBBw==
4 | -----END EC PARAMETERS-----
5 | -----BEGIN EC PRIVATE KEY-----
6 | MHcCAQEEIPjPkmu9HijxqKuhI08ydBiIUK1+x+yS+I+XTa9WiWXHoAoGCCqGSM49
7 | AwEHoUQDQgAEVb/0D0RQmj3Om7fwxU31cHvU7CSOGYDsWkyiJANiLJva76I1EkOE
8 | dhbGVpUGzAGpvfZ1GkL3vamyNiJfx11/tA==
9 | -----END EC PRIVATE KEY-----
10 |
--------------------------------------------------------------------------------
/certs/ecc-client-keyPub.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ecc-client-keyPub.der
--------------------------------------------------------------------------------
/certs/ecc-client-keyPub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVb/0D0RQmj3Om7fwxU31cHvU7CSO
3 | GYDsWkyiJANiLJva76I1EkOEdhbGVpUGzAGpvfZ1GkL3vamyNiJfx11/tA==
4 | -----END PUBLIC KEY-----
5 |
--------------------------------------------------------------------------------
/certs/ecc-key-comp.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN EC PRIVATE KEY-----
2 | MFcCAQEEIEW2aQJznGyFoThbcujox6zEA41TNQT6bCjcNI3hqAmMoAoGCCqGSM49
3 | AwEHoSQDIgACuzOsTCdQSsZKpQTDPN6fNttyLc6U6iv6yyAJOSwW6GE=
4 | -----END EC PRIVATE KEY-----
5 |
--------------------------------------------------------------------------------
/certs/ecc-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ecc-key.der
--------------------------------------------------------------------------------
/certs/ecc-key.pem:
--------------------------------------------------------------------------------
1 | ASN1 OID: prime256v1
2 | -----BEGIN EC PARAMETERS-----
3 | BggqhkjOPQMBBw==
4 | -----END EC PARAMETERS-----
5 | -----BEGIN EC PRIVATE KEY-----
6 | MHcCAQEEIEW2aQJznGyFoThbcujox6zEA41TNQT6bCjcNI3hqAmMoAoGCCqGSM49
7 | AwEHoUQDQgAEuzOsTCdQSsZKpQTDPN6fNttyLc6U6iv6yyAJOSwW6GEC6a9N0wKT
8 | mjFbl5Ihf/DPGNqREQI0huggWDMLgDSJ2A==
9 | -----END EC PRIVATE KEY-----
10 |
--------------------------------------------------------------------------------
/certs/ecc-keyPkcs8.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PRIVATE KEY-----
2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgRbZpAnOcbIWhOFty
3 | 6OjHrMQDjVM1BPpsKNw0jeGoCYyhRANCAAS7M6xMJ1BKxkqlBMM83p8223ItzpTq
4 | K/rLIAk5LBboYQLpr03TApOaMVuXkiF/8M8Y2pERAjSG6CBYMwuANInY
5 | -----END PRIVATE KEY-----
6 |
--------------------------------------------------------------------------------
/certs/ecc-keyPkcs8Enc.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN ENCRYPTED PRIVATE KEY-----
2 | MIGwMBsGCSqGSIb3DQEFAzAOBAjm9hxk+ipSWwICCAAEgZCiBEm+uh/GEXdmh/GY
3 | YTQDWgPGmG0V108MPMxO73hqN++hFEAcaRxXQwWrQvqtxeJGwquWzaWOv56S7u6W
4 | CfkkgHl2sgRorCfWD4wQxA8WEghCzRTA3LU6Xy9uwqb23fSGes2dIvdp8FQwqY1Q
5 | 9s1WwblMcQntCR/AvX6sdEyb8c/yzLJvivjrqt1QGG/Cr6Y=
6 | -----END ENCRYPTED PRIVATE KEY-----
7 |
--------------------------------------------------------------------------------
/certs/ecc-keyPub.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ecc-keyPub.der
--------------------------------------------------------------------------------
/certs/ecc-keyPub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuzOsTCdQSsZKpQTDPN6fNttyLc6U
3 | 6iv6yyAJOSwW6GEC6a9N0wKTmjFbl5Ihf/DPGNqREQI0huggWDMLgDSJ2A==
4 | -----END PUBLIC KEY-----
5 |
--------------------------------------------------------------------------------
/certs/ed25519-keyPriv.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PRIVATE KEY-----
2 | MC4CAQAwBQYDK2VwBCIEIJK1TOyvgca7AdbV3r03l1rSxvbDhbU75uTsMunHylLr
3 | -----END PRIVATE KEY-----
4 |
--------------------------------------------------------------------------------
/certs/ed25519-keyPub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MCowBQYDK2VwAyEA5ldbExvHURRr7Tv10fqrnmy26wIJo5n1br+dPP5UOeY=
3 | -----END PUBLIC KEY-----
4 |
--------------------------------------------------------------------------------
/certs/generate-client-bundle.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # set this to point to the wolfSSL root directory for updating certs
4 | WOLFSSL_ROOT_DIR=${WOLFSSL_ROOT_DIR:-"~/clean-wolfssl"}
5 |
6 | cp ${WOLFSSL_ROOT_DIR}/certs/client-cert.pem ./
7 | cp ${WOLFSSL_ROOT_DIR}/certs/client-key.pem ./
8 | cp ${WOLFSSL_ROOT_DIR}/certs/ca-cert.pem ./
9 |
10 | echo "wolfSSL test" | openssl pkcs12 -des3 -descert -export -in client-cert.pem -inkey client-key.pem -certfile ca-cert.pem -out test-clientbundle.p12 -password stdin
11 |
--------------------------------------------------------------------------------
/certs/mldsa44_ca_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa44_ca_key.der
--------------------------------------------------------------------------------
/certs/mldsa44_ca_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa44_ca_pubkey.der
--------------------------------------------------------------------------------
/certs/mldsa44_server_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa44_server_key.der
--------------------------------------------------------------------------------
/certs/mldsa44_server_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa44_server_pubkey.der
--------------------------------------------------------------------------------
/certs/mldsa65_ca_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa65_ca_key.der
--------------------------------------------------------------------------------
/certs/mldsa65_ca_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa65_ca_pubkey.der
--------------------------------------------------------------------------------
/certs/mldsa65_server_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa65_server_key.der
--------------------------------------------------------------------------------
/certs/mldsa65_server_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa65_server_pubkey.der
--------------------------------------------------------------------------------
/certs/mldsa87_ca_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa87_ca_key.der
--------------------------------------------------------------------------------
/certs/mldsa87_ca_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa87_ca_pubkey.der
--------------------------------------------------------------------------------
/certs/mldsa87_server_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa87_server_key.der
--------------------------------------------------------------------------------
/certs/mldsa87_server_pubkey.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/mldsa87_server_pubkey.der
--------------------------------------------------------------------------------
/certs/ntru-key.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/ntru-key.raw
--------------------------------------------------------------------------------
/certs/rsa1024.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/rsa1024.der
--------------------------------------------------------------------------------
/certs/rsa2048.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/rsa2048.der
--------------------------------------------------------------------------------
/certs/server-cert.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/server-cert.der
--------------------------------------------------------------------------------
/certs/server-key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/server-key.der
--------------------------------------------------------------------------------
/certs/server-keyPub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwJUI4VdB8nFtt9JFQScB
3 | ZcZFrvK8JDC4lc4vTtb2HIi8fJ/7qGd//lycUXX3isoH5zUvj+G9e8AvfKtkqBf8
4 | yl17uuAh5XIuby6G2JVz2qwbU7lfP9cZDSVP4WNjUYsLZD+tQ7ilHFw0s64AoGPF
5 | 9n8LWWh4c6aMGKkCba/DGQEuuBDjxsxAtGmjRjNph27Euxem8+jdrXO8ey8htf1m
6 | UQy9VLPhbV8cvCNz0QkDiRTSELlkwyrQoZZKvOHUGlvHoMDBY3gPRDcwMpaAMiOV
7 | oXe6E9KXc+JdJclqDcM5YKS0sGlCQgnp2Ai8MyCzWCKnquvE4eZhg8XSlt/Z0E+t
8 | 1wIDAQAB
9 | -----END RSA PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/certs/test-clientbundle.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/test-clientbundle.p12
--------------------------------------------------------------------------------
/certs/test-degenerate.p7b:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/certs/test-degenerate.p7b
--------------------------------------------------------------------------------
/certstore/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | all: certverify
7 |
8 | certverify: certverify.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
10 |
11 | .PHONY: clean
12 |
13 | clean:
14 | rm -f *.o certverify
15 |
--------------------------------------------------------------------------------
/certstore/README.md:
--------------------------------------------------------------------------------
1 | # wolfSSL X509 Store Example
2 |
3 | This directory contains:
4 |
5 | A simple example of using the X509_STORE compatibility layer API with wolfSSL.
6 |
7 | ## Compiling and Running the Example
8 |
9 | ```
10 | $ cd wolfssl
11 | $ ./autogen.sh # If downloaded from github
12 | $ ./configure --enable-opensslall
13 | $ make
14 | $ sudo make install
15 | $ sudo ldconfig # if wanting to update links and cache of recent shared library
16 | ```
17 |
18 | ```
19 | $ cd wolfssl-examples
20 | $ cd certstore
21 | $ make
22 | $ ./certverify
23 | ```
24 |
25 |
--------------------------------------------------------------------------------
/certvfy/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc -g
2 | CFLAGS=-Wall
3 | LIBS= -lwolfssl
4 |
5 | all: certvfy certsigvfy sigvfycert
6 |
7 | certvfy: certvfy.o
8 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
9 | certsigvfy: certsigvfy.o
10 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
11 | sigvfycert: sigvfycert.o
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f *.o certvfy certsigvfy sigvfycert
18 |
--------------------------------------------------------------------------------
/certvfy/README.md:
--------------------------------------------------------------------------------
1 | # wolfSSL Cert Verification Examples
2 |
3 | This directory contains:
4 |
5 | A simple example of using the low level wolfSSL APIs to verify a certificate
6 | in a standalone manner, separate from an SSL/TLS connection.
7 |
8 | ## Compiling and Running the Example
9 |
10 | ```
11 | $ cd wolfssl
12 | $ ./autogen.sh # If downloaded from github
13 | $ ./configure '--enable-cryptonly' '--enable-singlethreaded' 'CFLAGS=-DWOLFSSL_SMALL_CERT_VERIFY'
14 | $ make all
15 | $ make check
16 | $ sudo make install
17 | ```
18 |
19 | ```
20 | $ cd wolfssl-examples
21 | $ cd certvfy
22 | $ make all
23 | $ ./certvfy
24 | $ ./certsigvfy
25 | $ ./sigvfycert
26 | ```
27 |
28 |
--------------------------------------------------------------------------------
/cmake/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.16)
2 | project(wolfssl-example)
3 |
4 | message("Example cmake project including wolfSSL and using user_settings.h")
5 |
6 | # add global define to include user_settings.h
7 | add_compile_definitions(WOLFSSL_USER_SETTINGS)
8 |
9 | set(BUILD_SHARED_LIBS OFF)
10 | set(WOLFSSL_EXAMPLES OFF)
11 | set(WOLFSSL_CRYPT_TESTS OFF)
12 | set(WOLFSSL_USER_SETTINGS ON)
13 |
14 | if (CONFIG_BIG_ENDIAN)
15 | set(CMAKE_C_BYTE_ORDER BIG_ENDIAN)
16 | set(CMAKE_CXX_BYTE_OREDER BIG_ENDIAN)
17 | else ()
18 | set(CMAKE_C_BYTE_ORDER LITTLE_ENDIAN)
19 | set(CMAKE_CXX_BYTE_OREDER LITTLE_ENDIAN)
20 | endif()
21 |
22 | include_directories(include)
23 | add_subdirectory(wolfssl)
24 |
25 | target_link_libraries(wolfssl PRIVATE
26 | )
27 |
28 | # add in our application
29 | add_executable(hash myApp.c)
30 | target_link_libraries(hash wolfssl)
31 |
32 |
--------------------------------------------------------------------------------
/cmake/README.md:
--------------------------------------------------------------------------------
1 | This is an example of adding the wolfSSL library as a subdirectory to a project
2 | and using cmake to build.
3 |
4 | ## Steps to build:
5 |
6 | ```
7 | # clone or download the wolfssl bundle and put it in the subdirectory wolfssl
8 | git clone https://github.com/wolfssl/wolfssl
9 | mkdir build
10 | cd build
11 | cmake .. -DCMAKE_C_FLAGS=-I../include/
12 | make
13 | ./hash example_string
14 | ```
15 |
16 |
--------------------------------------------------------------------------------
/cmake/include/user_settings.h:
--------------------------------------------------------------------------------
1 | #ifndef _USER_SETTINGS_INCLUDE
2 | #define _USER_SETTINGS_INCLUDE
3 |
4 | #define ECC_TIMING_RESISTANT
5 | #define WC_RSA_BLINDING
6 |
7 | //add your target specific defines here
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/crypto/3des/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | WOLFSSL_INSTALL_DIR=/usr/local
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | 3des-file-encrypt: 3des-file-encrypt.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o 3des-file-encrypt
13 |
--------------------------------------------------------------------------------
/crypto/MagicCrypto/Makefile:
--------------------------------------------------------------------------------
1 | bin_files = client server
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | all: $(bin_files)
4 |
5 | DEPS=common.h
6 |
7 | CC=gcc
8 | #CC=clang -fsanitize=address
9 |
10 | DEBUGOPT=
11 | #DEBUGOPT=-DWOLFSSL_DEBUG_TLS -DDEBUG_WOLFSSL -DDEBUG_CRYPTOCB
12 | #DEBUGOPT=-DWOLFSSL_DEBUG_TLS -DDEBUG_WOLFSSL
13 |
14 | COMMONOPT=-O0 -g -IMagicCrypto/include -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm -DWOLF_CRYPTO_CB
15 |
16 | %: %.c $(DEPS)
17 | $(CC) $< $(DEBUGOPT) $(COMMONOPT) -o $@
18 |
19 | clean:
20 | rm -f $(bin_files)
21 |
--------------------------------------------------------------------------------
/crypto/README.md:
--------------------------------------------------------------------------------
1 |
2 | This directory contains examples that demonstrate using the wolfCrypt
3 | functionality to encrypt files with different algorithms (aes, 3des, etc.)
4 |
5 | For further usage and details:
6 |
7 | Please see the [3des/README.md](3des/README.md) for 3des.
8 |
9 | Please see the [aes/README.md](aes/README.md) for aes.
10 |
11 | Please see the [camellia/README.md](camellia/README.md) for camellia.
12 |
13 | Please see the [pkcs12/README.md](pkcs12/README.md) for pkcs12.
14 |
--------------------------------------------------------------------------------
/crypto/aes/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | WOLFSSL_INSTALL_DIR=/usr/local
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | all: aes-file-encrypt aescfb-file-encrypt aesctr-file-encrypt aesgcm-file-encrypt aesgcm-oneshot
7 |
8 | aes-file-encrypt: aes-file-encrypt.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
10 |
11 | aescfb-file-encrypt: aescfb-file-encrypt.o
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | aesctr-file-encrypt: aesctr-file-encrypt.o
15 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
16 |
17 | aesgcm-file-encrypt: aesgcm-file-encrypt.o
18 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
19 |
20 | aesgcm-oneshot: aesgcm-oneshot.o
21 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
22 |
23 | .PHONY: clean
24 |
25 | clean:
26 | rm -f *.o aes-file-encrypt aescfb-file-encrypt aesctr-file-encrypt aesgcm-file-encrypt text* aesgcm-oneshot
27 |
--------------------------------------------------------------------------------
/crypto/camellia/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | WOLFSSL_INSTALL_DIR=/usr/local
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | camellia-encrypt: camellia-encrypt.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o camellia-encrypt
13 |
--------------------------------------------------------------------------------
/crypto/pkcs12/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | WOLFSSL_INSTALL_DIR=/usr/local
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | all:pkcs12-example pkcs12-create-example
7 |
8 | pkcs12-example: pkcs12-example.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
10 |
11 | pkcs12-create-example: pkcs12-create-example.o
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f *.o pkcs12-example pkcs12-create-example output.p12
18 |
--------------------------------------------------------------------------------
/crypto/pkcs12/test-servercert.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/crypto/pkcs12/test-servercert.p12
--------------------------------------------------------------------------------
/custom-io-callbacks/file-client/Makefile:
--------------------------------------------------------------------------------
1 | CC=clang
2 |
3 | # if you installed wolfssl to /usr/local please make sure the path to
4 | # /usr/local/include is in your -I path and /usr/local/lib is in your
5 | # LD_LIBRARY_PATH
6 |
7 | WOLFSSL_INSTALL_DIR = /usr/local
8 | CFLAGS=-Wall
9 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
10 |
11 | all:start-client
12 |
13 | start-client:file-client.o
14 | $(CC) -o $@ $(LIBS) $^ $(CFLAGS)
15 |
16 | .PHONY: clean all
17 |
18 | clean:
19 | rm -f *.o file-client.o start-client
20 |
--------------------------------------------------------------------------------
/custom-io-callbacks/file-client/clean-io-files.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | rm client_read_server_write_file.txt
4 | rm client_write_server_read_file.txt
5 |
6 | touch client_read_server_write_file.txt
7 | touch client_write_server_read_file.txt
8 |
--------------------------------------------------------------------------------
/custom-io-callbacks/file-client/client_read_server_write_file.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/custom-io-callbacks/file-client/client_read_server_write_file.txt
--------------------------------------------------------------------------------
/custom-io-callbacks/file-client/client_write_server_read_file.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/custom-io-callbacks/file-client/client_write_server_read_file.txt
--------------------------------------------------------------------------------
/custom-io-callbacks/file-server/Makefile:
--------------------------------------------------------------------------------
1 | CC=clang
2 |
3 | # if you installed wolfssl to /usr/local please make sure the path to
4 | # /usr/local/include is in your -I path and /usr/local/lib is in your
5 | # LD_LIBRARY_PATH
6 |
7 | WOLFSSL_INSTALL_DIR = /usr/local
8 | CFLAGS=-Wall
9 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
10 |
11 | all:start-server
12 |
13 | start-server:file-server.o
14 | $(CC) -o $@ $(LIBS) $^ $(CFLAGS)
15 |
16 | .PHONY: clean all
17 |
18 | clean:
19 | rm -f *.o file-server.o start-server
20 |
--------------------------------------------------------------------------------
/custom-io-callbacks/file-server/check.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./start-server $1 &
3 | PID1=$!
4 | RESULT1=$?
5 |
6 | cd ../file-client
7 | ./start-client $1
8 | PID2=$!
9 | RESULT2=$?
10 |
11 | echo "RESULT1 = ${RESULT1}"
12 | echo ""
13 | echo "RESULT2 = ${RESULT2}"
14 | echo ""
15 | kill ${PID1}
16 | kill ${PID2}
17 |
18 |
--------------------------------------------------------------------------------
/dtls/bin-msgs/CH1.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/dtls/bin-msgs/CH1.bin
--------------------------------------------------------------------------------
/dtls/bin-msgs/CH2.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/dtls/bin-msgs/CH2.bin
--------------------------------------------------------------------------------
/ecc/Makefile:
--------------------------------------------------------------------------------
1 | # ECC Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl -pthread
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 | rm -f ECC*.der
38 | rm -f ECC*.pem
39 |
--------------------------------------------------------------------------------
/fullstack/freertos-wolfip-wolfssl-https/.gitignore:
--------------------------------------------------------------------------------
1 | # FreeRTOS directories managed by setup script
2 | freertos/FreeRTOS/
3 | freertos/FreeRTOS-Kernel/
4 |
5 | # Certificate files
6 | certs/
7 |
8 |
9 | # Build directory
10 | build/
11 |
12 | # Object files
13 | *.o
14 | *.ko
15 | *.obj
16 | *.elf
17 |
18 | # Libraries
19 | *.lib
20 | *.a
21 | *.la
22 | *.lo
23 |
24 | # Executables
25 | *.exe
26 | *.out
27 | *.app
28 | *.i*86
29 | *.x86_64
30 | *.hex
31 |
32 | # Debug files
33 | *.dSYM/
34 |
--------------------------------------------------------------------------------
/fullstack/freertos-wolfip-wolfssl-https/setup_network.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Configure host TAP interface for wolfSSL embedded testing
3 | # Creates a TAP interface for virtual networking between host and FreeRTOS
4 |
5 | # Check if running as root
6 | if [ "$EUID" -ne 0 ]; then
7 | echo "Please run as root (sudo)"
8 | exit 1
9 | fi
10 |
11 | # Remove existing interface if present
12 | ip link show wtap0 >/dev/null 2>&1 && ip link delete wtap0
13 |
14 | # Create new TAP interface and configure it
15 | ip tuntap add dev wtap0 mode tap
16 | ip link set wtap0 down
17 | ip addr flush dev wtap0
18 | ip addr add 10.10.0.1/24 dev wtap0
19 | ip link set wtap0 up
20 |
21 | echo "TAP interface wtap0 configured with IP 10.10.0.1/24"
22 |
--------------------------------------------------------------------------------
/fullstack/freertos-wolfip-wolfssl-https/test_https.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Test HTTPS server with curl using wolfSSL test certificates
4 |
5 | # Check if running as root
6 | if [ "$EUID" -ne 0 ]; then
7 | echo "Please run as root (sudo)"
8 | exit 1
9 | fi
10 |
11 | # Ensure TAP interface is up
12 | if ! ip link show wtap0 >/dev/null 2>&1; then
13 | echo "TAP interface wtap0 not found. Please run setup_network.sh first."
14 | exit 1
15 | fi
16 |
17 | echo "Testing HTTPS server with curl..."
18 | curl -v --cacert ./certs/ca-cert.pem \
19 | --tlsv1.3 --insecure https://10.10.0.10:443/
20 |
21 | # Check if curl command succeeded
22 | if [ $? -eq 0 ]; then
23 | echo "HTTPS test successful!"
24 | else
25 | echo "HTTPS test failed!"
26 | exit 1
27 | fi
28 |
--------------------------------------------------------------------------------
/hash/Makefile:
--------------------------------------------------------------------------------
1 | # Hash Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/java/README.md:
--------------------------------------------------------------------------------
1 |
2 | This directory contains examples that demonstrate HTTPS URL use with wolfJSSE
3 | and example keystores.
4 |
5 |
6 | For furher usage and details:
7 |
8 | Please see the [example-keystores/README.md](example-keystores/README.md) for keystore.
9 |
10 | Please see the [https-url/README.md](https-url/README.md) for HTTPS URL.
11 |
--------------------------------------------------------------------------------
/java/example-keystores/README.md:
--------------------------------------------------------------------------------
1 | These are created from the example client/server certificates. These certificates are only for example purposes and are self-signed
2 |
3 | Creating the keystores can be done by using the script update-jks.sh located at wolfssljni/examples/provider from the wolfssljni repository.
4 |
5 | An example of calling the script would be ~/Documents/wolfssljni/examples/provider/update-jks.sh ~/Documents/wolfssl/certs
6 |
7 |
--------------------------------------------------------------------------------
/java/example-keystores/all.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/all.jks
--------------------------------------------------------------------------------
/java/example-keystores/all_mixed.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/all_mixed.jks
--------------------------------------------------------------------------------
/java/example-keystores/client.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/client.jks
--------------------------------------------------------------------------------
/java/example-keystores/ecc.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/ecc.jks
--------------------------------------------------------------------------------
/java/example-keystores/external.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/external.jks
--------------------------------------------------------------------------------
/java/example-keystores/rsa.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/rsa.jks
--------------------------------------------------------------------------------
/java/example-keystores/server.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/java/example-keystores/server.jks
--------------------------------------------------------------------------------
/java/https-url/README.md:
--------------------------------------------------------------------------------
1 | Example HTTPS URL use with wolfJSSE
2 |
3 | Example of Building
4 | javac -cp ~/Documents/wolfssljni/lib/wolfssl-jsse.jar URLClient.java
5 |
6 | Example of Running
7 |
8 | java -Djava.library.path=/Users//Documents/wolfssljni/lib/ -classpath ~/Documents/wolfssljni/lib/wolfssl-jsse.jar:./ URLClient -h https://www.google.com -A ../example-keystores/external.jks:"wolfSSL test"
9 |
--------------------------------------------------------------------------------
/lwip/README.md:
--------------------------------------------------------------------------------
1 | # LWIP Native Example
2 |
3 | Assumes there is an existing STM project with native LwIP support. wolfSSL needs to be compiled with the macro `WOLFSSL_LWIP_NATIVE`
4 |
5 | The main function to call in the example code is `tls_echoclient_connect();`
6 |
7 | Macros in `lwipopts.h` were also adjusted to better handle TLS packets, which can be as large as 16k. The macros adjusted were:
8 | - MEM_SIZE(16*1024)
9 | - MEMP_NUM_PBUF (10 -> 20)
10 | - PBUF_POOL_SIZE (8 -> 9)
11 | - PBUF_POOL_BUFSIZE (512 -> 2048)
12 | - TCP_WND (2*TCP_MSS -> 11*TCP_MSS)
13 |
14 |
15 | To start up a server for the example client to connect to use the bundled wolfSSL example
16 | server on a desktop:
17 |
18 | ```
19 | cd wolfssl
20 | ./configure && make
21 | ./examples/server/server -b -d -p 11111 -c ./certs/server-ecc.pem -k ./certs/ecc-key.pem -i
22 | ```
23 |
--------------------------------------------------------------------------------
/maxq10xx/ecc-p256-pub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEedj066yAnDwNDvUCfb0qgTutLVI3
3 | WdOLH7S4Rs+f3fmipHapKnu3BhCGW3L5CHeoCOedCgSigIsCNJdwS8z2jA==
4 | -----END PUBLIC KEY-----
5 |
--------------------------------------------------------------------------------
/maxq10xx/rsa-2048-pub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp0Z1C9aj1MSYFw+TQPBG
3 | NaYDYaic3Y1LyvziYtMMas/C5Kok4m9AWo/87Bl19CVd1VCG4syl2+GtfEkA6WW7
4 | /dTLVZn+XtGb+dvbILRxcTWUUa/87OZGfwAhrULFwcguKN51PgncZ54Rkej9qAHe
5 | SeikJh0K8wgGousYNgNCfljnDoMKazKYCyiGYuwmvdx37596z8Ii99W+OTg38cft
6 | lTEMSmBy8MEswme6KgA62+cVZDYlngm1ox8VwNMMntDx2nXsw0nXwlOd9Rd+Tv9D
7 | T9raIyGxIyxaOjsUsSyRipKUuJUgFY40jO+VuHIpvNxqlG4ISaib8zdB96ML+WFB
8 | 8QIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/mynewt/.gitignore:
--------------------------------------------------------------------------------
1 | tmp/
2 |
--------------------------------------------------------------------------------
/ocsp/ocsp_nonblock/Makefile:
--------------------------------------------------------------------------------
1 | # Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/pk/curve25519/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | curve25519_test: curve25519_test.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o curve25519_test
13 |
--------------------------------------------------------------------------------
/pk/curve25519/README.md:
--------------------------------------------------------------------------------
1 | # Curve25519 Example with Test Vectors
2 |
3 | ```sh
4 | make
5 | ./curve25519_test
6 | Secret Generated Alice: 4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742
7 | Secret Generated Bob: 4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742
8 | Secret Expected: 4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742
9 | Curve25519 test success
10 | ```
11 |
--------------------------------------------------------------------------------
/pk/dh-pg/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | all: dh-pg-ka
7 |
8 | dh-pg-ka.o: dh-pg-ka.c dh-params.h
9 | $(CC) -c -o $@ $< $(CFLAGS)
10 |
11 | dh-pg-ka: dh-pg-ka.o
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f *.o dh-pg-ka
18 |
--------------------------------------------------------------------------------
/pk/ecc/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | SRC=$(wildcard *.c)
7 | TARGETS=$(patsubst %.c, %, $(SRC))
8 |
9 | all: $(TARGETS)
10 |
11 | %: %.c
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f $(TARGETS) *.der *.x963
18 |
--------------------------------------------------------------------------------
/pk/ecc/README.md:
--------------------------------------------------------------------------------
1 | # Asymmetric ECC Examples
2 |
3 | The build option used for wolfSSL are:
4 |
5 | ```
6 | ./configure --enable-ecc CFLAGS="-DWOLFSSL_PUBLIC_MP"
7 | make
8 | sudo make install
9 | sudo ldconfig
10 | ```
11 |
12 |
13 | ## ecc_keys
14 |
15 | The `ecc_keys.c` example shows how to work with storing and loading keys after they have been generated.
16 |
17 | 1. Creates a key structure
18 | 2. Stores the private key in DER format.
19 | 3. Loads DER private key back into a ecc_key struct.
20 |
21 | ## ecc_sign
22 |
23 | The `ecc_sign.c:` example takes a random message and private key, creates a signature then verifies it.
24 |
25 | ## ecc_verify
26 |
27 | The `ecc_verify.c` example uses NIST test vectors to demonstrate hashing a message and verifying an ECC signature.
28 |
29 | ## ecc_pub
30 |
31 | The `ecc_pub` example code shows how to extracting an ECC public key from private key.
32 |
--------------------------------------------------------------------------------
/pk/ecdh_generate_secret/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | ecdh_gen_secret: ecdh_gen_secret.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.der *.x963 *.o ecdh_gen_secret
13 |
--------------------------------------------------------------------------------
/pk/ed25519/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | SRC=$(wildcard *.c)
7 | TARGETS=$(patsubst %.c, %, $(SRC))
8 |
9 | all: $(TARGETS)
10 |
11 | %: %.c
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f $(TARGETS) *.der
18 |
--------------------------------------------------------------------------------
/pk/ed25519_gen/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | SRC=$(wildcard *.c)
7 | TARGETS=$(patsubst %.c, %, $(SRC))
8 |
9 | all: $(TARGETS)
10 |
11 | %: %.c
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f $(TARGETS)
18 |
--------------------------------------------------------------------------------
/pk/ed25519_gen/README.md:
--------------------------------------------------------------------------------
1 | Configure and install wolfSSL with these options:
2 |
3 | ./configure --enable-ed25519
4 | make
5 | make install
6 |
7 | (if any build issues due to previous installations please run 'ldconfig`)
8 |
9 | To compile without Makefile:
10 |
11 | gcc -o gen_key_files gen_key_files.c -lwolfssl
12 | gcc -o sign_and_verify sign_and_verify.c -lwolfssl
13 |
14 |
15 | To re-create the ed25519 private/public key files and update the test_keys.h
16 | header file run these commands:
17 |
18 | ./gen_key_files
19 | ./genkeybuffers.pl
20 |
21 | To sign a message and verify the signature run:
22 |
23 | ./sign_and_verify
24 |
25 |
26 | Best wishes in all your testing!
27 |
28 | - The wolfSSL Team
29 |
30 |
--------------------------------------------------------------------------------
/pk/ed25519_gen/ed_priv_test_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/pk/ed25519_gen/ed_priv_test_key.der
--------------------------------------------------------------------------------
/pk/ed25519_gen/ed_pub_test_key.der:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/pk/ed25519_gen/ed_pub_test_key.der
--------------------------------------------------------------------------------
/pk/ed448/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | SRC=$(wildcard *.c)
7 | TARGETS=$(patsubst %.c, %, $(SRC))
8 |
9 | all: $(TARGETS)
10 |
11 | %: %.c
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f $(TARGETS) *.der
18 |
--------------------------------------------------------------------------------
/pk/enc-through-sign-rsa/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | SRC=$(wildcard *.c)
7 | TARGETS=$(patsubst %.c, %, $(SRC))
8 |
9 | all: $(TARGETS)
10 |
11 | %: %.c
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | .PHONY: clean
15 |
16 | clean:
17 | rm -f $(TARGETS) encryptedAesKey
18 |
--------------------------------------------------------------------------------
/pk/hpke/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | hpke_test: hpke_test.o
7 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
8 |
9 | .PHONY: clean
10 |
11 | clean:
12 | rm -f *.o hpke_test
13 |
--------------------------------------------------------------------------------
/pk/hpke/README.md:
--------------------------------------------------------------------------------
1 | # HPKE Example with all supported options
2 |
3 | To build wolfSSL for this example run `./configure --enable-hpke --enable-aesgcm --enable-curve25519 --enable-ecc && make && sudo make install`
4 |
5 | ```sh
6 | make
7 | ./hpke_test
8 | HPKE test success
9 | ```
10 |
--------------------------------------------------------------------------------
/pk/rsa-kg/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS= -I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
5 |
6 | all: rsa-kg-sv rsa-kg
7 |
8 | rsa-kg-sv.o: rsa-kg-sv.c rsa-key.h
9 | $(CC) -c -o $@ $< $(CFLAGS)
10 |
11 | rsa-kg-sv: rsa-kg-sv.o
12 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
13 |
14 | rsa-kg.o: rsa-kg.c
15 | $(CC) -c -o $@ $< $(CFLAGS)
16 |
17 | rsa-kg: rsa-kg.o
18 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
19 |
20 | .PHONY: clean
21 |
22 | clean:
23 | rm -f *.o rsa-kg-sv rsa-kg
24 |
--------------------------------------------------------------------------------
/pk/rsa-pss/Makefile:
--------------------------------------------------------------------------------
1 | # Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm -pthread
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB) -ldl -lm
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/pk/rsa-pss/README.md:
--------------------------------------------------------------------------------
1 | # RSA PSS Example
2 |
3 | ## Building
4 |
5 | ### Build wolfSSL
6 |
7 | ```
8 | ./configure --enable-rsapss --enable-keygen
9 | make
10 | sudo make install
11 | ```
12 |
13 | ### Build rsa-pss
14 | `make`
15 |
16 |
17 | ## Usage
18 |
19 | Creates a key-pair, exports public key to `rsa-public.der` and signs message in variable `szMessage`.
20 | `./rsa-pss -s sign.bin`
21 |
22 | Uses public key at `rsa-public.der` to verify signed data.
23 | `./rsa-pss -v sign.bin`
24 |
--------------------------------------------------------------------------------
/pk/rsa/Makefile:
--------------------------------------------------------------------------------
1 | # Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB) -ldl -lm
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/pk/srp/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local/lib
3 | CFLAGS=-Wall -I$(WOLFSSL_INSTALL_DIR)/include -g
4 | #LIBS= -lwolfssl -lm
5 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lm
6 |
7 | all: srp srp_gen
8 |
9 | srp.o: srp.c srp_params.h srp_store.h
10 | $(CC) -c -o $@ srp.c $(CFLAGS)
11 |
12 | srp_gen.o: srp_gen.c srp_params.h
13 | $(CC) -c -o $@ srp_gen.c $(CFLAGS)
14 |
15 | srp: srp.o
16 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
17 |
18 | srp_gen: srp_gen.o
19 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
20 |
21 | .PHONY: clean
22 |
23 | clean:
24 | rm -f *.der *.x963 *.o srp srp_gen
25 |
--------------------------------------------------------------------------------
/pk/srp/README.md:
--------------------------------------------------------------------------------
1 | Shows examples of how to work with SRP.
2 |
3 | srp_gen.c show how to generate a verifier to store on the server.
4 | srp.c shows a client and server.
5 |
6 | The build option used for wolfSSL is
7 |
8 | ```
9 | ./configure --enable-srp
10 | ```
11 |
12 | How to use:
13 |
14 | ```
15 | ./srp_gen wolfssl password > srp_store.h
16 |
17 | make
18 |
19 | ./srp wolfssl password
20 | ```
21 |
22 |
23 |
--------------------------------------------------------------------------------
/pk/srp/srp_store.h:
--------------------------------------------------------------------------------
1 | static const char* srp_username = "wolfssl";
2 | static const byte salt[20] = {
3 | 0xb8,0x4d,0x9c,0x1b,0xb0,0x35,0x7b,0xd7,0xf0,0x24,0xbc,0x4b,
4 | 0xc6,0x12,0xac,0x44,0x6d,0x2a,0x77,0x02,
5 | };
6 | static const byte verifier[80] = {
7 | 0x61,0xb5,0xdf,0xfa,0xa0,0x99,0x54,0x9b,0xf1,0xb7,0x2d,0xf3,
8 | 0xfa,0x6d,0xe0,0x96,0x94,0x40,0x10,0x1d,0x3c,0x7a,0xf4,0x11,
9 | 0xf8,0x93,0x72,0x21,0xc6,0xcf,0x52,0x7e,0x32,0x82,0x9d,0x0d,
10 | 0xcd,0x2c,0x87,0x8e,0x39,0x3e,0x56,0xf2,0x32,0x97,0x9e,0x28,
11 | 0xce,0x1a,0x57,0x60,0x05,0x1e,0x2d,0x25,0x6f,0x59,0xcb,0xd9,
12 | 0xd0,0x87,0x44,0xbd,0xb5,0xb4,0xeb,0xcf,0xeb,0x94,0xf2,0x96,
13 | 0x2d,0xce,0xa9,0x33,0xd0,0xc1,0x10,0x54,
14 | };
15 |
--------------------------------------------------------------------------------
/pkcs11/Makefile:
--------------------------------------------------------------------------------
1 | # ECC Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB) -ldl -lm
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/pkcs11/mksofthsm2_conf.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | echo "
4 | # SoftHSM v2 configuration file
5 |
6 | directories.tokendir = $PWD/softhsm2/
7 | objectstore.backend = file
8 |
9 | # ERROR, WARNING, INFO, DEBUG
10 | log.level = ERROR
11 |
12 | # If CKF_REMOVABLE_DEVICE flag should be set
13 | slots.removable = false
14 | " > softhsm2.conf
15 |
16 | rm -rf ./softhsm2
17 | mkdir softhsm2
18 |
19 |
--------------------------------------------------------------------------------
/pkcs7/content.txt:
--------------------------------------------------------------------------------
1 | Hello World
--------------------------------------------------------------------------------
/pkcs7/signed.p7b:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/pkcs7/signed.p7b
--------------------------------------------------------------------------------
/pq/ml_dsa/Makefile:
--------------------------------------------------------------------------------
1 | CC = gcc
2 |
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 |
5 | WOLFSSL_CFLAGS = -Wextra -Werror -Wall -I$(WOLFSSL_INSTALL_DIR)/include
6 | WOLFSSL_LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm -lwolfssl
7 |
8 | DEBUG_FLAGS = -g -DDEBUG
9 |
10 | all: ml_dsa_test
11 |
12 | ml_dsa_test: ml_dsa.c
13 | $(CC) -o $@ $^ $(WOLFSSL_CFLAGS) $(WOLFSSL_LIBS) $(DEBUG_FLAGS)
14 |
15 | .PHONY: clean all
16 |
17 | clean:
18 | rm -f *.o wolfssl_acert ml_dsa_test
19 |
--------------------------------------------------------------------------------
/pq/tls/Makefile:
--------------------------------------------------------------------------------
1 | # PQ Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/pq/tls/stm32/Makefile:
--------------------------------------------------------------------------------
1 | # PQ Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/psa/Makefile:
--------------------------------------------------------------------------------
1 | CC = gcc
2 | WOLFSSL_INSTALL_DIR = /usr/local
3 | CFLAGS ?= -Wall -I$(INCLUDE_PATH)
4 | LIBS ?= -L$(WOLFSSL_INSTALL_DIR)/lib -lm
5 |
6 | # PSA implementation
7 | PSA_INCLUDE ?=
8 | PSA_WOLFSSL_INSTALL_DIR ?=
9 |
10 | # option variables
11 | DYN_LIB = -lwolfssl -lm
12 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
13 | DEBUG_FLAGS = -g -DDEBUG
14 | DEBUG_INC_PATHS = -MD
15 | OPTIMIZE = -Os
16 |
17 | # Options
18 | #CFLAGS+=$(DEBUG_FLAGS)
19 | CFLAGS+=$(OPTIMIZE)
20 | #LIBS+=$(STATIC_LIB)
21 | LIBS+=$(DYN_LIB)
22 |
23 | CFLAGS += -I$(PSA_INCLUDE)
24 | LIBS += $(PSA_WOLFSSL_INSTALL_DIR)
25 |
26 | TARGETS=client-tls13-ecc-psa server-tls13-ecc-psa
27 |
28 | all: $(TARGETS)
29 |
30 | %: %.c
31 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
32 | clean:
33 | @rm -f $(TARGETS) *.o
34 |
--------------------------------------------------------------------------------
/signature/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | LIBS= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
5 |
6 | all: signature
7 |
8 | signature: signature.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
10 |
11 | .PHONY: clean
12 |
13 | clean:
14 | rm -f *.o signature
15 |
--------------------------------------------------------------------------------
/signature/ecc-sign-verify/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | LIBS=
4 |
5 | WOLFSSL_INSTALL_DIR := /usr/local
6 | WOLFSSL_FLAGS=-I$(WOLFSSL_INSTALL_DIR)/include
7 | WOLFSSL_LIB=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
8 |
9 | all:ecc_sign_verify
10 |
11 | ecc_sign_verify:CFLAGS+=$(WOLFSSL_FLAGS)
12 | ecc_sign_verify:ecc_sign_verify.o
13 | $(CC) -o $@ $^ $(LIBS) $(WOLFSSL_LIB) $(CFLAGS)
14 |
15 | .PHONY: clean all
16 |
17 | clean:
18 | rm -f *.o ecc_sign_verify
19 |
--------------------------------------------------------------------------------
/signature/rsa_buffer/Makefile:
--------------------------------------------------------------------------------
1 | # RSA Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/signature/rsa_buffer/README.md:
--------------------------------------------------------------------------------
1 | # RSA sign and verify example
2 |
3 | ## Configure, build and install wolfSSL
4 | ```
5 | ./configure
6 | make
7 | sudo make install
8 | ```
9 |
10 | **NOTE:** if any build issues due to previous installations please run `ldconfig`
11 |
12 | ## Build and run example
13 |
14 | **NOTE:** The `sign_vfy.sh` script performs the steps below.
15 |
16 | ```
17 | make sign
18 | ./sign "This is the message" > signature.h
19 | make verify
20 | ./verify
21 | ```
22 |
23 | **NOTE:** To Build and run example without Makefile:
24 | ```
25 | gcc -o sign sign.c -lwolfssl
26 | ./sign > signature.h
27 | gcc -o verify verify.c -lwolfssl
28 | ./verify
29 | ```
30 |
31 | Please contact support@wolfssl.com with any questions or concerns!
32 |
33 | Best wishes in all your testing!
34 | - The wolfSSL Team
35 |
36 |
--------------------------------------------------------------------------------
/signature/rsa_buffer/sign_vfy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | make clean
4 |
5 | make sign
6 | ./sign "This is the message" > signature.h
7 | make verify
8 | ./verify
9 |
10 |
11 |
--------------------------------------------------------------------------------
/signature/rsa_vfy_only/Makefile:
--------------------------------------------------------------------------------
1 | # RSA Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm
6 |
7 | # option variables
8 | DYN_LIB = -lwolfssl
9 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
10 | DEBUG_FLAGS = -g -DDEBUG
11 | DEBUG_INC_PATHS = -MD
12 | OPTIMIZE = -Os
13 |
14 | # Options
15 | #CFLAGS+=$(DEBUG_FLAGS)
16 | CFLAGS+=$(OPTIMIZE)
17 | #LIBS+=$(STATIC_LIB)
18 | LIBS+=$(DYN_LIB)
19 |
20 | # build targets
21 | SRC=$(wildcard *.c)
22 | TARGETS=$(patsubst %.c, %, $(SRC))
23 |
24 | .PHONY: clean all
25 |
26 | all: $(TARGETS)
27 |
28 | debug: CFLAGS+=$(DEBUG_FLAGS)
29 | debug: all
30 |
31 | # build template
32 | %: %.c
33 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
34 |
35 | clean:
36 | rm -f $(TARGETS)
37 |
--------------------------------------------------------------------------------
/signature/rsa_vfy_only/README.md:
--------------------------------------------------------------------------------
1 | # RSA Verify-only example
2 |
3 | ## Configure, build and install wolfSSL
4 | ```
5 | ./configure --disable-asn --disable-filesystem \
6 | --enable-cryptonly --enable-sp=smallrsa2048 --enable-sp-math \
7 | --disable-dh --disable-ecc --disable-sha224 --enable-rsavfy \
8 | CFLAGS="-DWOLFSSL_PUBLIC_MP"
9 | make
10 | sudo make install
11 | ```
12 |
13 | **NOTE:** If any build issues due to previous installations please run 'ldconfig`
14 |
15 | ## Build and run example
16 | ```
17 | make
18 | ./verify
19 | ```
20 |
21 |
22 | **NOTE:** To compile without Makefile:
23 | ```
24 | gcc -Os -o verify verify.c /usr/local/lib/libwolfssl.a
25 | ./verify
26 | ```
27 |
28 | Please contact support@wolfssl.com with any questions for concerns!
29 |
30 | Best wishes in all your testing!
31 |
32 | - The wolfSSL Team
33 |
34 |
--------------------------------------------------------------------------------
/signature/sigtest/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | CFLAGS=-Wall
3 | LIBS=
4 |
5 | OPENSSL_DIR=/usr/local/opt
6 | OPENSSL_FLAGS=-I$(OPENSSL_DIR)/openssl/include
7 | WOLFSSL_FLAGS=
8 | OPENSSL_LIB=-L$(OPENSSL_DIR)/openssl/lib -lcrypto -lssl
9 | WOLFSSL_INSTALL_DIR = /usr/local
10 | WOLFSSL_LIB= -L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl
11 |
12 | all:wolfsigtest opensigtest eccsiglentest
13 |
14 | opensigtest:CFLAGS+=$(OPENSSL_FLAGS)
15 | opensigtest:opensigtest.o
16 | $(CC) -o $@ $(LIBS) $^ $(CFLAGS) $(OPENSSL_LIB)
17 |
18 | wolfsigtest:CFLAGS+=$(WOLFSSL_FLAGS)
19 | wolfsigtest:wolfsigtest.o
20 | $(CC) -o $@ $(LIBS) $^ $(CFLAGS) $(WOLFSSL_LIB)
21 |
22 | eccsiglentest:CFLAGS+=$(WOLFSSL_FLAGS)
23 | eccsiglentest:eccsiglentest.o
24 | $(CC) -o $@ $(LIBS) $^ $(CFLAGS) $(WOLFSSL_LIB)
25 |
26 | .PHONY: clean all
27 |
28 | clean:
29 | rm -f *.o wolfsigtest opensigtest eccsiglentest
30 |
--------------------------------------------------------------------------------
/staticmemory/Makefile:
--------------------------------------------------------------------------------
1 | # ECC Examples Makefile
2 | CC = gcc
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | CFLAGS = -Wall -I$(WOLFSSL_INSTALL_DIR)/include
5 | ZLIB =
6 | #ZLIB += -lz
7 | LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm ${ZLIB}
8 |
9 | # option variables
10 | DYN_LIB = -lwolfssl
11 | STATIC_LIB = $(WOLFSSL_INSTALL_DIR)/lib/libwolfssl.a
12 | DEBUG_FLAGS = -g -DDEBUG
13 | DEBUG_INC_PATHS = -MD
14 | OPTIMIZE = -Os
15 |
16 | # Options
17 | #CFLAGS+=$(DEBUG_FLAGS)
18 | CFLAGS+=$(OPTIMIZE)
19 | #LIBS+=$(STATIC_LIB)
20 | LIBS+=$(DYN_LIB)
21 |
22 | # build targets
23 | SRC=$(wildcard *.c)
24 | TARGETS=$(patsubst %.c, %, $(SRC))
25 |
26 | .PHONY: clean all
27 |
28 | all: $(TARGETS)
29 |
30 | debug: CFLAGS+=$(DEBUG_FLAGS)
31 | debug: all
32 |
33 | # build template
34 | %: %.c
35 | $(CC) -o $@ $< $(CFLAGS) $(LIBS)
36 |
37 | clean:
38 | rm -f $(TARGETS)
39 |
--------------------------------------------------------------------------------
/staticmemory/README.md:
--------------------------------------------------------------------------------
1 | Examples of using wolfSSL's simple memory allocator. Enabled with --enable-staticmemory
2 | or WOLFSSL_STATIC_MEMORY when building wolfSSL. This is not a feature to reduce
3 | memory size!! It in fact uses a little more memory overhead. The staticmemory
4 | feature is used to have a simple fixed pool of memory available instead of using
5 | a systems malloc/free calls. Helpful in cases where dynamic memory is not
6 | allowed.
7 |
8 | wolfSSL has support for XMALLOC_USER which could be used to instead map XMALLOC
9 | and XFREE to any desired implementation of malloc/free.
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.ccsproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/.productview.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/.productview.dat
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.buildtime:
--------------------------------------------------------------------------------
1 | C:\Users\khimes\workspace_v6_0\tcpEcho_TivaTM4C1294NCPDT\.config\xconfig_tcpEcho\.buildtime
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/tcpEcho_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/tcpEcho_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/tcpEcho_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/tcpEcho_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/\1\""' package/cfg/tcpEcho_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/tcpEcho_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_tcpEcho {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/cfg/tcpEcho.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | tcpEcho.xem4f: package/cfg/tcpEcho.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/tcpEcho.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_tcpEcho__
9 | #define xconfig_tcpEcho__
10 |
11 |
12 |
13 | #endif /* xconfig_tcpEcho__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_tcpEcho.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_tcpEcho.java
9 | package/xconfig_tcpEcho.class
10 | package/package_xconfig_tcpEcho.c
11 | package/package.defs.h
12 | package/xconfig_tcpEcho.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package_xconfig_tcpEcho.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_tcpEcho__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_tcpEcho
14 | #define __xdc_PKGPREFIX xconfig_tcpEcho_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.settings/org.eclipse.cdt.codan.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | inEditor=false
3 | onBuild=false
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.settings/org.eclipse.cdt.debug.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
3 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//Debug/makefile=UTF-8
3 | encoding//Debug/objects.mk=UTF-8
4 | encoding//Debug/sources.mk=UTF-8
5 | encoding//Debug/subdir_rules.mk=UTF-8
6 | encoding//Debug/subdir_vars.mk=UTF-8
7 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.xdchelp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Client_TivaTM4C1294NCPDT/.xdchelp
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.ccsproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/.productview.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/.productview.dat
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.buildtime:
--------------------------------------------------------------------------------
1 | C:\Users\khimes\workspace_v6_0\tcpEcho_TivaTM4C1294NCPDT\.config\xconfig_tcpEcho\.buildtime
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/tcpEcho_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/tcpEcho_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/tcpEcho_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/tcpEcho_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/\1\""' package/cfg/tcpEcho_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/tcpEcho_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_tcpEcho {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/cfg/tcpEcho.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | tcpEcho.xem4f: package/cfg/tcpEcho.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/tcpEcho.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_tcpEcho__
9 | #define xconfig_tcpEcho__
10 |
11 |
12 |
13 | #endif /* xconfig_tcpEcho__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_tcpEcho.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_tcpEcho.java
9 | package/xconfig_tcpEcho.class
10 | package/package_xconfig_tcpEcho.c
11 | package/package.defs.h
12 | package/xconfig_tcpEcho.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/package_xconfig_tcpEcho.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_tcpEcho__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_tcpEcho
14 | #define __xdc_PKGPREFIX xconfig_tcpEcho_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.settings/org.eclipse.cdt.codan.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | inEditor=false
3 | onBuild=false
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.settings/org.eclipse.cdt.debug.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
3 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//Debug/makefile=UTF-8
3 | encoding//Debug/objects.mk=UTF-8
4 | encoding//Debug/sources.mk=UTF-8
5 | encoding//Debug/subdir_rules.mk=UTF-8
6 | encoding//Debug/subdir_vars.mk=UTF-8
7 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.xdchelp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/tcpEcho_Server_TivaTM4C1294NCPDT/.xdchelp
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.ccsproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/.productview.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/.productview.dat
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/.buildtime:
--------------------------------------------------------------------------------
1 | C:\Users\khimes\workspace_v6_0\benchmarkTest\.config\xconfig_benchmarkTest\.buildtime
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/benchmarkTest_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/benchmarkTest_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/benchmarkTest_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/benchmarkTest/.config/xconfig_benchmarkTest/\1\""' package/cfg/benchmarkTest_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/benchmarkTest_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_benchmarkTest {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/cfg/benchmarkTest.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | benchmarkTest.xem4f: package/cfg/benchmarkTest.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/benchmarkTest.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_benchmarkTest__
9 | #define xconfig_benchmarkTest__
10 |
11 |
12 |
13 | #endif /* xconfig_benchmarkTest__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_benchmarkTest.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_benchmarkTest.java
9 | package/xconfig_benchmarkTest.class
10 | package/package_xconfig_benchmarkTest.c
11 | package/package.defs.h
12 | package/xconfig_benchmarkTest.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/package_xconfig_benchmarkTest.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_benchmarkTest__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_benchmarkTest
14 | #define __xdc_PKGPREFIX xconfig_benchmarkTest_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/.buildtime:
--------------------------------------------------------------------------------
1 | C:\Users\khimes\workspace_v6_0\tcpEcho_TivaTM4C1294NCPDT\.config\xconfig_tcpEcho\.buildtime
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/tcpEcho_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/tcpEcho_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/tcpEcho_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/tcpEcho_TivaTM4C1294NCPDT/.config/xconfig_tcpEcho/\1\""' package/cfg/tcpEcho_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/tcpEcho_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_tcpEcho {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/cfg/tcpEcho.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | tcpEcho.xem4f: package/cfg/tcpEcho.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/tcpEcho.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_tcpEcho__
9 | #define xconfig_tcpEcho__
10 |
11 |
12 |
13 | #endif /* xconfig_tcpEcho__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_tcpEcho.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_tcpEcho.java
9 | package/xconfig_tcpEcho.class
10 | package/package_xconfig_tcpEcho.c
11 | package/package.defs.h
12 | package/xconfig_tcpEcho.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/package_xconfig_tcpEcho.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_tcpEcho__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_tcpEcho
14 | #define __xdc_PKGPREFIX xconfig_tcpEcho_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/rel/xconfig_tcpEcho.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_tcpEcho/package/xconfig_tcpEcho.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/.buildtime:
--------------------------------------------------------------------------------
1 | C:\Users\khimes\workspace_v6_0\wolfsslTest\.config\xconfig_wolfsslTest\.buildtime
2 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/wolfsslTest_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/wolfsslTest_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/wolfsslTest_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/wolfsslTest/.config/xconfig_wolfsslTest/\1\""' package/cfg/wolfsslTest_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/wolfsslTest_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_wolfsslTest {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/cfg/wolfsslTest.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | wolfsslTest.xem4f: package/cfg/wolfsslTest.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/wolfsslTest.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_wolfsslTest__
9 | #define xconfig_wolfsslTest__
10 |
11 |
12 |
13 | #endif /* xconfig_wolfsslTest__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_wolfsslTest.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_wolfsslTest.java
9 | package/xconfig_wolfsslTest.class
10 | package/package_xconfig_wolfsslTest.c
11 | package/package.defs.h
12 | package/xconfig_wolfsslTest.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/package_xconfig_wolfsslTest.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_wolfsslTest__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_wolfsslTest
14 | #define __xdc_PKGPREFIX xconfig_wolfsslTest_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/rel/xconfig_wolfsslTest.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/rel/xconfig_wolfsslTest.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/rel/xconfig_wolfsslTest.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.config/xconfig_wolfsslTest/package/xconfig_wolfsslTest.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.settings/org.eclipse.cdt.codan.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | inEditor=false
3 | onBuild=false
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.settings/org.eclipse.cdt.debug.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
3 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//Debug/wolfssl/wolfcrypt/src/subdir_rules.mk=UTF-8
3 | encoding//Debug/wolfssl/wolfcrypt/src/subdir_vars.mk=UTF-8
4 | encoding//Debug/makefile=UTF-8
5 | encoding//Debug/objects.mk=UTF-8
6 | encoding//Debug/sources.mk=UTF-8
7 | encoding//Debug/subdir_rules.mk=UTF-8
8 | encoding//Debug/subdir_vars.mk=UTF-8
9 | encoding//Debug/utils/subdir_rules.mk=UTF-8
10 | encoding//Debug/utils/subdir_vars.mk=UTF-8
11 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/.xdchelp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tests/.xdchelp
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tests/wolfssl_tests_readme.txt:
--------------------------------------------------------------------------------
1 | Example Summary
2 | ----------------
3 | This application demonstrates the wolfssl/testsuite/testsuite.test
4 |
5 | Notes
6 | ----------------
7 | Due to large amounts of heap needed to run these tests SHA-512 and Blake-2B have been disabled for this project.
8 | If you would like to run them first right click the project file and select "Properties" (very bottom)
9 |
10 | in the explorer locate and click on "ARM Compiler". In the right pane you will see a summary of flags box. at
11 | the bottom click on "Set Additional Flags..." locate and delete the following:
12 |
13 | --define=HAVE_CAMELLIA
14 | --define=HAVE_CHACHA
15 | --define=HAVE_ECC
16 | --define=HAVE_POLY1305
17 |
18 | then put in the following:
19 | --define=WOLFSSL_SHA512
20 | --define=HAVE_BLAKE2
21 |
22 | Then build and debug this project again.
23 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.ccsproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/.productview.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/.productview.dat
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/.buildtime:
--------------------------------------------------------------------------------
1 | C:\wolfssl\tirtos\ccs_examples\benchmarkTest\.config\xconfig_benchmarkTest\.buildtime
2 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/.interfaces:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/.interfaces
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/custom.mak:
--------------------------------------------------------------------------------
1 | ## THIS IS A GENERATED FILE -- DO NOT EDIT
2 | .configuro: .libraries,em4f linker.cmd package/cfg/benchmarkTest_pem4f.oem4f
3 |
4 | # To simplify configuro usage in makefiles:
5 | # o create a generic linker command file name
6 | # o set modification times of compiler.opt* files to be greater than
7 | # or equal to the generated config header
8 | #
9 | linker.cmd: package/cfg/benchmarkTest_pem4f.xdl
10 | $(SED) 's"^\"\(package/cfg/benchmarkTest_pem4fcfg.cmd\)\"$""\"C:/Users/khimes/workspace_v6_0/benchmarkTest/.config/xconfig_benchmarkTest/\1\""' package/cfg/benchmarkTest_pem4f.xdl > $@
11 | -$(SETDATE) -r:max package/cfg/benchmarkTest_pem4f.h compiler.opt compiler.opt.defs
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package.xdc:
--------------------------------------------------------------------------------
1 | /*!
2 | * Package generated by xdc.tools.configuro
3 | *
4 | * @_nodoc
5 | */
6 | package xconfig_benchmarkTest {
7 | }
8 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package.xs:
--------------------------------------------------------------------------------
1 | /* THIS IS A GENERATED FILE -- DO NOT EDIT */
2 |
3 | /* return the names of the generated config objects */
4 | function getLibs(prog) {
5 | /* for programs, push the generated config object file into the
6 | * generated linker command file.
7 | */
8 | /* replace the last period in the name by an underscore */
9 | var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
10 | /* base is a hack until we add cfgName to Program */
11 | var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
12 | var suffix = prog.build.target.suffix;
13 |
14 | var libs = [
15 | // name + '.o' + suffix,
16 | base + '_p' + suffix + '.o' + suffix
17 | ];
18 |
19 | return libs.join(';');
20 | }
21 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_b160:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_b160
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_g180:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_g180
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_r170:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.vers_r170
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.xdc-A32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/.xdc-A32
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/build.cfg:
--------------------------------------------------------------------------------
1 | if (pkg.$vers.length >= 3) {
2 | pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
3 | }
4 |
5 | pkg.build.libraries = [
6 | ];
7 |
8 | pkg.build.libDesc = [
9 | ];
10 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/cfg/benchmarkTest.xem4f.mak:
--------------------------------------------------------------------------------
1 | #
2 | # Do not edit this file. This file is generated from
3 | # package.bld. Any modifications to this file will be
4 | # overwritten whenever makefiles are re-generated.
5 | #
6 | # target compatibility key = ti.targets.arm.elf.M4F{1,0,5.1,6
7 | #
8 | benchmarkTest.xem4f: package/cfg/benchmarkTest.xem4f.mak
9 |
10 | clean::
11 | -$(RM) package/cfg/benchmarkTest.xem4f.mak
12 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/package.defs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #ifndef xconfig_benchmarkTest__
9 | #define xconfig_benchmarkTest__
10 |
11 |
12 |
13 | #endif /* xconfig_benchmarkTest__ */
14 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/package.xdc.inc:
--------------------------------------------------------------------------------
1 | package.xdc
2 | package.xs
3 | package/xconfig_benchmarkTest.sch
4 | package/.vers_g180
5 | package/.vers_r170
6 | package/.vers_b160
7 | package/.xdc-A32
8 | package/xconfig_benchmarkTest.java
9 | package/xconfig_benchmarkTest.class
10 | package/package_xconfig_benchmarkTest.c
11 | package/package.defs.h
12 | package/xconfig_benchmarkTest.ccs
13 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/package_xconfig_benchmarkTest.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Do not modify this file; it is automatically
3 | * generated and any modifications will be overwritten.
4 | *
5 | * @(#) xdc-A32
6 | */
7 |
8 | #include
9 |
10 | __FAR__ char xconfig_benchmarkTest__dummy__;
11 |
12 | #define __xdc_PKGVERS null
13 | #define __xdc_PKGNAME xconfig_benchmarkTest
14 | #define __xdc_PKGPREFIX xconfig_benchmarkTest_
15 |
16 | #ifdef __xdc_bld_pkg_c__
17 | #define __stringify(a) #a
18 | #define __local_include(a) __stringify(a)
19 | #include __local_include(__xdc_bld_pkg_c__)
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.inc:
--------------------------------------------------------------------------------
1 | package/package.bld.xml
2 | package/build.cfg
3 | package/package.xdc.inc
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.ninc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/rel/xconfig_benchmarkTest.xdc.ninc
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.ccs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.ccs
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.class
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.config/xconfig_benchmarkTest/package/xconfig_benchmarkTest.sch
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.settings/org.eclipse.cdt.codan.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | inEditor=false
3 | onBuild=false
4 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.settings/org.eclipse.cdt.debug.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
3 |
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.xdchelp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tirtos_ccs_examples/wolfssl_tirtos_benchmark/.xdchelp
--------------------------------------------------------------------------------
/tirtos_ccs_examples/wolfssl_tirtos_benchmark/wolfssl_tirtos_benchmark_readme.txt:
--------------------------------------------------------------------------------
1 | Example Summary
2 | ----------------
3 | This application demonstrates the wolfssl/wolfcrypt/benchmark/benchmark.c
4 |
5 | optimization flags used
6 | ----------------
7 |
8 | --abi=eabi -me -03
9 | --opt_for_speed=5
10 | --optimizer_interlist
11 | --remove_hooks_when_inlining
12 | --opt_for_cache
13 | --gen_opt_info=2
14 | --call_assumptions=3
15 | --auto_inline=5
16 | --single_inline
17 | --aliased_variables
18 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tcp/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls-cacb/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls-perf/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls-uart/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls13/client-tls13.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | char sz[] = "Hello, World!\n"; /* Hover mouse over "sz" while debugging to see its contents */
6 | printf("%s", sz);
7 | fflush(stdout); /* <============== Put a breakpoint here */
8 | return 0;
9 | }
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/client-tls13/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step1.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step2.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step3.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step4.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step5.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step6.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step7.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-New-Project-Step8.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-build.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-build.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-pick-WSL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-pick-WSL.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualGDB-select-build-machine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualGDB-select-build-machine.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/VisualStudio-firewall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/VisualStudio-firewall.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step1.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step2.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step3.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step4.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step5.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/Windows-Firewall-Step6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/Windows-Firewall-Step6.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/common_flags-pthread.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/common_flags-pthread.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/images/failed_to_start_gdb_session.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wolfSSL/wolfssl-examples/41d61d2e950d02c5bb3183fb9a52c4cf56a5192c/tls/VisualGDB-tls/images/failed_to_start_gdb_session.png
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/memory-tls/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tcp/debug.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := ../../
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := DEBUG=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS := wolfssl
18 | LIBRARY_NAMES := wolfssl
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O0
24 | CXXFLAGS := -ggdb -ffunction-sections -O0
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tcp/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tls-uart/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tls/debug.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Debug
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := DEBUG=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS := wolfssl
18 | LIBRARY_NAMES := wolfssl
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O0
24 | CXXFLAGS := -ggdb -ffunction-sections -O0
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tls/release.mak:
--------------------------------------------------------------------------------
1 | #Generated by VisualGDB (http://visualgdb.com)
2 | #DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
3 | #USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
4 |
5 | BINARYDIR := Release
6 |
7 | #Toolchain
8 | CC := clang
9 | CXX := clang++
10 | LD := $(CXX)
11 | AR := ar
12 | OBJCOPY := objcopy
13 |
14 | #Additional flags
15 | PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
16 | INCLUDE_DIRS :=
17 | LIBRARY_DIRS :=
18 | LIBRARY_NAMES :=
19 | ADDITIONAL_LINKER_INPUTS :=
20 | MACOS_FRAMEWORKS :=
21 | LINUX_PACKAGES :=
22 |
23 | CFLAGS := -ggdb -ffunction-sections -O3
24 | CXXFLAGS := -ggdb -ffunction-sections -O3
25 | ASFLAGS :=
26 | LDFLAGS := -Wl,-gc-sections
27 | COMMONFLAGS :=
28 | LINKER_SCRIPT :=
29 |
30 | START_GROUP := -Wl,--start-group
31 | END_GROUP := -Wl,--end-group
32 |
33 | #Additional options detected from testing the toolchain
34 | IS_LINUX_PROJECT := 1
35 |
--------------------------------------------------------------------------------
/tls/VisualGDB-tls/server-tls13/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by server-tls13.rc
4 |
5 | // Next default values for new objects
6 | //
7 | #ifdef APSTUDIO_INVOKED
8 | #ifndef APSTUDIO_READONLY_SYMBOLS
9 | #define _APS_NEXT_RESOURCE_VALUE 101
10 | #define _APS_NEXT_COMMAND_VALUE 40001
11 | #define _APS_NEXT_CONTROL_VALUE 1001
12 | #define _APS_NEXT_SYMED_VALUE 101
13 | #endif
14 | #endif
15 |
--------------------------------------------------------------------------------
/tpm/Makefile:
--------------------------------------------------------------------------------
1 | CC=gcc
2 | WOLFSSL_INSTALL_DIR=/usr/local
3 | CFLAGS=-I$(WOLFSSL_INSTALL_DIR)/include -Wall
4 | LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl -lwolftpm
5 |
6 | all:evp_tpm
7 |
8 | evp_tpm:evp_tpm.o
9 | $(CC) -o $@ $^ $(CFLAGS) $(CPPFLAGS) $(LIBS)
10 |
11 | .PHONY: clean all
12 |
13 | clean:
14 | rm -f *.o evp_tpm
15 |
--------------------------------------------------------------------------------
/uefi/startup.nsh:
--------------------------------------------------------------------------------
1 | fs0:
2 | wolfcrypt.efi
3 |
--------------------------------------------------------------------------------
/uefi/user_settings.h:
--------------------------------------------------------------------------------
1 | #define WOLFCRYPT_ONLY
2 | #define HAVE_ENTROPY_MEMUSE
3 | #define ENTROPY_MEMUSE_FORCE_FAILURE
4 | #define USE_FAST_MATH
5 | #define FP_MAX_BITS 8192
6 | #define WOLFSSL_SHA3
7 | #define HAVE_HASHDRBG
8 | #define SINGLE_THREADED
9 | #define XMALLOC_USER
10 | #define NO_MD5
11 | #define NO_SHA
12 | #define NO_PKCS8
13 | #define NO_PKCS12
14 | #define NO_DSA
15 | #define NO_ASN_TIME
16 | #define NO_FILESYSTEM
17 | #define NO_INLINE
18 | #define NO_DH
19 | #define NO_DES3
20 | #define NO_MD4
21 | #define NO_SIG_WRAPPER
22 | #define NO_PWDBASED
23 | #define NO_ERROR_STRINGS
24 | #define XPRINTF(_f_, ...) Print(L##_f_, ##__VA_ARGS__)
25 |
--------------------------------------------------------------------------------
/x509_acert/Makefile:
--------------------------------------------------------------------------------
1 | CC = gcc
2 |
3 | WOLFSSL_INSTALL_DIR = /usr/local
4 | OPENSSL_INSTALL_DIR = /usr/local
5 |
6 | WOLFSSL_CFLAGS = -Werror -Wall -I$(WOLFSSL_INSTALL_DIR)/include -DUSE_WOLFSSL
7 | WOLFSSL_LIBS = -L$(WOLFSSL_INSTALL_DIR)/lib -lm -lwolfssl
8 |
9 | OPENSSL_CFLAGS = -Werror -Wall -I$(OPENSSL_INSTALL_DIR)/include
10 | OPENSSL_LIBS = -L$(OPENSSL_INSTALL_DIR)/lib64/ -lm -lssl -lcrypto
11 |
12 | DEBUG_FLAGS = -g -DDEBUG
13 |
14 | all: wolfssl_acert openssl_acert
15 |
16 | wolfssl_acert: test_x509_acert.c
17 | $(CC) -o $@ $^ $(WOLFSSL_CFLAGS) $(WOLFSSL_LIBS)
18 |
19 | openssl_acert: test_x509_acert.c
20 | $(CC) -o $@ $^ $(OPENSSL_CFLAGS) $(OPENSSL_LIBS)
21 |
22 | .PHONY: clean all
23 |
24 | clean:
25 | rm -f *.o wolfssl_acert openssl_acert
26 |
--------------------------------------------------------------------------------
/x509_acert/certs/acert_ietf_pubkey.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqvpigJZE2asRTFe63b3f
3 | xvh0swQuX+L4hW08E7mlm0NSQvBVs8yebELNnZLL738fvocvQMwAjf+8+Lyjb1fr
4 | FYMYvJpb6LmGA2Ysyt6Ny700dpiUValtd4mwtjSCH0/k4rCiaiCYWaN79Le9ZGwD
5 | pZ341kVX74JkNdaXs1EJ1tkUUoq6aIu5CWYncxjA4IufduHV1Eh/dpNq1tuLHjgY
6 | Y3NwYDJcotmN9mmIO+MAuZ1TzifhIy14tNGIspYpSZbn8j2RQpQOclhMVWeM5t0i
7 | TWgOO+jhJngptIJMXEaQQzKPiazv6pBhk8oamAZ0Nipr+DI8iDxvzHtyFDRVToOg
8 | 1QIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/x509_acert/certs/acert_pubkey.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArjl1VnpENuEfQCVm2E4q
3 | h28D62c0pX5IgN5F2RoS7siU2Oc9hsSz6Hj+9o0SRhUTEAxxrML2d7TM2SVoIJ/x
4 | CFrchA1fIZQm7FWJa7MDFpxkRc7cNUGrZ5oyVCHtK6IbKiU4y8B/vova6+dyy6bi
5 | j97ea0UDL8ztKNyDUH9ZntyFrHTltA/ZlEjmxGHQJQd4RBO6RdfM70R7l+YTGa2N
6 | PflyiRY2SKNXXx8cVUURJvkOXVfLCuRUzG+NnSS62WRuWOOD0ZjiJCnwkTJZQNw0
7 | qI+hLhWN+//05JeKOw6rNVVUHR/R0GgjPL6FIQ/+yF2Z8nCd8lVIIY+hQsM/1l/h
8 | 2QIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/x509_acert/certs/rsa_pss/acert_ietf_pkey.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIDALBgkqhkiG9w0BAQoDggEPADCCAQoCggEBALg9nrRhxCl5zxFdE7Le9GXL
3 | 9M8Rzx5xU3meu6yp9lFIc3+FxNoc5E8nk7HXUK82iuEChcSlqt0j0/y03YqM+O45
4 | N6A9OkEkjdyL8BaeQEgNxZY16/nvhhnH0Bzg4n7DMvy3sUPQvsAu9tpbfSd+WNDT
5 | vtO9Fe84HIBkYhRuaIv7ca1UYn7R2VQk1RXK0lfY4orCOrexmlfPciJaTJcR5Lyi
6 | pjUj7X5lruRHVibrMY+Z+8DtvPaDZ7HFiuXzpGPQ0W907Wt7zEJfmTMUyQoOMDMM
7 | 4iSlq0ib3rdZt9y2obCggRTFAtMAFIJ29FOT9FYDagMYFSqhnrR3ohiTNzfpYNMC
8 | AwEAAQ==
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/x509_acert/certs/rsa_pss/acert_pkey.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIDALBgkqhkiG9w0BAQoDggEPADCCAQoCggEBAL0P9mcosJbMQavKMo6FvjK/
3 | vC5PZAFYxsbQnDiG3kb3gCsshI8HQzHNIuw4wN3waJrqnFmsmsUqMENtsC0J2Fty
4 | DOI5791Ma7JUKT31RW6f5eU2Gjx1+evNWtWs2WzupsZdPS3DlgEQJsTSw3Fs1q5w
5 | JVLVHhtOjCwdj2QO9Xr17Nt0ZOfKoJdqth3LAVujMnOw9gbyTbCrCB+z1Mkq+dK4
6 | K0v6IPZqY76LVhR42y/lyG+MZ8jswg4I4qAE+iIwPi/9Tz9UdNwMfSr3gdD13pa3
7 | VqnGZG83prqPLEHwsSNpWGdDx7pQxgBkAPztO+7LPrMd1ck8Uugsq36pusLjdQ0C
8 | AwEAAQ==
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/x509_acert/set_env:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | export LD_LIBRARY_PATH=/usr/local/lib64/:/usr/local/lib/
3 | echo "info: using env: $LD_LIBRARY_PATH"
4 |
--------------------------------------------------------------------------------