forked from wolfSSL/wolfssl
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'upstream' of github.com:kassane/wolfssl into zig-pkg
- Loading branch information
Showing
154 changed files
with
17,476 additions
and
3,923 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: grpc Tests | ||
|
||
# START OF COMMON SECTION | ||
on: | ||
push: | ||
branches: [ 'master', 'main', 'release/**' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
# END OF COMMON SECTION | ||
|
||
jobs: | ||
build_wolfssl: | ||
name: Build wolfSSL | ||
# Just to keep it the same as the testing target | ||
runs-on: ubuntu-latest | ||
# This should be a safe limit for the tests to run. | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Build wolfSSL | ||
uses: wolfSSL/actions-build-autotools-project@v1 | ||
with: | ||
path: wolfssl | ||
configure: --enable-all 'CPPFLAGS=-DWOLFSSL_RSA_KEY_CHECK -DHAVE_EX_DATA_CLEANUP_HOOKS' | ||
install: true | ||
|
||
- name: Upload built lib | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wolf-install-grpc | ||
path: build-dir | ||
retention-days: 5 | ||
|
||
grpc_check: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ref: v1.60.0 | ||
tests: >- | ||
bad_ssl_alpn_test bad_ssl_cert_test client_ssl_test | ||
crl_ssl_transport_security_test server_ssl_test | ||
ssl_transport_security_test ssl_transport_security_utils_test | ||
test_core_security_ssl_credentials_test test_cpp_end2end_ssl_credentials_test | ||
h2_ssl_cert_test h2_ssl_session_reuse_test | ||
name: ${{ matrix.ref }} | ||
runs-on: ubuntu-latest | ||
# This should be a safe limit for the tests to run. | ||
timeout-minutes: 30 | ||
needs: build_wolfssl | ||
steps: | ||
- name: Confirm IPv4 and IPv6 support | ||
run: | | ||
ip addr list lo | grep 'inet ' | ||
ip addr list lo | grep 'inet6 ' | ||
- name: Install prereqs | ||
run: | ||
sudo apt-get install build-essential autoconf libtool pkg-config cmake clang libc++-dev | ||
|
||
- name: Download lib | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wolf-install-grpc | ||
path: build-dir | ||
|
||
- name: Checkout OSP | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: wolfssl/osp | ||
path: osp | ||
|
||
- name: Checkout grpc | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: grpc/grpc | ||
path: grpc | ||
ref: ${{ matrix.ref }} | ||
|
||
- name: Build grpc | ||
working-directory: ./grpc | ||
run: | | ||
patch -p1 < ../osp/grpc/grpc-${{ matrix.ref }}.patch | ||
git submodule update --init | ||
mkdir cmake/build | ||
cd cmake/build | ||
cmake -DgRPC_BUILD_TESTS=ON -DgRPC_SSL_PROVIDER=wolfssl \ | ||
-DWOLFSSL_INSTALL_DIR=$GITHUB_WORKSPACE/build-dir ../.. | ||
make -j $(nproc) ${{ matrix.tests }} | ||
- name: Run grpc tests | ||
working-directory: ./grpc | ||
run: | | ||
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build-dir/lib:$LD_LIBRARY_PATH | ||
./tools/run_tests/start_port_server.py | ||
for t in ${{ matrix.tests }} ; do | ||
./cmake/build/$t | ||
done |
122 changes: 122 additions & 0 deletions
122
...ub/workflows/hostap-files/configs/07c9f183ea744ac04585fb6dd10220c75a5e2e74/hostapd.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
#CC=ccache gcc | ||
|
||
CONFIG_DRIVER_NONE=y | ||
CONFIG_DRIVER_NL80211=y | ||
CONFIG_RSN_PREAUTH=y | ||
|
||
#CONFIG_TLS=internal | ||
#CONFIG_INTERNAL_LIBTOMMATH=y | ||
#CONFIG_INTERNAL_LIBTOMMATH_FAST=y | ||
#CONFIG_TLS=openssl | ||
CONFIG_TLS=wolfssl | ||
|
||
CONFIG_EAP=y | ||
CONFIG_ERP=y | ||
CONFIG_EAP_MD5=y | ||
CONFIG_EAP_TLS=y | ||
CONFIG_EAP_MSCHAPV2=y | ||
CONFIG_EAP_PEAP=y | ||
CONFIG_EAP_GTC=y | ||
CONFIG_EAP_TTLS=y | ||
CONFIG_EAP_SIM=y | ||
CONFIG_EAP_AKA=y | ||
CONFIG_EAP_AKA_PRIME=y | ||
CONFIG_EAP_GPSK=y | ||
CONFIG_EAP_GPSK_SHA256=y | ||
CONFIG_EAP_SAKE=y | ||
CONFIG_EAP_PAX=y | ||
CONFIG_EAP_PSK=y | ||
CONFIG_EAP_VENDOR_TEST=y | ||
CONFIG_EAP_FAST=y | ||
CONFIG_EAP_TEAP=y | ||
CONFIG_EAP_IKEV2=y | ||
CONFIG_EAP_TNC=y | ||
CFLAGS += -DTNC_CONFIG_FILE=\"tnc/tnc_config\" | ||
LIBS += -rdynamic | ||
CONFIG_EAP_UNAUTH_TLS=y | ||
ifeq ($(CONFIG_TLS), openssl) | ||
CONFIG_EAP_PWD=y | ||
endif | ||
ifeq ($(CONFIG_TLS), wolfssl) | ||
CONFIG_EAP_PWD=y | ||
endif | ||
CONFIG_EAP_EKE=y | ||
CONFIG_PKCS12=y | ||
CONFIG_RADIUS_SERVER=y | ||
CONFIG_IPV6=y | ||
CONFIG_TLSV11=y | ||
CONFIG_TLSV12=y | ||
|
||
CONFIG_FULL_DYNAMIC_VLAN=y | ||
CONFIG_VLAN_NETLINK=y | ||
CONFIG_LIBNL32=y | ||
CONFIG_LIBNL3_ROUTE=y | ||
CONFIG_IEEE80211R=y | ||
CONFIG_IEEE80211AC=y | ||
CONFIG_IEEE80211AX=y | ||
|
||
CONFIG_OCV=y | ||
|
||
CONFIG_WPS=y | ||
CONFIG_WPS_UPNP=y | ||
CONFIG_WPS_NFC=y | ||
#CONFIG_WPS_STRICT=y | ||
CONFIG_WPA_TRACE=y | ||
CONFIG_WPA_TRACE_BFD=y | ||
|
||
CONFIG_P2P_MANAGER=y | ||
CONFIG_DEBUG_FILE=y | ||
CONFIG_DEBUG_LINUX_TRACING=y | ||
CONFIG_WPA_CLI_EDIT=y | ||
CONFIG_ACS=y | ||
CONFIG_NO_RANDOM_POOL=y | ||
CONFIG_WNM=y | ||
CONFIG_INTERWORKING=y | ||
CONFIG_HS20=y | ||
CONFIG_SQLITE=y | ||
CONFIG_SAE=y | ||
CONFIG_SAE_PK=y | ||
CFLAGS += -DALL_DH_GROUPS | ||
|
||
CONFIG_FST=y | ||
CONFIG_FST_TEST=y | ||
|
||
CONFIG_TESTING_OPTIONS=y | ||
CFLAGS += -DCONFIG_RADIUS_TEST | ||
CONFIG_MODULE_TESTS=y | ||
|
||
CONFIG_SUITEB=y | ||
CONFIG_SUITEB192=y | ||
|
||
# AddressSanitizer (ASan) can be enabled by uncommenting the following lines. | ||
# This can be used as a more efficient memory error detector than valgrind | ||
# (though, with still some CPU and memory cost, so VM cases will need more | ||
# memory allocated for the guest). | ||
#CFLAGS += -fsanitize=address -O1 -fno-omit-frame-pointer -g | ||
#LIBS += -fsanitize=address -fno-omit-frame-pointer -g | ||
#LIBS_h += -fsanitize=address -fno-omit-frame-pointer -g | ||
#LIBS_n += -fsanitize=address -fno-omit-frame-pointer -g | ||
#LIBS_c += -fsanitize=address -fno-omit-frame-pointer -g | ||
|
||
# Undefined Behavior Sanitizer (UBSan) can be enabled by uncommenting the | ||
# following lines. | ||
#CFLAGS += -Wno-format-nonliteral | ||
#CFLAGS += -fsanitize=undefined | ||
##CFLAGS += -fno-sanitize-recover | ||
#LIBS += -fsanitize=undefined | ||
##LIBS += -fno-sanitize-recover | ||
#LIBS_h += -fsanitize=undefined | ||
#LIBS_n += -fsanitize=undefined | ||
#LIBS_c += -fsanitize=undefined | ||
CONFIG_MBO=y | ||
|
||
CONFIG_TAXONOMY=y | ||
CONFIG_FILS=y | ||
CONFIG_FILS_SK_PFS=y | ||
CONFIG_OWE=y | ||
CONFIG_DPP=y | ||
CONFIG_DPP2=y | ||
CONFIG_WEP=y | ||
CONFIG_PASN=y | ||
CONFIG_AIRTIME_POLICY=y | ||
CONFIG_IEEE80211BE=y |
Oops, something went wrong.