-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support shangmi crypto module for Linux
Add start-up self test, including SM2/SM3/SM4/random. Add mod application, set admin password, reset on-demand self test and support entropy validation. Add entropy source, real-time clock(RTC).
- Loading branch information
1 parent
d36d066
commit 51d8899
Showing
37 changed files
with
3,473 additions
and
582 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
name: GM CI | ||
on: [pull_request, push] | ||
jobs: | ||
gm-ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: config | ||
run: | | ||
./config no-shared enable-threads enable-tls1_3 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers \ | ||
no-evp-cipher-api-compat no-req-status no-status no-crypto-mdebug-count no-dynamic-ciphers \ | ||
no-optimize-chacha no-rsa-multi-prime-key-compat no-session-lookup no-session-reused-type \ | ||
no-global-session-cache no-verify-sni no-skip-scsv enable-ntls enable-crypto-mdebug-count \ | ||
enable-crypto-mdebug-backtrace enable-ssl-trace --debug -fPIC --prefix=/opt/babassl enable-gm \ | ||
--with-rand-seed=getrandom,egd,rtc -DSSL_DEBUG -DOPENSSL_NO_INTEGRITY | ||
- name: make | ||
run: make -s -j4 | ||
- name: make test | ||
run: make test TESTS='test_rand test_internal_sm2 test_internal_sm3 test_internal_sm4 test_ssl_ntls_api' | ||
- name: print GM version | ||
run: /opt/babassl/bin/openssl version -g |
Oops, something went wrong.