NIST, KCMVP SHA-3 해시 알고리즘 CAVP 테스트 백터 검증 추가 #23
Workflow file for this run
This file contains hidden or 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
| name: Constant-Time Assembly Verification | |
| on: | |
| push: | |
| branches: [ "master", "fix/*", "feature/*" ] | |
| pull_request: | |
| branches: [ "master", "fix/*", "feature/*" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| verify-asm: | |
| name: Verify ASM for Timing Leaks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| target: [ x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Install cross-compilation tools (aarch64) | |
| if: matrix.target == 'aarch64-unknown-linux-gnu' | |
| run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu | |
| - name: Install cargo-show-asm | |
| run: cargo install cargo-show-asm | |
| - name: Build entlib-native (Release) | |
| run: cargo build --release --target ${{ matrix.target }} | |
| - name: Run Assembly Verification Script | |
| run: | | |
| chmod +x scripts/verify_ct_asm.sh | |
| scripts/verify_ct_asm.sh ${{ matrix.target }} |