Skip to content

CAVP 테스트 벡터 검증 작업 수행 #24

CAVP 테스트 벡터 검증 작업 수행

CAVP 테스트 벡터 검증 작업 수행 #24

Workflow file for this run

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 }}