Skip to content

Add aarch64 constant-time (f_events) proofs for rej_uniform_eta2 and rej_uniform_eta4 - #1390

Open
jakemas wants to merge 1 commit into
mainfrom
rej-uniform-eta2-ct-fevents
Open

Add aarch64 constant-time (f_events) proofs for rej_uniform_eta2 and rej_uniform_eta4#1390
jakemas wants to merge 1 commit into
mainfrom
rej-uniform-eta2-ct-fevents

Conversation

@jakemas

@jakemas jakemas commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Resolves #1160

@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch 2 times, most recently from 89b0937 to fc787f5 Compare August 18, 2026 18:28
@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-44, REDUCE-RAM)

⚠️ Attention Required

Proof Status Current Previous Change
compute_pack_t0_t1 ⚠️ 29s 12s +142%
mld_attempt_signature_generation ⚠️ 148s 19s +679%
sign_keypair_internal ⚠️ 20s 4s +400%
sign_pk_from_sk ⚠️ 40s 5s +700%
sign_verify_internal ⚠️ 160s 49s +227%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** 1234s 1364s -9.5%
sign_verify_internal ⚠️ 160s 49s +227%
mld_attempt_signature_generation ⚠️ 148s 19s +679%
polyvec_matrix_pointwise_montgomery_yvec 94s 149s -37%
poly_pointwise_montgomery_c 61s 112s -46%
mld_invntt_layer 55s 105s -48%
sign_pk_from_sk ⚠️ 40s 5s +700%
compute_pack_t0_t1 ⚠️ 29s 12s +142%
fqmul 21s 39s -46%
mld_ntt_layer 20s 41s -51%
sign_keypair_internal ⚠️ 20s 4s +400%
sig_unpack_hints 14s 2s +600%
keccakf1600x4_permute_native 12s 22s -45%
sign_signature_internal 11s 4s +175%
mld_ntt_butterfly_block 10s 23s -57%
polyeta_unpack 10s 14s -29%
rej_uniform_c 10s 16s -38%
poly_ntt_c 9s 21s -57%
mld_check_pct 8s 15s -47%
polyt0_unpack 8s 12s -33%
rej_uniform 8s 8s +0%
rej_uniform_native_x86_64 8s - new
polyz_unpack_c 7s 8s -12%
sign_keypair 7s 5s +40%
poly_chknorm_c 6s 11s -45%
poly_invntt_tomont_c 6s 11s -45%
poly_uniform_eta_4x 6s 12s -50%
keccak_absorb_once_x4 5s 8s -38%
pointwise_acc_native_aarch64 5s 6s -17%
poly_power2round 5s 4s +25%
polyt1_unpack 5s 2s +150%
polyvec_matrix_pointwise_montgomery_row 5s 6s -17%
shake128_release 5s 2s +150%
sign_signature_pre_hash_shake256 5s 4s +25%
sign_verify_pre_hash_shake256 5s 5s +0%
yvec_get_poly 5s 3s +67%
keccak_f1600_x1_native_aarch64_v84a 4s 2s +100%
keccak_squeeze 4s 2s +100%
keccakf1600x4_permute 4s 4s +0%
mld_ct_cmask_neg_i32 4s 2s +100%
mld_keccakf1600_permute_c 4s 7s -43%
mld_polymat_expand_entry 4s 2s +100%
mld_sign_resume 4s - new
pack_sig_z 4s 2s +100%
poly_challenge 4s 6s -33%
poly_decompose_32_native_aarch64 4s 4s +0%
poly_decompose_c 4s 5s -20%
poly_decompose_native 4s 2s +100%
polyt0_pack 4s 4s +0%
polyveck_chknorm 4s 67s -94%
polyveck_decompose 4s 7s -43%
polyvecl_pack_eta 4s 2s +100%
polyvecl_pointwise_acc_montgomery_c 4s 4s +0%
polyz_pack 4s 2s +100%
rej_uniform_eta_native_aarch64 4s 3s +33%
sign_signature_pre_hash_internal 4s 4s +0%
sys_check_capability 4s 2s +100%
use_hint 4s 2s +100%
caddq 3s 6s -50%
fqscale 3s 2s +50%
intt_native_x86_64 3s 2s +50%
keccak_absorb 3s 3s +0%
keccakf1600_permute 3s 2s +50%
keccakf1600x4_extract_bytes_native 3s 4s -25%
keccakf1600x4_xor_bytes 3s 3s +0%
keccakf1600x4_xor_bytes_native 3s 5s -40%
mld_compute_pack_z 3s 6s -50%
mld_ct_abs_i32 3s 3s +0%
mld_ct_cmask_nonzero_u8 3s 2s +50%
mld_ct_sel_int32 3s 3s +0%
mld_h 3s 4s -25%
mld_keccakf1600x4_extract_bytes_c 3s 4s -25%
mld_prepare_domain_separation_prefix 3s 3s +0%
mld_sample_s1_s2_serial 3s 4s -25%
ntt_native_x86_64 3s 3s +0%
nttunpack_native_x86_64 3s 4s -25%
pack_sig_h 3s 4s -25%
pack_sk_s1 3s 3s +0%
pointwise_acc_native_x86_64 3s 4s -25%
pointwise_native_aarch64 3s 2s +50%
poly_add 3s 7s -57%
poly_caddq_c 3s 3s +0%
poly_caddq_native 3s 3s +0%
poly_chknorm_native 3s 4s -25%
poly_chknorm_native_aarch64 3s 2s +50%
poly_decompose_88_native_aarch64 3s 3s +0%
poly_invntt_tomont 3s 2s +50%
poly_ntt 3s 3s +0%
poly_ntt_native 3s 3s +0%
poly_permute_bitrev_to_custom_optional 3s 5s -40%
poly_uniform_eta 3s 2s +50%
poly_use_hint_c 3s 5s -40%
poly_use_hint_native_aarch64 3s 3s +0%
poly_use_hint_native_x86_64 3s - new
polyeta_pack 3s 3s +0%
polyveck_reduce 3s 4s -25%
polyvecl_ntt 3s 3s +0%
polyz_unpack_19_native_aarch64 3s 4s -25%
sign_signature_extmu 3s 4s -25%
sign_verify_extmu 3s 5s -40%
sign_verify_pre_hash_internal 3s 5s -40%
unpack_pk_t1 3s 3s +0%
yvec_init 3s 1s +200%
keccak_f1600_x4_native_aarch64_v84a 2s 3s -33%
keccak_finalize 2s 2s +0%
keccakf1600_extract_bytes (big endian) 2s 4s -50%
keccakf1600_permute_native 2s 3s -33%
keccakf1600x4_extract_bytes 2s 2s +0%
mld_ct_cmask_nonzero_u32 2s 3s -33%
mld_ct_get_optblocker_i64 2s 4s -50%
mld_ct_get_optblocker_u8 2s 2s +0%
mld_ct_memcmp 2s 1s +100%
mld_keccakf1600_extract_bytes 2s 2s +0%
mld_keccakf1600x4_xor_bytes_c 2s 4s -50%
mld_sample_s1_s2 2s 1s +100%
mld_sign_attempt 2s - new
mld_value_barrier_i64 2s 3s -33%
mld_value_barrier_u8 2s 4s -50%
montgomery_reduce 2s 2s +0%
pointwise_native_x86_64 2s 4s -50%
poly_caddq_native_aarch64 2s 3s -33%
poly_caddq_native_x86_64 2s 4s -50%
poly_chknorm 2s 3s -33%
poly_decompose 2s 2s +0%
poly_decompose_native_x86_64 2s 2s +0%
poly_pointwise_montgomery 2s 3s -33%
poly_pointwise_montgomery_native 2s 2s +0%
poly_reduce 2s 4s -50%
poly_shiftl 2s 4s -50%
poly_sub 2s 3s -33%
poly_uniform 2s 3s -33%
poly_uniform_4x 2s 3s -33%
poly_uniform_gamma1 2s 3s -33%
poly_uniform_gamma1_4x 2s 5s -60%
poly_use_hint_native 2s 3s -33%
polyt1_pack 2s 3s -33%
polyveck_caddq 2s 3s -33%
polyveck_ntt 2s 2s +0%
polyveck_pack_eta 2s 4s -50%
polyveck_unpack_eta 2s 2s +0%
polyvecl_chknorm 2s 11s -82%
polyvecl_pointwise_acc_montgomery_native 2s 3s -33%
polyvecl_uniform_gamma1 2s 2s +0%
polyvecl_uniform_gamma1_serial 2s 2s +0%
polyw1_pack 2s 4s -50%
polyw1_pack_88 2s 2s +0%
polyz_unpack 2s 3s -33%
polyz_unpack_17_native_aarch64 2s 2s +0%
polyz_unpack_native 2s 3s -33%
power2round 2s 2s +0%
reduce32 2s 3s -33%
rej_eta 2s 5s -60%
rej_eta_native 2s 3s -33%
rej_uniform_native 2s 5s -60%
shake128_finalize 2s 3s -33%
shake128_init 2s 2s +0%
shake128_squeeze 2s 2s +0%
shake128x4_absorb_once 2s 2s +0%
shake256 2s 1s +100%
shake256_absorb 2s 2s +0%
shake256_init 2s 4s -50%
shake256_release 2s 1s +100%
shake256x4_absorb_once 2s 1s +100%
shake256x4_squeezeblocks 2s 2s +0%
sign_signature 2s 6s -67%
sign_verify 2s 4s -50%
sk_s1hat_get_poly 2s 2s +0%
sk_s2hat_get_poly 2s 5s -60%
sk_t0hat_get_poly 2s 1s +100%
unpack_sk 2s 3s -33%
unpack_sk_s1hat 2s 3s -33%
unpack_sk_s2hat 2s 4s -50%
unpack_sk_t0hat 2s 2s +0%
decompose 1s 3s -67%
intt_native_aarch64 1s 3s -67%
keccak_f1600_x1_native_aarch64 1s 3s -67%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 1s 2s -50%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 1s 3s -67%
keccak_f1600_x4_native_avx2 1s 2s -50%
keccak_init 1s 3s -67%
keccak_squeezeblocks_x4 1s 3s -67%
keccakf1600_xor_bytes 1s 3s -67%
keccakf1600_xor_bytes (big endian) 1s 6s -83%
make_hint 1s 3s -67%
mld_ct_get_optblocker_u32 1s 2s -50%
mld_sign_finish 1s - new
mld_value_barrier_u32 1s 1s +0%
ntt_native_aarch64 1s 4s -75%
pack_sig_c 1s 5s -80%
pack_sk_rho_key_tr_s2 1s 5s -80%
poly_caddq 1s 4s -75%
poly_chknorm_native_x86_64 1s 2s -50%
poly_invntt_tomont_native 1s 3s -67%
poly_permute_bitrev_to_custom_optional_native 1s 3s -67%
poly_use_hint 1s 2s -50%
polyvec_matrix_expand 1s 3s -67%
polyvec_matrix_expand_serial 1s 4s -75%
polyveck_invntt_tomont 1s 5s -80%
polyveck_pack_w1 1s 3s -67%
polyvecl_pointwise_acc_montgomery 1s 3s -67%
polyvecl_unpack_eta 1s 4s -75%
polyvecl_unpack_z 1s 3s -67%
polyw1_pack_32 1s 3s -67%
polyz_unpack_native_x86_64 1s 3s -67%
rej_eta_c 1s 4s -75%
rej_uniform_eta_native_x86_64 1s - new
rej_uniform_native_aarch64 1s 3s -67%
shake128_absorb 1s 3s -67%
shake128x4_squeezeblocks 1s 2s -50%
shake256_finalize 1s 2s -50%
shake256_squeeze 1s 2s -50%

