• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

open-quantum-safe / liboqs
80%

Build:
DEFAULT BRANCH: main
Repo Added 07 Feb 2025 08:06PM UTC
Files 2452
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2238_fix_msvc_warnings
  • 2249_mlkem_licenses
  • CROSS-no-inlined-exp
  • CROSS-verify-siglen
  • MQOM3_integration
  • acvp-lat
  • add-markdown-linter
  • add-poutine
  • add_parantheses
  • aes128-schedule-alloc-size
  • afi/enable-gcc-14
  • armhf-tier-two
  • ash_missing_lms_parms
  • bbb_sntrup
  • bench-to-weekly
  • bhe-acvp-tst-fix
  • bhe-cfu-readme
  • bhe-commondep-inclonly
  • bhe-fix-libjade-weekly
  • bhe-mayo-round3
  • bhe-memopt-build
  • bhe-ppc-mlkem
  • bhe-upd-mayo
  • bhe-weekly-tests
  • charishma_build_script
  • charishma_requirements_txt
  • ci-image-refresh-fixes
  • ci/add_custom_timeout
  • code-coverage
  • codeql-openssl-return-check
  • cross-2.2
  • ct-tooling
  • declassify_after_api_call
  • deliverable/cbmc-owned-code
  • deliverable/ci-fuzzing
  • deliverable/ci-mutation-testing
  • deliverable/docs-security-guidance
  • dependabot/github_actions/github-actions-1024ecc5eb
  • dependabot/github_actions/github-actions-225fbb7087
  • dependabot/github_actions/github-actions-3c815a503c
  • dependabot/github_actions/github-actions-5d7b3baceb
  • dependabot/github_actions/github-actions-754f0868f5
  • dependabot/github_actions/github-actions-7a5a078ad4
  • dependabot/github_actions/github-actions-8252db5a66
  • dependabot/github_actions/github-actions-9884347997
  • dependabot/github_actions/github-actions-f253957208
  • dependabot/pip/dot-github/workflows/idna-3.15
  • dependabot/pip/dot-github/workflows/pip-09003775a4
  • dependabot/pip/dot-github/workflows/pip-0f4be5aedf
  • dependabot/pip/dot-github/workflows/pip-10fbcadc1c
  • dependabot/pip/dot-github/workflows/pip-1439961f8a
  • dependabot/pip/dot-github/workflows/pip-15ce36172b
  • dependabot/pip/dot-github/workflows/pip-34ba8b3384
  • dependabot/pip/dot-github/workflows/pip-686d448486
  • dependabot/pip/dot-github/workflows/pip-92bafd94cf
  • dependabot/pip/dot-github/workflows/pip-9aa78c80e7
  • dependabot/pip/dot-github/workflows/pip-d05869f971
  • dependabot/pip/scripts/copy_from_upstream/idna-3.15
  • dependabot/pip/scripts/copy_from_upstream/pip-47057280dd
  • dependabot/pip/scripts/copy_from_upstream/pip-7cecef7386
  • dependabot/pip/scripts/copy_from_upstream/pip-c86b6bad83
  • deprecate-remove-dilithium
  • dev
  • dev_keccak_extract_arg_fix
  • ds-0.14.0-release
  • ds-0.14.1-dev
  • ds-ai-pr-issue
  • ds-algorithms-table
  • ds-calloc-overflow
  • ds-demote-armhf
  • ds-dependabot-fixes
  • ds-disable-travis
  • ds-doxygen-style
  • ds-fix-ci-permissions
  • ds-fix-typo
  • ds-governance-codeowners
  • ds-kyber-codeowner
  • ds-pip-updates
  • ds-remove-sphincsplus
  • ds-sha3-avx512vl-comment
  • ds-sphincs-aliasing
  • dsa_update
  • encaps_derand
  • extmu
  • feature-allow-cmake-fetch-dependencies
  • fix-2474-downstream-trigger
  • fix-OV-III-pkc-skc
  • fix-dlopen-err-clear-error
  • fix-issue-2042-digest-squeeze
  • fix-memoire-wycheproof
  • fix-memory-check-comment-parsing
  • fix-platforms-typo
  • fix-poutine-scan
  • fix-readme
  • fix-windows-warnings
  • fix-zero-sig-len
  • fix/1882-optional-position-independent-code
  • fix/aligned-alloc-overflow
  • fix/alternative-intel-sde-9.53.0-source
  • fix/arm-neon-required-flags-separator
  • fix/cfu-stale-impl-in-arch-specific-ignore-check
  • fix/constant-time-failures-mceliece-avx2
  • fix/cupqc-mlkem-derand-symbols
  • fix/ghsa-jr5q-r9qx-v738
  • fix/icicle-ml-kem-encap-derand
  • fix/icicle_ml_kem_768
  • fix/macos-appleclang-arm-crypto
  • fix/ossl-prefetch-doc-claim
  • fix/pre-commit-hook-requirements-filename
  • fix/sha3-512-inc-avx512-rate-boundary
  • fix/sig-speed-ml-dsa-extmu-signing-error
  • fix/test-speed-shadowed-test-sig
  • fix_fuzzers
  • fuzz-lms-sig-stfl-verify
  • fuzz-xmss-sig-stfl-verify
  • ghsa-5c97-hp95-vg56
  • gitpython-update
  • gyx-0.15.0-full-release
  • gyx-0.15.0-release-candidate-2
  • gyx-0.15.0-release-notes
  • gyx-0.15.0-release-notes-typos
  • gyx-2045-algorithm-support-table
  • gyx-2203-swap-slhdsa-with-sphincs-in-std-algs
  • gyx-2279-remove-git-tracked-acvp-test-vec
  • gyx-2304-document-alpine-linux-support
  • gyx-2311-slhdsa-c-integration-refactor
  • gyx-additional-acvp-vectors-test
  • gyx-cache-acvp-vectors
  • gyx-global-compiler-optimiation-opt
  • gyx-hqc-20250822
  • gyx-oqsbuilder-structured-oqsbuildfile
  • gyx-pin-wycheproof-commit
  • gyx-remove-dilithium
  • gyx-sunset-alpine-platform-test
  • hss_hash_sets
  • impl-docs
  • issue-2265-test-kem-ntru-memory-sanitizer-failure
  • kem_acvp
  • lat_wyche
  • lms-deserialize-param-check
  • lms-verify-length-check
  • main
  • mb-ci-runtimereport
  • mb-securitystmt
  • mb-slhdsa-profiling
  • mb-workflowoptimizer
  • mldsa-native
  • mldsa-native-v1.0.0-beta
  • mldsa-native-v1.0.0-beta2
  • mlkem-native-v1.1.0
  • na_add_nist_lms_kat
  • na_aes192
  • na_fix_lms_#2321
  • na_fix_over_read_xmss
  • normalize-ml-kem-status
  • optimize-basic-checks
  • owaldron/fix/spdx-ignore
  • patch-1
  • pqc_upstream_release_rc1
  • prehash_dsa
  • rand-seed-nonce-mldsa-sigs
  • release/0.16.0-rc1
  • remove-armel-comment
  • revive_ntru
  • rng-improvement
  • round3
  • sha3-dispatch-fix
  • sig-sftl-keygen-supported
  • single_call_hash_shims
  • skip-extmu-kat-all
  • slh_acvp
  • slh_dsa
  • slh_shims
  • sqisign
  • stfl
  • sw-code-coverage
  • sw-pr-poc
  • test-scripts-1408
  • test/aes128ctr-iv-heap-overflow
  • tests/improve_sha3_test
  • tool/oqsbuilder
  • uov-round3
  • update-mldsa-native-v2.0.0
  • update-mlkem-native-v1.2.0
  • update-mlkem-native-v2.0.0
  • update_alg_info
  • update_alg_support
  • update_nixpkgs
  • verified-nix-installation
  • wyche
  • wyche_dsa
  • xmss-sign-sk-oid-check

