Skip to content

Commit

Permalink
update dilithium constant_time passes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhess committed Aug 31, 2023
1 parent cea8d5f commit f7fb7f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions tests/constant_time/sig/passes/dilithium
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:150 # Call to polyvecl_chknorm
src:sign.c:154 # Call to polyvecl_chknorm
# fun:pqcrystals_dilithium*_ref_signature
}
{
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:159 # Call to polyveck_chknorm
src:sign.c:163 # Call to polyveck_chknorm
# fun:pqcrystals_dilithium*_ref_signature
}
{
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:166 # Call to polyveck_chknorm
src:sign.c:170 # Call to polyveck_chknorm
# fun:pqcrystals_dilithium*_ref_signature
}
{
Hint does not need to be computed in constant time
Memcheck:Cond
...
src:sign.c:170 # Call to polyveck_make_hint
src:sign.c:174 # Call to polyveck_make_hint
# fun:pqcrystals_dilithium*_ref_signature
}
{
Expand Down
14 changes: 7 additions & 7 deletions tests/constant_time/sig/passes/dilithium-avx2
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,21 @@
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:290 # Call to poly_chknorm
src:sign.c:240 # Call to poly_chknorm
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:305 # Call to poly_chknorm
src:sign.c:255 # Call to poly_chknorm
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Rejection sampling for signature distribution
Memcheck:Cond
...
src:sign.c:312 # Call to poly_chknorm
src:sign.c:262 # Call to poly_chknorm
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Expand All @@ -118,27 +118,27 @@
Memcheck:Value8
...
fun:pqcrystals_dilithium*_avx2_poly_make_hint
src:sign.c:316 # fun:pqcrystals_dilithium*_ref_signature
src:sign.c:266 # fun:pqcrystals_dilithium*_ref_signature
}
{
Rejection sampling for hint
Memcheck:Cond
...
src:sign.c:317 # Checking number of 1 bits in hint
src:sign.c:267 # Checking number of 1 bits in hint
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Hint positions are not secret
Memcheck:Cond
...
src:sign.c:321 # memcpy
src:sign.c:271 # memcpy
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Hint positions are not secret
Memcheck:Value8
...
src:sign.c:321 # memcpy
src:sign.c:271 # memcpy
# fun:pqcrystals_dilithium*_avx2_signature
}
{
Expand Down

0 comments on commit f7fb7f8

Please sign in to comment.