@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-65, REDUCE-RAM)

⚠️ Attention Required

Proof Status Current Previous Change
compute_pack_t0_t1 ⚠️ 31s 7s +343%
mld_attempt_signature_generation ⚠️ 147s 31s +374%
sign_keypair_internal ⚠️ 28s 3s +833%
sign_pk_from_sk ⚠️ 56s 5s +1020%
sign_verify_internal ⚠️ 166s 71s +134%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** 1332s 1482s -10.1%
sign_verify_internal ⚠️ 166s 71s +134%
mld_attempt_signature_generation ⚠️ 147s 31s +374%
polyvec_matrix_pointwise_montgomery_yvec 137s 201s -32%
poly_pointwise_montgomery_c 63s 116s -46%
sign_pk_from_sk ⚠️ 56s 5s +1020%
mld_invntt_layer 55s 108s -49%
polyvecl_chknorm 44s 43s +2%
compute_pack_t0_t1 ⚠️ 31s 7s +343%
sign_keypair_internal ⚠️ 28s 3s +833%
fqmul 24s 40s -40%
mld_ntt_layer 21s 43s -51%
sign_signature_internal 13s 6s +117%
keccakf1600x4_permute_native 11s 22s -50%
rej_uniform 11s 7s +57%
sig_unpack_hints 11s 1s +1000%
mld_ntt_butterfly_block 10s 25s -60%
rej_uniform_c 10s 16s -38%
poly_ntt_c 9s 22s -59%
polyt0_unpack 9s 13s -31%
poly_uniform_eta_4x 7s 13s -46%
polyveck_decompose 7s 14s -50%
rej_uniform_native_x86_64 7s - new
poly_chknorm_c 6s 13s -54%
polyvecl_ntt 6s 7s -14%
polyz_unpack_native 6s 3s +100%
sign_keypair 6s 4s +50%
keccak_absorb_once_x4 5s 10s -50%
make_hint 5s 3s +67%
mld_check_pct 5s 12s -58%
pack_sig_c 5s 3s +67%
poly_caddq_native_x86_64 5s 1s +400%
polyeta_unpack 5s 4s +25%
unpack_pk_t1 5s 2s +150%
keccak_absorb 4s 3s +33%
mld_ct_get_optblocker_i64 4s 1s +300%
mld_h 4s 3s +33%
pointwise_acc_native_aarch64 4s 6s -33%
poly_add 4s 7s -43%
poly_caddq 4s 3s +33%
poly_caddq_c 4s 5s -20%
poly_caddq_native_aarch64 4s 2s +100%
poly_decompose_c 4s 8s -50%
poly_invntt_tomont_c 4s 10s -60%
polyveck_caddq 4s 7s -43%
polyveck_reduce 4s 6s -33%
polyz_pack 4s 3s +33%
rej_eta 4s 5s -20%
sign_signature_pre_hash_shake256 4s 7s -43%
sign_verify_pre_hash_internal 4s 5s -20%
sign_verify_pre_hash_shake256 4s 6s -33%
sk_t0hat_get_poly 4s 1s +300%
yvec_init 4s 5s -20%
intt_native_aarch64 3s 2s +50%
intt_native_x86_64 3s 4s -25%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 3s 3s +0%
keccak_init 3s 4s -25%
keccakf1600x4_extract_bytes_native 3s 1s +200%
mld_ct_abs_i32 3s 6s -50%
mld_ct_cmask_neg_i32 3s 3s +0%
mld_ct_cmask_nonzero_u32 3s 3s +0%
mld_keccakf1600_permute_c 3s 7s -57%
mld_keccakf1600x4_extract_bytes_c 3s 2s +50%
mld_prepare_domain_separation_prefix 3s 4s -25%
mld_sample_s1_s2 3s 6s -50%
mld_sign_finish 3s - new
montgomery_reduce 3s 1s +200%
ntt_native_aarch64 3s 3s +0%
pack_sig_h 3s 2s +50%
pack_sk_s1 3s 3s +0%
pointwise_native_aarch64 3s 3s +0%
pointwise_native_x86_64 3s 2s +50%
poly_challenge 3s 5s -40%
poly_chknorm_native_x86_64 3s 4s -25%
poly_decompose_32_native_aarch64 3s 4s -25%
poly_decompose_native_x86_64 3s 2s +50%
poly_invntt_tomont 3s 5s -40%
poly_invntt_tomont_native 3s 5s -40%
poly_ntt_native 3s 2s +50%
poly_pointwise_montgomery_native 3s 4s -25%
poly_power2round 3s 7s -57%
poly_reduce 3s 4s -25%
poly_uniform 3s 2s +50%
poly_uniform_4x 3s 4s -25%
poly_use_hint_c 3s 2s +50%
poly_use_hint_native 3s 7s -57%
poly_use_hint_native_x86_64 3s - new
polyeta_pack 3s 1s +200%
polyvec_matrix_expand_serial 3s 3s +0%
polyvec_matrix_pointwise_montgomery_row 3s 8s -62%
polyveck_chknorm 3s 36s -92%
polyveck_invntt_tomont 3s 7s -57%
polyveck_ntt 3s 4s -25%
polyveck_pack_eta 3s 3s +0%
polyveck_unpack_eta 3s 3s +0%
polyvecl_pointwise_acc_montgomery_native 3s 3s +0%
polyz_unpack_19_native_aarch64 3s 5s -40%
power2round 3s 2s +50%
reduce32 3s 2s +50%
rej_eta_c 3s 4s -25%
rej_uniform_eta_native_aarch64 3s 5s -40%
rej_uniform_eta_native_x86_64 3s - new
rej_uniform_native 3s 4s -25%
shake128_absorb 3s 2s +50%
shake256_squeeze 3s 4s -25%
shake256x4_absorb_once 3s 2s +50%
sign_verify 3s 6s -50%
sk_s2hat_get_poly 3s 1s +200%
sys_check_capability 3s 1s +200%
keccak_f1600_x4_native_aarch64_v84a 2s 2s +0%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 2s 3s -33%
keccak_finalize 2s 2s +0%
keccakf1600_permute 2s 4s -50%
keccakf1600_permute_native 2s 2s +0%
keccakf1600_xor_bytes 2s 4s -50%
mld_compute_pack_z 2s 5s -60%
mld_ct_get_optblocker_u8 2s 4s -50%
mld_ct_memcmp 2s 4s -50%
mld_polymat_expand_entry 2s 3s -33%
mld_sample_s1_s2_serial 2s 3s -33%
mld_sign_attempt 2s - new
mld_sign_resume 2s - new
mld_value_barrier_u32 2s 4s -50%
nttunpack_native_x86_64 2s 3s -33%
pack_sig_z 2s 1s +100%
pack_sk_rho_key_tr_s2 2s 2s +0%
pointwise_acc_native_x86_64 2s 5s -60%
poly_chknorm 2s 3s -33%
poly_decompose 2s 2s +0%
poly_decompose_88_native_aarch64 2s 2s +0%
poly_permute_bitrev_to_custom_optional 2s 3s -33%
poly_permute_bitrev_to_custom_optional_native 2s 3s -33%
poly_pointwise_montgomery 2s 2s +0%
poly_shiftl 2s 3s -33%
poly_sub 2s 4s -50%
poly_uniform_eta 2s 5s -60%
poly_use_hint_native_aarch64 2s 4s -50%
polyt1_pack 2s 3s -33%
polyt1_unpack 2s 3s -33%
polyveck_pack_w1 2s 4s -50%
polyvecl_pack_eta 2s 2s +0%
polyvecl_pointwise_acc_montgomery 2s 3s -33%
polyvecl_uniform_gamma1_serial 2s 1s +100%
polyvecl_unpack_z 2s 1s +100%
polyw1_pack_32 2s 2s +0%
polyw1_pack_88 2s 3s -33%
polyz_unpack 2s 3s -33%
rej_eta_native 2s 3s -33%
shake128_release 2s 2s +0%
shake128_squeeze 2s 3s -33%
shake128x4_absorb_once 2s 2s +0%
shake256_finalize 2s 1s +100%
sign_signature 2s 5s -60%
sign_signature_extmu 2s 4s -50%
sign_verify_extmu 2s 2s +0%
sk_s1hat_get_poly 2s 3s -33%
unpack_sk 2s 3s -33%
unpack_sk_s1hat 2s 1s +100%
unpack_sk_s2hat 2s 3s -33%
caddq 1s 2s -50%
decompose 1s 4s -75%
fqscale 1s 3s -67%
keccak_f1600_x1_native_aarch64 1s 2s -50%
keccak_f1600_x1_native_aarch64_v84a 1s 2s -50%
keccak_f1600_x4_native_avx2 1s 2s -50%
keccak_squeeze 1s 2s -50%
keccak_squeezeblocks_x4 1s 4s -75%
keccakf1600_extract_bytes (big endian) 1s 3s -67%
keccakf1600_xor_bytes (big endian) 1s 2s -50%
keccakf1600x4_extract_bytes 1s 4s -75%
keccakf1600x4_permute 1s 1s +0%
keccakf1600x4_xor_bytes 1s 2s -50%
keccakf1600x4_xor_bytes_native 1s 2s -50%
mld_ct_cmask_nonzero_u8 1s 2s -50%
mld_ct_get_optblocker_u32 1s 3s -67%
mld_ct_sel_int32 1s 2s -50%
mld_keccakf1600_extract_bytes 1s 2s -50%
mld_keccakf1600x4_xor_bytes_c 1s 2s -50%
mld_value_barrier_i64 1s 2s -50%
mld_value_barrier_u8 1s 1s +0%
ntt_native_x86_64 1s 5s -80%
poly_caddq_native 1s 4s -75%
poly_chknorm_native 1s 4s -75%
poly_chknorm_native_aarch64 1s 2s -50%
poly_decompose_native 1s 5s -80%
poly_ntt 1s 2s -50%
poly_uniform_gamma1 1s 3s -67%
poly_uniform_gamma1_4x 1s 3s -67%
poly_use_hint 1s 3s -67%
polyt0_pack 1s 5s -80%
polyvec_matrix_expand 1s 6s -83%
polyvecl_pointwise_acc_montgomery_c 1s 3s -67%
polyvecl_uniform_gamma1 1s 4s -75%
polyvecl_unpack_eta 1s 2s -50%
polyw1_pack 1s 3s -67%
polyz_unpack_17_native_aarch64 1s 2s -50%
polyz_unpack_c 1s 9s -89%
polyz_unpack_native_x86_64 1s 3s -67%
rej_uniform_native_aarch64 1s 5s -80%
shake128_finalize 1s 2s -50%
shake128_init 1s 6s -83%
shake128x4_squeezeblocks 1s 2s -50%
shake256 1s 2s -50%
shake256_absorb 1s 4s -75%
shake256_init 1s 4s -75%
shake256_release 1s 3s -67%
shake256x4_squeezeblocks 1s 2s -50%
sign_signature_pre_hash_internal 1s 3s -67%
unpack_sk_t0hat 1s 4s -75%
use_hint 1s 2s -50%
yvec_get_poly 1s 3s -67%