18 Sep 2026 02:11PM UTC coverage: 80.359% (-0.002%) from 80.361%
35354665037

push

github

web-flow
Fix AND separator in ARM64 required_flags CMake guard (#2567)

The Jinja loop that emits the ARM64_V8 instruction-flag guard in
add_enable_by_alg_conditional.fragment used

    {%- if not loop.last or loop.first %} AND {% endif -%}

which places the separator *before* the first flag and omits it before
the last. With a single required flag the two mistakes cancel out and
the output is the harmless duplicate

    OQS_USE_ARM_NEON_INSTRUCTIONS AND OQS_USE_ARM_NEON_INSTRUCTIONS

but with two or more flags the last two tokens are concatenated:

    OQS_USE_ARM_NEON_INSTRUCTIONS AND OQS_USE_ARM_NEON_INSTRUCTIONSOQS_USE_ARM_SHA3_INSTRUCTIONS

CMake treats the concatenated name as an undefined variable, which is
false, so the whole conjunction is false and the NEON implementation can
only ever be enabled via OQS_DIST_ARM64_V8_BUILD -- never through
OQS_USE_ARM_NEON_INSTRUCTIONS/OQS_USE_ARM_SHA3_INSTRUCTIONS.

Emit " AND " before every flag instead. The leading
OQS_USE_ARM_NEON_INSTRUCTIONS is already written out by the template, so
this renders identically for single-flag platforms (all 44 existing
lines are byte-for-byte unchanged) and correctly for two or more.

Regenerate .CMake/alg_support.cmake: 18 lines, all mqom neon guards, the
only platform in-tree with two ARM required_flags (asimd + sha3).

Signed-off-by: Eva Crystal <0xiviel@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

176255 of 219335 relevant lines covered (80.36%)

3582388.32 hits per line

Relevant lines Covered
Build:
Build:
219335 RELEVANT LINES 176255 COVERED LINES
3582388.32 HITS PER LINE
Source Files on main
  • Tree
  • List 2452
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35354665037 main Fix AND separator in ARM64 required_flags CMake guard (#2567) The Jinja loop that emits the ARM64_V8 instruction-flag guard in add_enable_by_alg_conditional.fragment used {%- if not loop.last or loop.first %} AND {% endif -%} which places t... push 18 Sep 2026 02:20PM UTC web-flow github
80.36
35234139226 fix/arm-neon-required-flags-separator Merge 1e75c334d into dcf6b0e45 Pull #2567 17 Sep 2026 02:41PM UTC web-flow github
80.37
35233847903 main build(cmake): allow CMAKE_POSITION_INDEPENDENT_CODE to be overridden (#2524) * build(cmake): allow CMAKE_POSITION_INDEPENDENT_CODE to be overridden CMakeLists.txt hardcoded `set(CMAKE_POSITION_INDEPENDENT_CODE ON)`. Because that creates a normal... push 17 Sep 2026 02:39PM UTC web-flow github
80.36
34668970920 fix/arm-neon-required-flags-separator Merge 2d20157e3 into adbeba1ef Pull #2567 16 Sep 2026 09:31PM UTC web-flow github
81.16
35145418084 fix/1882-optional-position-independent-code Merge a2402c31e into cf096a27a Pull #2524 16 Sep 2026 08:22PM UTC web-flow github
80.36
35145046390 main Bump the github-actions group with 3 updates (#2573) Bumps the github-actions group with 3 updates: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action), [actions/upload-artifact](https://github.co... push 16 Sep 2026 08:21PM UTC web-flow github
80.37
35145022563 main Bump gitpython (#2572) Bumps the pip group with 1 update in the /scripts/copy_from_upstream directory: [gitpython](https://github.com/gitpython-developers/GitPython). Updates `gitpython` from 3.1.61 to 3.1.62 - [Release notes](https://github.co... push 16 Sep 2026 08:20PM UTC web-flow github
80.36
35144436914 dependabot/pip/scripts/copy_from_upstream/pip-c86b6bad83 Merge c9625b0f2 into aaa544a79 Pull #2572 16 Sep 2026 08:15PM UTC web-flow github
80.37
35144556538 dependabot/github_actions/github-actions-9884347997 Merge de446f371 into aaa544a79 Pull #2573 16 Sep 2026 08:14PM UTC web-flow github
80.37
35132260561 mb-ci-runtimereport Merge c83e8f8cb into dec0584c9 Pull #2493 16 Sep 2026 06:11PM UTC web-flow github
83.39
See All Builds (688)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc