-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
270 additions
and
4 deletions.
There are no files selected for viewing
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
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
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 @@ | ||
{ | ||
Rejection sampling to produce public "A" matrix | ||
Memcheck:Cond | ||
fun:rej_uniform | ||
fun:pqcrystals_ml_kem*_ref_gen_matrix | ||
fun:pqcrystals_ml_kem*_ref_indcpa_* | ||
} | ||
{ | ||
Rejection sampling to produce public "A" matrix | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_kem*_avx2_gen_matrix | ||
fun:pqcrystals_ml_kem*_avx2_indcpa_* | ||
} | ||
{ | ||
Rejection sampling to produce public "A" matrix | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_kem*_avx2_gen_matrix | ||
fun:pqcrystals_ml_kem*_avx2_indcpa_* | ||
} |
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
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
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,80 @@ | ||
{ | ||
Rejection sampling for uniformly distributed public A matrix | ||
Memcheck:Cond | ||
fun:rej_uniform | ||
fun:pqcrystals_ml_dsa*_ref_poly_uniform | ||
fun:pqcrystals_ml_dsa*_ref_polyvec_matrix_expand | ||
} | ||
{ | ||
Rejection sampling for s1 and s2 | ||
Memcheck:Cond | ||
fun:rej_eta | ||
fun:pqcrystals_ml_dsa*_ref_poly_uniform_eta | ||
fun:pqcrystals_ml_dsa*_ref_polyvec*_uniform_eta | ||
fun:pqcrystals_ml_dsa*_ref_keypair | ||
} | ||
{ | ||
Rejection sampling for y | ||
Memcheck:Cond | ||
fun:rej_gamma1m1 | ||
fun:pqcrystals_ml_dsa*_ref_poly_uniform_gamma1m1 | ||
fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for challenge | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_ref_poly_challenge | ||
fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for challenge | ||
Memcheck:Value8 | ||
fun:pqcrystals_ml_dsa*_ref_poly_challenge | ||
fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:154 # Call to polyvecl_chknorm | ||
# fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:163 # Call to polyveck_chknorm | ||
# fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:170 # Call to polyveck_chknorm | ||
# fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Hint does not need to be computed in constant time | ||
Memcheck:Cond | ||
... | ||
src:sign.c:174 # Call to polyveck_make_hint | ||
# fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for hint | ||
Memcheck:Cond | ||
... | ||
src:sign.c:175 # Checking number of 1 bits in hint | ||
# fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Packing routines do not need to be constant time | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_ref_pack_sig | ||
fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Verification is not done in constant time | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_ref_verify | ||
} |
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,155 @@ | ||
{ | ||
Rejection sampling for uniformly distributed public A matrix | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_4x | ||
fun:pqcrystals_ml_dsa*_avx2_polyvec_matrix_expand_row* | ||
} | ||
{ | ||
Rejection sampling for uniformly distributed public A matrix | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_4x | ||
fun:pqcrystals_ml_dsa*_avx2_polyvec_matrix_expand_row* | ||
} | ||
|
||
|
||
{ | ||
Rejection sampling for s1 and s2 | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta_4x | ||
fun:pqcrystals_ml_dsa*_avx2_keypair | ||
} | ||
{ | ||
Rejection sampling for s1 and s2 | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta_4x | ||
fun:pqcrystals_ml_dsa*_avx2_keypair | ||
} | ||
|
||
{ | ||
Rejection sampling for y | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1_4x | ||
fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for y | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1_4x | ||
fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for s1 and s2 | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta_preinit | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta | ||
fun:pqcrystals_ml_dsa*_avx2_keypair | ||
} | ||
{ | ||
Rejection sampling for s1 and s2 | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta_preinit | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_eta | ||
fun:pqcrystals_ml_dsa*_avx2_keypair | ||
} | ||
{ | ||
Rejection sampling for y | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1_preinit | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1 | ||
fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for y | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1_preinit | ||
fun:pqcrystals_ml_dsa*_avx2_poly_uniform_gamma1m1 | ||
fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for challenge | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_avx2_poly_challenge | ||
} | ||
{ | ||
Rejection sampling for challenge | ||
Memcheck:Value8 | ||
fun:pqcrystals_ml_dsa*_avx2_poly_challenge | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:240 # Call to poly_chknorm | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:255 # Call to poly_chknorm | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Rejection sampling for signature distribution | ||
Memcheck:Cond | ||
... | ||
src:sign.c:262 # Call to poly_chknorm | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Hint does not need to be computed in constant time | ||
Memcheck:Cond | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_make_hint | ||
src:sign.c:266 # fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Hint does not need to be computed in constant time | ||
Memcheck:Value8 | ||
... | ||
fun:pqcrystals_ml_dsa*_avx2_poly_make_hint | ||
src:sign.c:266 # fun:pqcrystals_ml_dsa*_ref_signature | ||
} | ||
{ | ||
Rejection sampling for hint | ||
Memcheck:Cond | ||
... | ||
src:sign.c:267 # Checking number of 1 bits in hint | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Hint positions are not secret | ||
Memcheck:Cond | ||
... | ||
src:sign.c:271 # memcpy | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Hint positions are not secret | ||
Memcheck:Value8 | ||
... | ||
src:sign.c:271 # memcpy | ||
# fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Packing routines do not need to be constant time | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_avx2_pack_sig | ||
fun:pqcrystals_ml_dsa*_avx2_signature | ||
} | ||
{ | ||
Verification is not done in constant time | ||
Memcheck:Cond | ||
fun:pqcrystals_ml_dsa*_avx2_verify | ||
} | ||
|
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