@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-44)

⚠️ Attention Required

Proof Status Current Previous Change
compute_pack_t0_t1 ⚠️ 94s 50s +88%
mld_attempt_signature_generation ⚠️ 287s 58s +395%
sign_keypair_internal ⚠️ 20s 4s +400%
sign_pk_from_sk ⚠️ 35s 5s +600%
sign_signature_internal ⚠️ 91s 26s +250%
sign_verify_internal ⚠️ 278s 114s +144%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** 1778s 1514s +17.4%
mld_attempt_signature_generation ⚠️ 287s 58s +395%
sign_verify_internal ⚠️ 278s 114s +144%
polyvecl_pointwise_acc_montgomery_c 150s 131s +15%
poly_pointwise_montgomery_c 136s 114s +19%
compute_pack_t0_t1 ⚠️ 94s 50s +88%
sign_signature_internal ⚠️ 91s 26s +250%
mld_invntt_layer 57s 107s -47%
sign_pk_from_sk ⚠️ 35s 5s +600%
fqmul 24s 39s -38%
mld_ntt_layer 24s 42s -43%
polyvec_matrix_expand 20s 28s -29%
sign_keypair_internal ⚠️ 20s 4s +400%
sig_unpack_hints 19s 2s +850%
keccakf1600x4_permute_native 14s 22s -36%
mld_ntt_butterfly_block 10s 23s -57%
poly_ntt_c 10s 19s -47%
polyeta_unpack 9s 14s -36%
rej_uniform_c 9s 15s -40%
rej_uniform_native_x86_64 9s - new
polyt0_unpack 8s 15s -47%
polyvec_matrix_pointwise_montgomery_yvec 8s 15s -47%
polyz_unpack_c 8s 11s -27%
rej_uniform 8s 18s -56%
keccak_squeezeblocks_x4 6s 4s +50%
mld_compute_pack_z 6s 7s -14%
poly_chknorm_c 6s 17s -65%
poly_uniform_eta_4x 6s 11s -45%
keccak_absorb_once_x4 5s 9s -44%
mld_check_pct 5s 14s -64%
mld_sample_s1_s2_serial 5s 3s +67%
poly_invntt_tomont_c 5s 11s -55%
poly_uniform_4x 5s 14s -64%
polyveck_caddq 5s 3s +67%
rej_uniform_native 5s 4s +25%
mld_sign_resume 4s - new
montgomery_reduce 4s 3s +33%
pack_sig_h 4s 3s +33%
poly_add 4s 7s -43%
poly_caddq_native 4s 5s -20%
poly_power2round 4s 4s +0%
poly_uniform 4s 6s -33%
polyt1_unpack 4s 5s -20%
polyveck_decompose 4s 4s +0%
polyveck_invntt_tomont 4s 5s -20%
polyvecl_pointwise_acc_montgomery 4s 4s +0%
polyw1_pack_88 4s 1s +300%
rej_uniform_eta_native_x86_64 4s - new
sign_keypair 4s 4s +0%
sign_signature_pre_hash_internal 4s 6s -33%
sign_signature_pre_hash_shake256 4s 3s +33%
sk_t0hat_get_poly 4s 2s +100%
decompose 3s 2s +50%
intt_native_aarch64 3s 9s -67%
intt_native_x86_64 3s 4s -25%
keccak_absorb 3s 5s -40%
keccakf1600_extract_bytes (big endian) 3s 2s +50%
make_hint 3s 3s +0%
mld_ct_cmask_neg_i32 3s 3s +0%
mld_ct_cmask_nonzero_u32 3s 2s +50%
mld_ct_cmask_nonzero_u8 3s 2s +50%
mld_keccakf1600_permute_c 3s 8s -62%
mld_keccakf1600x4_xor_bytes_c 3s 2s +50%
mld_sample_s1_s2 3s 4s -25%
mld_sign_finish 3s - new
pack_sk_rho_key_tr_s2 3s 3s +0%
pack_sk_s1 3s 2s +50%
pointwise_acc_native_x86_64 3s 7s -57%
poly_challenge 3s 3s +0%
poly_decompose_c 3s 4s -25%
poly_decompose_native 3s 3s +0%
poly_invntt_tomont_native 3s 4s -25%
poly_permute_bitrev_to_custom_optional_native 3s 4s -25%
poly_pointwise_montgomery_native 3s 2s +50%
poly_uniform_eta 3s 5s -40%
poly_uniform_gamma1_4x 3s 5s -40%
poly_use_hint 3s 4s -25%
poly_use_hint_native_x86_64 3s - new
polyeta_pack 3s 3s +0%
polyt1_pack 3s 4s -25%
polyvec_matrix_expand_serial 3s 8s -62%
polyveck_chknorm 3s 5s -40%
polyveck_ntt 3s 5s -40%
polyveck_pack_eta 3s 2s +50%
polyvecl_ntt 3s 2s +50%
polyvecl_pointwise_acc_montgomery_native 3s 2s +50%
polyvecl_uniform_gamma1 3s 3s +0%
polyvecl_unpack_z 3s 2s +50%
polyw1_pack_32 3s 2s +50%
polyz_pack 3s 2s +50%
polyz_unpack_native 3s 2s +50%
reduce32 3s 2s +50%
rej_eta_native 3s 6s -50%
rej_uniform_eta_native_aarch64 3s 2s +50%
sign_signature 3s 3s +0%
sign_signature_extmu 3s 4s -25%
sign_verify_pre_hash_shake256 3s 5s -40%
sk_s1hat_get_poly 3s 3s +0%
sys_check_capability 3s 4s -25%
unpack_pk_t1 3s 5s -40%
use_hint 3s 2s +50%
yvec_init 3s 3s +0%
caddq 2s 2s +0%
keccak_f1600_x1_native_aarch64 2s 2s +0%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 2s 3s -33%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 2s 1s +100%
keccak_finalize 2s 3s -33%
keccak_init 2s 3s -33%
keccak_squeeze 2s 1s +100%
keccakf1600_permute_native 2s 3s -33%
keccakf1600_xor_bytes 2s 1s +100%
keccakf1600_xor_bytes (big endian) 2s 4s -50%
keccakf1600x4_xor_bytes 2s 2s +0%
mld_ct_abs_i32 2s 2s +0%
mld_ct_get_optblocker_i64 2s 4s -50%
mld_ct_get_optblocker_u32 2s 1s +100%
mld_ct_memcmp 2s 3s -33%
mld_h 2s 4s -50%
mld_keccakf1600x4_extract_bytes_c 2s 2s +0%
mld_polymat_expand_entry 2s 3s -33%
mld_sign_attempt 2s - new
mld_value_barrier_i64 2s 2s +0%
ntt_native_aarch64 2s 3s -33%
ntt_native_x86_64 2s 3s -33%
nttunpack_native_x86_64 2s 1s +100%
pack_sig_c 2s 2s +0%
pointwise_native_x86_64 2s 4s -50%
poly_caddq_c 2s 2s +0%
poly_chknorm_native 2s 4s -50%
poly_chknorm_native_aarch64 2s 4s -50%
poly_chknorm_native_x86_64 2s 2s +0%
poly_decompose 2s 3s -33%
poly_decompose_32_native_aarch64 2s 2s +0%
poly_decompose_native_x86_64 2s 3s -33%
poly_ntt 2s 3s -33%
poly_reduce 2s 3s -33%
poly_shiftl 2s 3s -33%
poly_sub 2s 3s -33%
poly_uniform_gamma1 2s 4s -50%
poly_use_hint_c 2s 3s -33%
polyt0_pack 2s 2s +0%
polyveck_reduce 2s 5s -60%
polyveck_unpack_eta 2s 2s +0%
polyvecl_chknorm 2s 10s -80%
polyvecl_pack_eta 2s 3s -33%
polyvecl_uniform_gamma1_serial 2s 2s +0%
polyvecl_unpack_eta 2s 2s +0%
polyz_unpack_17_native_aarch64 2s 5s -60%
polyz_unpack_19_native_aarch64 2s 5s -60%
polyz_unpack_native_x86_64 2s 3s -33%
power2round 2s 3s -33%
rej_uniform_native_aarch64 2s 5s -60%
shake128_finalize 2s 2s +0%
shake128_squeeze 2s 1s +100%
shake128x4_absorb_once 2s 3s -33%
shake256 2s 1s +100%
shake256_absorb 2s 3s -33%
shake256_init 2s 3s -33%
shake256_release 2s 2s +0%
shake256x4_absorb_once 2s 3s -33%
shake256x4_squeezeblocks 2s 4s -50%
sign_verify_extmu 2s 3s -33%
sign_verify_pre_hash_internal 2s 3s -33%
unpack_sk_s1hat 2s 1s +100%
unpack_sk_s2hat 2s 4s -50%
yvec_get_poly 2s 3s -33%
fqscale 1s 3s -67%
keccak_f1600_x1_native_aarch64_v84a 1s 3s -67%
keccak_f1600_x4_native_aarch64_v84a 1s 2s -50%
keccak_f1600_x4_native_avx2 1s 3s -67%
keccakf1600_permute 1s 2s -50%
keccakf1600x4_extract_bytes 1s 2s -50%
keccakf1600x4_extract_bytes_native 1s 3s -67%
keccakf1600x4_permute 1s 4s -75%
keccakf1600x4_xor_bytes_native 1s 3s -67%
mld_ct_get_optblocker_u8 1s 1s +0%
mld_ct_sel_int32 1s 2s -50%
mld_keccakf1600_extract_bytes 1s 2s -50%
mld_prepare_domain_separation_prefix 1s 4s -75%
mld_value_barrier_u32 1s 2s -50%
mld_value_barrier_u8 1s 3s -67%
pack_sig_z 1s 4s -75%
pointwise_acc_native_aarch64 1s 4s -75%
pointwise_native_aarch64 1s 5s -80%
poly_caddq 1s 2s -50%
poly_caddq_native_aarch64 1s 4s -75%
poly_caddq_native_x86_64 1s 4s -75%
poly_chknorm 1s 4s -75%
poly_decompose_88_native_aarch64 1s 4s -75%
poly_invntt_tomont 1s 4s -75%
poly_ntt_native 1s 5s -80%
poly_permute_bitrev_to_custom_optional 1s 2s -50%
poly_pointwise_montgomery 1s 3s -67%
poly_use_hint_native 1s 4s -75%
poly_use_hint_native_aarch64 1s 2s -50%
polyvec_matrix_pointwise_montgomery_row 1s 2s -50%
polyveck_pack_w1 1s 1s +0%
polyw1_pack 1s 3s -67%
polyz_unpack 1s 3s -67%
rej_eta 1s 3s -67%
rej_eta_c 1s 4s -75%
shake128_absorb 1s 2s -50%
shake128_init 1s 3s -67%
shake128_release 1s 1s +0%
shake128x4_squeezeblocks 1s 1s +0%
shake256_finalize 1s 2s -50%
shake256_squeeze 1s 2s -50%
sign_verify 1s 4s -75%
sk_s2hat_get_poly 1s 2s -50%
unpack_sk 1s 3s -67%
unpack_sk_t0hat 1s 3s -67%

@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-87, REDUCE-RAM)

⚠️ Attention Required

Proof Status Current Previous Change
compute_pack_t0_t1 ⚠️ 26s 12s +117%
mld_attempt_signature_generation ⚠️ 231s 34s +579%
sign_keypair_internal ⚠️ 45s 6s +650%
sign_pk_from_sk ⚠️ 61s 6s +917%
sign_verify_internal ⚠️ 293s 47s +523%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** 1593s 1436s +10.9%
sign_verify_internal ⚠️ 293s 47s +523%
mld_attempt_signature_generation ⚠️ 231s 34s +579%
polyvec_matrix_pointwise_montgomery_yvec 196s 196s +0%
poly_pointwise_montgomery_c 63s 125s -50%
sign_pk_from_sk ⚠️ 61s 6s +917%
mld_invntt_layer 53s 111s -52%
sign_keypair_internal ⚠️ 45s 6s +650%
compute_pack_t0_t1 ⚠️ 26s 12s +117%
fqmul 22s 39s -44%
mld_ntt_layer 20s 44s -55%
sig_unpack_hints 13s 4s +225%
rej_uniform_c 12s 18s -33%
keccakf1600x4_permute_native 11s 25s -56%
poly_ntt_c 11s 19s -42%
sign_signature_internal 11s 3s +267%
mld_ntt_butterfly_block 10s 23s -57%
polyt0_unpack 9s 14s -36%
rej_uniform_native_x86_64 9s - new
polyeta_unpack 8s 13s -38%
rej_uniform 8s 7s +14%
mld_check_pct 7s 15s -53%
poly_invntt_tomont_c 7s 9s -22%
keccak_absorb_once_x4 6s 8s -25%
mld_keccakf1600_permute_c 6s 8s -25%
poly_chknorm_c 6s 13s -54%
polyveck_caddq 6s 8s -25%
polyveck_decompose 6s 12s -50%
polyveck_reduce 6s 6s +0%
polyvecl_ntt 6s 8s -25%
pointwise_acc_native_x86_64 5s 8s -38%
poly_pointwise_montgomery_native 5s 3s +67%
poly_uniform_eta_4x 5s 12s -58%
polyvec_matrix_pointwise_montgomery_row 5s 13s -62%
polyvecl_chknorm 5s 38s -87%
shake256_absorb 5s 3s +67%
sign_keypair 5s 4s +25%
sign_signature_extmu 5s 4s +25%
keccakf1600_xor_bytes (big endian) 4s 2s +100%
keccakf1600x4_xor_bytes_native 4s 2s +100%
mld_compute_pack_z 4s 6s -33%
mld_h 4s 2s +100%
mld_sample_s1_s2_serial 4s 6s -33%
poly_chknorm 4s 4s +0%
poly_decompose_88_native_aarch64 4s 2s +100%
poly_use_hint_native_aarch64 4s 3s +33%
polyveck_chknorm 4s 9s -56%
polyveck_invntt_tomont 4s 4s +0%
polyvecl_pointwise_acc_montgomery_native 4s 2s +100%
polyw1_pack 4s 2s +100%
polyz_unpack_native_x86_64 4s 3s +33%
power2round 4s 3s +33%
shake128_absorb 4s 2s +100%
shake256_squeeze 4s 2s +100%
sign_signature_pre_hash_internal 4s 2s +100%
sign_signature_pre_hash_shake256 4s 3s +33%
sign_verify 4s 2s +100%
sign_verify_extmu 4s 4s +0%
sk_t0hat_get_poly 4s 3s +33%
caddq 3s 3s +0%
fqscale 3s 1s +200%
intt_native_x86_64 3s 4s -25%
keccak_squeeze 3s 5s -40%
mld_ct_sel_int32 3s 2s +50%
mld_keccakf1600x4_extract_bytes_c 3s 3s +0%
mld_sign_attempt 3s - new
mld_sign_finish 3s - new
mld_sign_resume 3s - new
nttunpack_native_x86_64 3s 3s +0%
pack_sk_rho_key_tr_s2 3s 2s +50%
pointwise_acc_native_aarch64 3s 5s -40%
pointwise_native_x86_64 3s 5s -40%
poly_caddq 3s 5s -40%
poly_caddq_native 3s 3s +0%
poly_decompose_32_native_aarch64 3s 3s +0%
poly_decompose_native_x86_64 3s 3s +0%
poly_invntt_tomont 3s 4s -25%
poly_invntt_tomont_native 3s 2s +50%
poly_power2round 3s 7s -57%
poly_shiftl 3s 4s -25%
poly_uniform 3s 4s -25%
poly_use_hint_native_x86_64 3s - new
polyt0_pack 3s 3s +0%
polyt1_pack 3s 5s -40%
polyvec_matrix_expand 3s 3s +0%
polyvecl_pack_eta 3s 2s +50%
polyvecl_pointwise_acc_montgomery_c 3s 2s +50%
polyvecl_uniform_gamma1 3s 3s +0%
polyvecl_uniform_gamma1_serial 3s 2s +50%
polyw1_pack_32 3s 3s +0%
polyz_pack 3s 4s -25%
polyz_unpack_19_native_aarch64 3s 5s -40%
rej_eta 3s 2s +50%
shake128_finalize 3s 2s +50%
shake128_squeeze 3s 1s +200%
sign_signature 3s 4s -25%
sign_verify_pre_hash_shake256 3s 7s -57%
sk_s1hat_get_poly 3s 3s +0%
unpack_sk 3s 4s -25%
decompose 2s 2s +0%
keccak_absorb 2s 4s -50%
keccak_f1600_x1_native_aarch64 2s 2s +0%
keccak_f1600_x1_native_aarch64_v84a 2s 2s +0%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 2s 2s +0%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 2s 2s +0%
keccak_init 2s 1s +100%
keccakf1600_permute 2s 2s +0%
keccakf1600_permute_native 2s 3s -33%
keccakf1600x4_extract_bytes 2s 1s +100%
keccakf1600x4_extract_bytes_native 2s 4s -50%
keccakf1600x4_permute 2s 2s +0%
keccakf1600x4_xor_bytes 2s 1s +100%
make_hint 2s 2s +0%
mld_ct_cmask_neg_i32 2s 2s +0%
mld_ct_cmask_nonzero_u8 2s 2s +0%
mld_ct_get_optblocker_i64 2s 2s +0%
mld_ct_memcmp 2s 1s +100%
mld_keccakf1600_extract_bytes 2s 1s +100%
mld_keccakf1600x4_xor_bytes_c 2s 1s +100%
mld_prepare_domain_separation_prefix 2s 3s -33%
mld_sample_s1_s2 2s 8s -75%
mld_value_barrier_i64 2s 2s +0%
mld_value_barrier_u32 2s 3s -33%
ntt_native_x86_64 2s 2s +0%
pack_sig_c 2s 2s +0%
pack_sig_z 2s 3s -33%
pack_sk_s1 2s 2s +0%
pointwise_native_aarch64 2s 4s -50%
poly_add 2s 8s -75%
poly_caddq_c 2s 3s -33%
poly_caddq_native_aarch64 2s 3s -33%
poly_caddq_native_x86_64 2s 3s -33%
poly_challenge 2s 4s -50%
poly_chknorm_native 2s 1s +100%
poly_chknorm_native_aarch64 2s 5s -60%
poly_decompose 2s 2s +0%
poly_decompose_c 2s 6s -67%
poly_decompose_native 2s 2s +0%
poly_ntt 2s 2s +0%
poly_permute_bitrev_to_custom_optional 2s 2s +0%
poly_pointwise_montgomery 2s 3s -33%
poly_sub 2s 5s -60%
poly_uniform_eta 2s 5s -60%
poly_uniform_gamma1 2s 3s -33%
poly_uniform_gamma1_4x 2s 3s -33%
poly_use_hint 2s 4s -50%
poly_use_hint_native 2s 1s +100%
polyeta_pack 2s 3s -33%
polyt1_unpack 2s 3s -33%
polyveck_ntt 2s 3s -33%
polyvecl_unpack_eta 2s 3s -33%
polyz_unpack_17_native_aarch64 2s 4s -50%
polyz_unpack_c 2s 7s -71%
reduce32 2s 3s -33%
rej_eta_c 2s 4s -50%
rej_eta_native 2s 4s -50%
rej_uniform_eta_native_aarch64 2s 3s -33%
rej_uniform_eta_native_x86_64 2s - new
rej_uniform_native 2s 5s -60%
rej_uniform_native_aarch64 2s 3s -33%
shake128x4_squeezeblocks 2s 1s +100%
shake256_finalize 2s 3s -33%
shake256_init 2s 3s -33%
shake256x4_squeezeblocks 2s 4s -50%
unpack_pk_t1 2s 2s +0%
unpack_sk_s1hat 2s 3s -33%
unpack_sk_s2hat 2s 3s -33%
yvec_get_poly 2s 2s +0%
intt_native_aarch64 1s 4s -75%
keccak_f1600_x4_native_aarch64_v84a 1s 1s +0%
keccak_f1600_x4_native_avx2 1s 3s -67%
keccak_finalize 1s 1s +0%
keccak_squeezeblocks_x4 1s 4s -75%
keccakf1600_extract_bytes (big endian) 1s 3s -67%
keccakf1600_xor_bytes 1s 1s +0%
mld_ct_abs_i32 1s 1s +0%
mld_ct_cmask_nonzero_u32 1s 5s -80%
mld_ct_get_optblocker_u32 1s 2s -50%
mld_ct_get_optblocker_u8 1s 3s -67%
mld_polymat_expand_entry 1s 4s -75%
mld_value_barrier_u8 1s 2s -50%
montgomery_reduce 1s 2s -50%
ntt_native_aarch64 1s 4s -75%
pack_sig_h 1s 3s -67%
poly_chknorm_native_x86_64 1s 2s -50%
poly_ntt_native 1s 4s -75%
poly_permute_bitrev_to_custom_optional_native 1s 3s -67%
poly_reduce 1s 4s -75%
poly_uniform_4x 1s 3s -67%
poly_use_hint_c 1s 4s -75%
polyvec_matrix_expand_serial 1s 3s -67%
polyveck_pack_eta 1s 5s -80%
polyveck_pack_w1 1s 3s -67%
polyveck_unpack_eta 1s 3s -67%
polyvecl_pointwise_acc_montgomery 1s 2s -50%
polyvecl_unpack_z 1s 3s -67%
polyw1_pack_88 1s 2s -50%
polyz_unpack 1s 3s -67%
polyz_unpack_native 1s 1s +0%
shake128_init 1s 2s -50%
shake128_release 1s 3s -67%
shake128x4_absorb_once 1s 4s -75%
shake256 1s 3s -67%
shake256_release 1s 5s -80%
shake256x4_absorb_once 1s 5s -80%
sign_verify_pre_hash_internal 1s 3s -67%
sk_s2hat_get_poly 1s 2s -50%
sys_check_capability 1s 2s -50%
unpack_sk_t0hat 1s 4s -75%
use_hint 1s 3s -67%
yvec_init 1s 4s -75%

@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-65)

⚠️ Attention Required

Proof Status Current Previous Change
compute_pack_t0_t1 ⚠️ 125s 13s +862%
mld_attempt_signature_generation ⚠️ 234s 63s +271%
sig_unpack_hints ⚠️ 26s 2s +1200%
sign_keypair_internal ⚠️ 22s 5s +340%
sign_pk_from_sk ⚠️ 42s 6s +600%
sign_signature_internal ⚠️ 189s 55s +244%
sign_verify_internal ⚠️ 367s 177s +107%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** 2060s 1784s +15.5%
sign_verify_internal ⚠️ 367s 177s +107%
mld_attempt_signature_generation ⚠️ 234s 63s +271%
sign_signature_internal ⚠️ 189s 55s +244%
polyvecl_pointwise_acc_montgomery_c 166s 210s -21%
poly_pointwise_montgomery_c 134s 125s +7%
compute_pack_t0_t1 ⚠️ 125s 13s +862%
polyvec_matrix_expand 75s 110s -32%
mld_invntt_layer 53s 109s -51%
sign_pk_from_sk ⚠️ 42s 6s +600%
sig_unpack_hints ⚠️ 26s 2s +1200%
fqmul 23s 40s -43%
sign_keypair_internal ⚠️ 22s 5s +340%
mld_ntt_layer 21s 41s -49%
polyvec_matrix_expand_serial 17s 27s -37%
polyveck_ntt 16s 7s +129%
keccakf1600x4_permute_native 13s 23s -43%
polyveck_decompose 13s 12s +8%
mld_ntt_butterfly_block 11s 24s -54%
poly_ntt_c 8s 19s -58%
poly_uniform_eta_4x 8s 14s -43%
polyt0_unpack 8s 16s -50%
rej_uniform 8s 18s -56%
rej_uniform_c 8s 14s -43%
rej_uniform_native_x86_64 8s - new
mld_check_pct 7s 14s -50%
poly_invntt_tomont_c 7s 11s -36%
mld_keccakf1600x4_extract_bytes_c 6s 3s +100%
poly_chknorm_c 6s 15s -60%
polyvec_matrix_pointwise_montgomery_yvec 6s 18s -67%
keccak_absorb_once_x4 5s 8s -38%
keccakf1600_permute_native 5s 3s +67%
poly_uniform_4x 5s 13s -62%
polyz_unpack_c 5s 13s -62%
sign_keypair 5s 3s +67%
sign_verify 5s 3s +67%
decompose 4s 1s +300%
keccak_init 4s 1s +300%
keccakf1600_xor_bytes (big endian) 4s 2s +100%
mld_compute_pack_z 4s 7s -43%
mld_ct_get_optblocker_i64 4s 2s +100%
mld_h 4s 2s +100%
mld_keccakf1600_permute_c 4s 6s -33%
mld_sample_s1_s2 4s 6s -33%
mld_sign_attempt 4s - new
pack_sk_rho_key_tr_s2 4s 2s +100%
pointwise_acc_native_aarch64 4s 6s -33%
poly_chknorm_native_aarch64 4s 3s +33%
poly_decompose_c 4s 5s -20%
poly_power2round 4s 4s +0%
poly_uniform_gamma1_4x 4s 4s +0%
poly_use_hint 4s 3s +33%
polyveck_caddq 4s 6s -33%
polyvecl_ntt 4s 4s +0%
rej_uniform_eta_native_x86_64 4s - new
rej_uniform_native_aarch64 4s 3s +33%
sign_signature 4s 6s -33%
sign_signature_pre_hash_shake256 4s 3s +33%
sign_verify_pre_hash_internal 4s 5s -20%
unpack_sk 4s 3s +33%
unpack_sk_t0hat 4s 5s -20%
keccak_absorb 3s 3s +0%
keccak_f1600_x1_native_aarch64 3s 2s +50%
keccak_f1600_x4_native_aarch64_v84a 3s 4s -25%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 3s 2s +50%
keccakf1600_permute 3s 2s +50%
keccakf1600x4_permute 3s 4s -25%
make_hint 3s 2s +50%
mld_ct_abs_i32 3s 2s +50%
mld_ct_cmask_nonzero_u32 3s 4s -25%
mld_ct_cmask_nonzero_u8 3s 3s +0%
mld_ct_memcmp 3s 2s +50%
mld_prepare_domain_separation_prefix 3s 2s +50%
ntt_native_x86_64 3s 2s +50%
pack_sig_z 3s 2s +50%
pack_sk_s1 3s 5s -40%
pointwise_acc_native_x86_64 3s 8s -62%
pointwise_native_x86_64 3s 3s +0%
poly_add 3s 9s -67%
poly_caddq_c 3s 2s +50%
poly_chknorm_native_x86_64 3s 3s +0%
poly_decompose_native_x86_64 3s 3s +0%
poly_ntt 3s 2s +50%
poly_uniform 3s 4s -25%
poly_uniform_gamma1 3s 3s +0%
polyeta_pack 3s 3s +0%
polyt1_unpack 3s 5s -40%
polyveck_chknorm 3s 6s -50%
polyveck_invntt_tomont 3s 8s -62%
polyveck_pack_eta 3s 4s -25%
polyveck_reduce 3s 4s -25%
polyvecl_pointwise_acc_montgomery 3s 3s +0%
polyz_pack 3s 3s +0%
rej_uniform_native 3s 4s -25%
sign_signature_extmu 3s 2s +50%
sign_verify_extmu 3s 3s +0%
sys_check_capability 3s 4s -25%
unpack_sk_s1hat 3s 2s +50%
unpack_sk_s2hat 3s 4s -25%
yvec_init 3s 3s +0%
caddq 2s 3s -33%
fqscale 2s 3s -33%
intt_native_aarch64 2s 3s -33%
intt_native_x86_64 2s 3s -33%
keccak_f1600_x1_native_aarch64_v84a 2s 3s -33%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 2s 2s +0%
keccak_f1600_x4_native_avx2 2s 2s +0%
keccak_squeezeblocks_x4 2s 5s -60%
keccakf1600_xor_bytes 2s 2s +0%
keccakf1600x4_extract_bytes_native 2s 4s -50%
keccakf1600x4_xor_bytes_native 2s 3s -33%
mld_ct_cmask_neg_i32 2s 2s +0%
mld_ct_get_optblocker_u32 2s 3s -33%
mld_ct_get_optblocker_u8 2s 2s +0%
mld_ct_sel_int32 2s 3s -33%
mld_keccakf1600x4_xor_bytes_c 2s 2s +0%
mld_polymat_expand_entry 2s 4s -50%
mld_sample_s1_s2_serial 2s 4s -50%
mld_sign_finish 2s - new
mld_sign_resume 2s - new
mld_value_barrier_i64 2s 2s +0%
mld_value_barrier_u32 2s 3s -33%
mld_value_barrier_u8 2s 3s -33%
montgomery_reduce 2s 4s -50%
ntt_native_aarch64 2s 2s +0%
nttunpack_native_x86_64 2s 3s -33%
pack_sig_h 2s 5s -60%
poly_caddq 2s 2s +0%
poly_caddq_native 2s 2s +0%
poly_chknorm 2s 4s -50%
poly_decompose_88_native_aarch64 2s 1s +100%
poly_decompose_native 2s 3s -33%
poly_invntt_tomont 2s 3s -33%
poly_invntt_tomont_native 2s 2s +0%
poly_permute_bitrev_to_custom_optional_native 2s 4s -50%
poly_shiftl 2s 3s -33%
poly_sub 2s 3s -33%
poly_uniform_eta 2s 4s -50%
poly_use_hint_c 2s 5s -60%
poly_use_hint_native 2s 2s +0%
poly_use_hint_native_aarch64 2s 3s -33%
poly_use_hint_native_x86_64 2s - new
polyeta_unpack 2s 8s -75%
polyt0_pack 2s 3s -33%
polyt1_pack 2s 3s -33%
polyvec_matrix_pointwise_montgomery_row 2s 1s +100%
polyveck_unpack_eta 2s 6s -67%
polyvecl_chknorm 2s 7s -71%
polyvecl_pack_eta 2s 3s -33%
polyvecl_uniform_gamma1 2s 2s +0%
polyvecl_uniform_gamma1_serial 2s 3s -33%
polyvecl_unpack_eta 2s 3s -33%
polyvecl_unpack_z 2s 3s -33%
polyw1_pack_32 2s 4s -50%
polyw1_pack_88 2s 2s +0%
polyz_unpack 2s 3s -33%
polyz_unpack_17_native_aarch64 2s 3s -33%
polyz_unpack_19_native_aarch64 2s 3s -33%
polyz_unpack_native 2s 4s -50%
polyz_unpack_native_x86_64 2s 3s -33%
power2round 2s 1s +100%
reduce32 2s 3s -33%
rej_eta 2s 2s +0%
rej_eta_c 2s 5s -60%
rej_eta_native 2s 3s -33%
rej_uniform_eta_native_aarch64 2s 4s -50%
shake128_finalize 2s 1s +100%
shake128_release 2s 3s -33%
shake128_squeeze 2s 2s +0%
shake256 2s 2s +0%
shake256x4_absorb_once 2s 3s -33%
sign_signature_pre_hash_internal 2s 3s -33%
sk_s2hat_get_poly 2s 2s +0%
use_hint 2s 2s +0%
yvec_get_poly 2s 3s -33%
keccak_finalize 1s 2s -50%
keccak_squeeze 1s 4s -75%
keccakf1600_extract_bytes (big endian) 1s 2s -50%
keccakf1600x4_extract_bytes 1s 4s -75%
keccakf1600x4_xor_bytes 1s 1s +0%
mld_keccakf1600_extract_bytes 1s 1s +0%
pack_sig_c 1s 5s -80%
pointwise_native_aarch64 1s 5s -80%
poly_caddq_native_aarch64 1s 2s -50%
poly_caddq_native_x86_64 1s 3s -67%
poly_challenge 1s 6s -83%
poly_chknorm_native 1s 2s -50%
poly_decompose 1s 2s -50%
poly_decompose_32_native_aarch64 1s 3s -67%
poly_ntt_native 1s 4s -75%
poly_permute_bitrev_to_custom_optional 1s 2s -50%
poly_pointwise_montgomery 1s 3s -67%
poly_pointwise_montgomery_native 1s 3s -67%
poly_reduce 1s 3s -67%
polyveck_pack_w1 1s 3s -67%
polyvecl_pointwise_acc_montgomery_native 1s 2s -50%
polyw1_pack 1s 4s -75%
shake128_absorb 1s 2s -50%
shake128_init 1s 2s -50%
shake128x4_absorb_once 1s 3s -67%
shake128x4_squeezeblocks 1s 3s -67%
shake256_absorb 1s 2s -50%
shake256_finalize 1s 1s +0%
shake256_init 1s 2s -50%
shake256_release 1s 2s -50%
shake256_squeeze 1s 3s -67%
shake256x4_squeezeblocks 1s 2s -50%
sign_verify_pre_hash_shake256 1s 5s -80%
sk_s1hat_get_poly 1s 6s -83%
sk_t0hat_get_poly 1s 2s -50%
unpack_pk_t1 1s 5s -80%

@oqs-bot

oqs-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CBMC Results (ML-DSA-87)

⚠️ Attention Required

Proof Status Current Previous Change
**TOTAL** ⚠️ 2724s 2151s +26.6%
compute_pack_t0_t1 ⚠️ 187s 19s +884%
mld_attempt_signature_generation ⚠️ 280s 55s +409%
sig_unpack_hints ⚠️ 25s 3s +733%
sign_keypair_internal ⚠️ 53s 6s +783%
sign_pk_from_sk ⚠️ 45s 6s +650%
sign_signature_internal ⚠️ 313s 42s +645%
sign_verify_internal ⚠️ 702s 97s +624%
Full Results (210 proofs)
Proof Status Current Previous Change
**TOTAL** ⚠️ 2724s 2151s +26.6%
sign_verify_internal ⚠️ 702s 97s +624%
sign_signature_internal ⚠️ 313s 42s +645%
mld_attempt_signature_generation ⚠️ 280s 55s +409%
polyvecl_pointwise_acc_montgomery_c 211s 353s -40%
compute_pack_t0_t1 ⚠️ 187s 19s +884%
poly_pointwise_montgomery_c 131s 144s -9%
polyvec_matrix_expand 81s 324s -75%
mld_invntt_layer 55s 115s -52%
sign_keypair_internal ⚠️ 53s 6s +783%
sign_pk_from_sk ⚠️ 45s 6s +650%
sig_unpack_hints ⚠️ 25s 3s +733%
fqmul 23s 43s -47%
polyvec_matrix_expand_serial 22s 38s -42%
mld_ntt_layer 21s 45s -53%
keccakf1600x4_permute_native 14s 23s -39%
mld_ntt_butterfly_block 11s 24s -54%
polyt0_unpack 11s 14s -21%
polyvec_matrix_pointwise_montgomery_yvec 10s 18s -44%
poly_ntt_c 9s 21s -57%
poly_uniform_eta_4x 9s 11s -18%
rej_uniform_native_x86_64 9s - new
polyeta_unpack 8s 17s -53%
rej_uniform_c 8s 19s -58%
poly_chknorm_c 7s 15s -53%
rej_uniform 7s 15s -53%
mld_compute_pack_z 6s 8s -25%
pointwise_acc_native_x86_64 6s 6s +0%
poly_uniform_4x 6s 13s -54%
polyveck_decompose 6s 13s -54%
mld_check_pct 5s 16s -69%
mld_h 5s 3s +67%
poly_invntt_tomont_c 5s 12s -58%
poly_uniform_gamma1 5s 4s +25%
poly_use_hint_native_aarch64 5s 2s +150%
polyt1_unpack 5s 4s +25%
polyveck_invntt_tomont 5s 9s -44%
sign_verify_pre_hash_shake256 5s 3s +67%
keccak_squeezeblocks_x4 4s 4s +0%
keccakf1600x4_extract_bytes 4s 2s +100%
make_hint 4s 3s +33%
mld_ct_cmask_nonzero_u32 4s 2s +100%
mld_ct_sel_int32 4s 3s +33%
mld_keccakf1600_permute_c 4s 7s -43%
mld_prepare_domain_separation_prefix 4s 4s +0%
mld_sample_s1_s2 4s 6s -33%
mld_sample_s1_s2_serial 4s 8s -50%
mld_sign_finish 4s - new
pack_sk_s1 4s 1s +300%
poly_chknorm_native_aarch64 4s 4s +0%
poly_power2round 4s 3s +33%
polyveck_ntt 4s 11s -64%
polyvecl_chknorm 4s 7s -43%
polyz_unpack_19_native_aarch64 4s 4s +0%
polyz_unpack_c 4s 3s +33%
rej_uniform_eta_native_x86_64 4s - new
sign_keypair 4s 4s +0%
unpack_sk_t0hat 4s 7s -43%
caddq 3s 4s -25%
intt_native_aarch64 3s 3s +0%
keccak_absorb 3s 3s +0%
keccak_absorb_once_x4 3s 9s -67%
keccak_f1600_x4_native_avx2 3s 2s +50%
keccak_squeeze 3s 2s +50%
keccakf1600_xor_bytes (big endian) 3s 2s +50%
keccakf1600x4_extract_bytes_native 3s 2s +50%
keccakf1600x4_xor_bytes_native 3s 3s +0%
mld_ct_cmask_nonzero_u8 3s 3s +0%
mld_ct_get_optblocker_u8 3s 3s +0%
mld_keccakf1600x4_extract_bytes_c 3s 2s +50%
mld_keccakf1600x4_xor_bytes_c 3s 4s -25%
mld_sign_resume 3s - new
mld_value_barrier_u32 3s 2s +50%
ntt_native_aarch64 3s 6s -50%
ntt_native_x86_64 3s 2s +50%
pack_sig_z 3s 5s -40%
pointwise_acc_native_aarch64 3s 6s -50%
pointwise_native_aarch64 3s 5s -40%
poly_caddq 3s 2s +50%
poly_caddq_c 3s 3s +0%
poly_caddq_native 3s 4s -25%
poly_chknorm 3s 3s +0%
poly_chknorm_native_x86_64 3s 2s +50%
poly_decompose 3s 3s +0%
poly_ntt_native 3s 3s +0%
poly_permute_bitrev_to_custom_optional 3s 3s +0%
poly_permute_bitrev_to_custom_optional_native 3s 5s -40%
poly_reduce 3s 2s +50%
poly_uniform 3s 4s -25%
poly_uniform_gamma1_4x 3s 3s +0%
polyvec_matrix_pointwise_montgomery_row 3s 3s +0%
polyveck_caddq 3s 8s -62%
polyveck_chknorm 3s 3s +0%
polyveck_pack_eta 3s 6s -50%
polyveck_pack_w1 3s 3s +0%
polyvecl_uniform_gamma1 3s 2s +50%
polyvecl_uniform_gamma1_serial 3s 4s -25%
polyvecl_unpack_eta 3s 5s -40%
polyw1_pack 3s 4s -25%
polyw1_pack_88 3s 3s +0%
polyz_unpack_17_native_aarch64 3s 3s +0%
power2round 3s 4s -25%
rej_eta 3s 4s -25%
rej_uniform_native 3s 8s -62%
shake128_release 3s 4s -25%
shake128_squeeze 3s 2s +50%
shake256_finalize 3s 2s +50%
sign_signature_extmu 3s 4s -25%
sign_signature_pre_hash_shake256 3s 6s -50%
sign_verify 3s 5s -40%
sign_verify_pre_hash_internal 3s 3s +0%
sk_s1hat_get_poly 3s 3s +0%
unpack_sk_s1hat 3s 2s +50%
unpack_sk_s2hat 3s 3s +0%
fqscale 2s 3s -33%
intt_native_x86_64 2s 3s -33%
keccak_f1600_x4_native_aarch64_v84a 2s 4s -50%
keccak_f1600_x4_native_aarch64_v8a_scalar_hybrid 2s 3s -33%
keccak_f1600_x4_native_aarch64_v8a_v84a_scalar_hybrid 2s 4s -50%
keccak_init 2s 3s -33%
keccakf1600_extract_bytes (big endian) 2s 3s -33%
keccakf1600_permute 2s 3s -33%
keccakf1600_permute_native 2s 4s -50%
keccakf1600_xor_bytes 2s 3s -33%
keccakf1600x4_permute 2s 3s -33%
mld_ct_abs_i32 2s 3s -33%
mld_ct_get_optblocker_i64 2s 3s -33%
mld_ct_get_optblocker_u32 2s 2s +0%
mld_sign_attempt 2s - new
nttunpack_native_x86_64 2s 3s -33%
pack_sig_c 2s 4s -50%
pack_sk_rho_key_tr_s2 2s 3s -33%
poly_add 2s 6s -67%
poly_caddq_native_aarch64 2s 3s -33%
poly_caddq_native_x86_64 2s 2s +0%
poly_chknorm_native 2s 4s -50%
poly_decompose_c 2s 5s -60%
poly_decompose_native 2s 2s +0%
poly_decompose_native_x86_64 2s 2s +0%
poly_invntt_tomont 2s 1s +100%
poly_invntt_tomont_native 2s 5s -60%
poly_ntt 2s 3s -33%
poly_pointwise_montgomery 2s 4s -50%
poly_pointwise_montgomery_native 2s 5s -60%
poly_shiftl 2s 4s -50%
poly_sub 2s 3s -33%
poly_uniform_eta 2s 4s -50%
poly_use_hint_c 2s 2s +0%
poly_use_hint_native 2s 3s -33%
polyeta_pack 2s 4s -50%
polyt0_pack 2s 4s -50%
polyt1_pack 2s 3s -33%
polyveck_reduce 2s 3s -33%
polyveck_unpack_eta 2s 4s -50%
polyvecl_ntt 2s 7s -71%
polyvecl_pointwise_acc_montgomery 2s 5s -60%
polyvecl_pointwise_acc_montgomery_native 2s 3s -33%
polyvecl_unpack_z 2s 4s -50%
polyz_pack 2s 5s -60%
polyz_unpack 2s 2s +0%
polyz_unpack_native 2s 4s -50%
reduce32 2s 3s -33%
rej_eta_c 2s 5s -60%
rej_uniform_native_aarch64 2s 2s +0%
shake128x4_absorb_once 2s 5s -60%
shake128x4_squeezeblocks 2s 3s -33%
shake256 2s 2s +0%
shake256_init 2s 2s +0%
shake256_release 2s 3s -33%
shake256x4_squeezeblocks 2s 1s +100%
sign_verify_extmu 2s 3s -33%
sk_s2hat_get_poly 2s 3s -33%
sys_check_capability 2s 3s -33%
unpack_pk_t1 2s 1s +100%
unpack_sk 2s 5s -60%
use_hint 2s 3s -33%
yvec_get_poly 2s 4s -50%
decompose 1s 3s -67%
keccak_f1600_x1_native_aarch64 1s 1s +0%
keccak_f1600_x1_native_aarch64_v84a 1s 1s +0%
keccak_finalize 1s 1s +0%
keccakf1600x4_xor_bytes 1s 3s -67%
mld_ct_cmask_neg_i32 1s 4s -75%
mld_ct_memcmp 1s 3s -67%
mld_keccakf1600_extract_bytes 1s 4s -75%
mld_polymat_expand_entry 1s 3s -67%
mld_value_barrier_i64 1s 1s +0%
mld_value_barrier_u8 1s 3s -67%
montgomery_reduce 1s 3s -67%
pack_sig_h 1s 4s -75%
pointwise_native_x86_64 1s 2s -50%
poly_challenge 1s 5s -80%
poly_decompose_32_native_aarch64 1s 5s -80%
poly_decompose_88_native_aarch64 1s 2s -50%
poly_use_hint 1s 1s +0%
poly_use_hint_native_x86_64 1s - new
polyvecl_pack_eta 1s 3s -67%
polyw1_pack_32 1s 4s -75%
polyz_unpack_native_x86_64 1s 3s -67%
rej_eta_native 1s 6s -83%
rej_uniform_eta_native_aarch64 1s 5s -80%
shake128_absorb 1s 4s -75%
shake128_finalize 1s 2s -50%
shake128_init 1s 1s +0%
shake256_absorb 1s 2s -50%
shake256_squeeze 1s 2s -50%
shake256x4_absorb_once 1s 2s -50%
sign_signature 1s 5s -80%
sign_signature_pre_hash_internal 1s 5s -80%
sk_t0hat_get_poly 1s 4s -75%
yvec_init 1s 4s -75%

@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch 2 times, most recently from a342d32 to 1ada34c Compare August 18, 2026 19:30
@jakemas jakemas changed the title Add aarch64 constant-time (f_events) proof for rej_uniform_eta2 Add aarch64 constant-time (f_events) proofs for rej_uniform_eta2 and rej_uniform_eta4 Aug 18, 2026
@jakemas
jakemas marked this pull request as ready for review August 18, 2026 20:16
@jakemas
jakemas requested a review from a team as a code owner August 18, 2026 20:16
@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch from 1ada34c to e8b8ef1 Compare August 18, 2026 20:16
@hanno-becker
hanno-becker marked this pull request as draft August 19, 2026 12:13
@hanno-becker

hanno-becker commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@jakemas Thanks for pushing on this. Can you add a short description of the approach to the PR and also adjust the documentation? What is the (statement of) the main theorem? I don't see it on first look through the proof files.

Marking as Draft until ready. Please also review and adjust as per your judgement the AI generated top-level documentation in the proof script.

@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch 7 times, most recently from c5e8f2c to b972eb6 Compare August 19, 2026 19:16
@jakemas

jakemas commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

@jakemas Thanks for pushing on this. Can you add a short description of the approach to the PR and also adjust the documentation? What is the (statement of) the main theorem? I don't see it on first look through the proof files.

Marking as Draft until ready. Please also review and adjust as per your judgement the AI generated top-level documentation in the proof script.

Thank you for taking a look! Ok I've updated the README, and reformatted the statement of the main SUBROUTINE_SAFE theorem so that it's more readable and consistant with others. e.g.:

let MLDSA_REJ_UNIFORM_ETA2_SUBROUTINE_SAFE = time prove
 (`?f_events:int64->int64->int64->int64->num->int64->int64->
             (bool list)->(uarch_event)list.
   !res buf buflen table (inlist:byte list) pc e stackpointer returnaddress.
      8 divides val buflen /\
      8 <= val buflen /\
      LENGTH inlist = val buflen /\
      ALL (nonoverlapping (word_sub stackpointer (word 576),576))
          [(word pc,LENGTH mldsa_rej_uniform_eta2_mc);
           (buf,val buflen); (table,4096)] /\
      ALL (nonoverlapping (res,1024))
          [(word pc,LENGTH mldsa_rej_uniform_eta2_mc);
           (word_sub stackpointer (word 576),576)]
      ==> ensures arm
           (\s. aligned_bytes_loaded s (word pc) mldsa_rej_uniform_eta2_mc /\
                read PC s = word pc /\
                read SP s = stackpointer /\
                read X30 s = returnaddress /\
                C_ARGUMENTS [res;buf;buflen;table] s /\
                read(memory :> bytes(table,4096)) s =
                num_of_wordlist mldsa_rej_uniform_eta_table /\
                read(memory :> bytes(buf,val buflen)) s =
                num_of_wordlist (inlist:byte list) /\
                read events s = e)
           (\s. read PC s = returnaddress /\
                (?e2.
                     read events s = APPEND e2 e /\
                     e2 = f_events res buf buflen table pc stackpointer
                                   returnaddress (REJ_MASK_ETA2 inlist) /\
                     memaccess_inbounds e2
                       [buf,val buflen; table,4096;
                        word_sub stackpointer (word 576),576]
                       [word_sub stackpointer (word 576),576; res,1024]))

@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch from b972eb6 to 0aa123b Compare August 19, 2026 22:11
@hanno-becker

Copy link
Copy Markdown
Contributor

@jakemas Great! I think there's more documentation to update, though, can you check the toplevel docs as well please?

@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch from 0aa123b to cbb5a51 Compare August 20, 2026 07:35
@jakemas

jakemas commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@jakemas Great! I think there's more documentation to update, though, can you check the toplevel docs as well please?

@hanno-becker Thank you, added to top level README at https://github.com/pq-code-package/mldsa-native/pull/1390/changes#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R63

@hanno-becker

Copy link
Copy Markdown
Contributor

@jakemas Can you also check the other docs?

@jakemas

jakemas commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@jakemas Can you also check the other docs?

@hanno-becker yes I did. I don’t see any more that specifically mention this gap. Are you aware of any?

@hanno-becker

Copy link
Copy Markdown
Contributor

I think SOUNDNESS.md needs updating.

@hanno-becker

Copy link
Copy Markdown
Contributor

The spec looks great, it's exactly what I had in mind.

…rej_uniform_eta4

Signed-off-by: Jake Massimo <jakemas@amazon.com>
@jakemas
jakemas force-pushed the rej-uniform-eta2-ct-fevents branch from cbb5a51 to c15d77d Compare August 21, 2026 05:01
@jakemas

jakemas commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

@hanno-becker
hanno-becker marked this pull request as ready for review August 22, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HOL-Light: prove secret-independence for rej_uniform_eta{2,4}

3 participants