Skip to content

Commit

Permalink
test_constant_time: Suppression files for AVX McEliece [skip ci] (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschanck authored Mar 3, 2021
1 parent 5b2ed97 commit 0e4885b
Show file tree
Hide file tree
Showing 11 changed files with 300 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tests/constant_time/kem/passes/mceliece-348864
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand All @@ -19,3 +21,27 @@
# fun:PQCLEAN_MCELIECE348864_VEC_pk_gen
fun:PQCLEAN_MCELIECE348864_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:43
# fun:gen_e
fun:PQCLEAN_MCELIECE348864_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:58
# fun:gen_e
fun:PQCLEAN_MCELIECE348864_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:193
# fun:PQCLEAN_MCELIECE348864_AVX_pk_gen
fun:PQCLEAN_MCELIECE348864_AVX_crypto_kem_keypair
}
33 changes: 33 additions & 0 deletions tests/constant_time/kem/passes/mceliece-348864f
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand Down Expand Up @@ -26,3 +28,34 @@
# fun:PQCLEAN_MCELIECE348864F_VEC_pk_gen
fun:PQCLEAN_MCELIECE348864F_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:43
# fun:gen_e
fun:PQCLEAN_MCELIECE348864F_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:58
# fun:gen_e
fun:PQCLEAN_MCELIECE348864F_AVX_encrypt
}
{
Rejection sampling for full rank matrix
Memcheck:Cond
src:pk_gen.c:120
# fun:mov_columns
fun:PQCLEAN_MCELIECE348864F_AVX_pk_gen
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:289
# fun:PQCLEAN_MCELIECE348864F_AVX_pk_gen
fun:PQCLEAN_MCELIECE348864F_AVX_crypto_kem_keypair
}
26 changes: 26 additions & 0 deletions tests/constant_time/kem/passes/mceliece-460896
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand All @@ -19,3 +21,27 @@
# fun:PQCLEAN_MCELIECE460896_VEC_pk_gen
fun:PQCLEAN_MCELIECE460896_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE460896_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE460896_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:200
# fun:PQCLEAN_MCELIECE460896_AVX_pk_gen
fun:PQCLEAN_MCELIECE460896_AVX_crypto_kem_keypair
}
33 changes: 33 additions & 0 deletions tests/constant_time/kem/passes/mceliece-460896f
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand Down Expand Up @@ -26,3 +28,34 @@
# fun:PQCLEAN_MCELIECE460896F_VEC_pk_gen
fun:PQCLEAN_MCELIECE460896F_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_AVX_encrypt
}
{
Rejection sampling for full rank matrix
Memcheck:Cond
src:pk_gen.c:150
# fun:mov_columns
fun:PQCLEAN_MCELIECE460896F_AVX_pk_gen
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:319
# fun:PQCLEAN_MCELIECE460896F_AVX_pk_gen
fun:PQCLEAN_MCELIECE460896F_AVX_crypto_kem_keypair
}
26 changes: 26 additions & 0 deletions tests/constant_time/kem/passes/mceliece-6688128
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand All @@ -19,3 +21,27 @@
# fun:PQCLEAN_MCELIECE6688128_VEC_pk_gen
fun:PQCLEAN_MCELIECE6688128_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:199
# fun:PQCLEAN_MCELIECE6688128_AVX_pk_gen
fun:PQCLEAN_MCELIECE6688128_AVX_crypto_kem_keypair
}
33 changes: 33 additions & 0 deletions tests/constant_time/kem/passes/mceliece-6688128f
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand Down Expand Up @@ -26,3 +28,34 @@
# fun:mov_columns
fun:PQCLEAN_MCELIECE6688128F_VEC_pk_gen
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128F_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128F_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:320
# fun:PQCLEAN_MCELIECE6688128F_AVX_pk_gen
fun:PQCLEAN_MCELIECE6688128F_AVX_crypto_kem_keypair
}
{
Rejection sampling for full rank matrix
Memcheck:Cond
src:pk_gen.c:151
# fun:mov_columns
fun:PQCLEAN_MCELIECE6688128F_AVX_pk_gen
}
26 changes: 26 additions & 0 deletions tests/constant_time/kem/passes/mceliece-6960119
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand All @@ -19,3 +21,27 @@
# fun:PQCLEAN_MCELIECE6960119_VEC_pk_gen
fun:PQCLEAN_MCELIECE6960119_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE6960119_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE6960119_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:200
# fun:PQCLEAN_MCELIECE6960119_AVX_pk_gen
fun:PQCLEAN_MCELIECE6960119_AVX_crypto_kem_keypair
}
33 changes: 33 additions & 0 deletions tests/constant_time/kem/passes/mceliece-6960119f
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
Expand Down Expand Up @@ -26,3 +28,34 @@
# fun:mov_columns
fun:PQCLEAN_MCELIECE6960119F_VEC_pk_gen
}

# AVX implementation

{
Rejection sampling for uniform indices
Memcheck:Cond
src:encrypt.c:45
# fun:gen_e
fun:PQCLEAN_MCELIECE6960119F_AVX_encrypt
}
{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:60
# fun:gen_e
fun:PQCLEAN_MCELIECE6960119F_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:324
# fun:PQCLEAN_MCELIECE6960119F_AVX_pk_gen
fun:PQCLEAN_MCELIECE6960119F_AVX_crypto_kem_keypair
}
{
Rejection sampling for full rank matrix
Memcheck:Cond
src:pk_gen.c:152
# fun:mov_columns
fun:PQCLEAN_MCELIECE6960119F_AVX_pk_gen
}
19 changes: 19 additions & 0 deletions tests/constant_time/kem/passes/mceliece-8192128
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for unique indices
Memcheck:Cond
Expand All @@ -12,3 +14,20 @@
# fun:PQCLEAN_MCELIECE8192128_VEC_pk_gen
fun:PQCLEAN_MCELIECE8192128_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:42
# fun:gen_e
fun:PQCLEAN_MCELIECE8192128_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:196
# fun:PQCLEAN_MCELIECE8192128_AVX_pk_gen
fun:PQCLEAN_MCELIECE8192128_AVX_crypto_kem_keypair
}
26 changes: 26 additions & 0 deletions tests/constant_time/kem/passes/mceliece-8192128f
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for unique indices
Memcheck:Cond
Expand All @@ -19,3 +21,27 @@
# fun:mov_columns
fun:PQCLEAN_MCELIECE8192128F_VEC_pk_gen
}

# AVX implementation

{
Rejection sampling for unique indices
Memcheck:Cond
src:encrypt.c:42
# fun:gen_e
fun:PQCLEAN_MCELIECE8192128F_AVX_encrypt
}
{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:pk_gen.c:319
# fun:PQCLEAN_MCELIECE8192128F_AVX_pk_gen
fun:PQCLEAN_MCELIECE8192128F_AVX_crypto_kem_keypair
}
{
Rejection sampling for full rank matrix
Memcheck:Cond
src:pk_gen.c:151
# fun:mov_columns
fun:PQCLEAN_MCELIECE8192128F_AVX_pk_gen
}
19 changes: 19 additions & 0 deletions tests/constant_time/kem/passes/mceliece-sk_gen
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# VEC implementation

{
Rejection sampling for systematic form matrix
Memcheck:Cond
Expand All @@ -12,3 +14,20 @@
# fun:PQCLEAN_MCELIECE*_VEC_perm_check
fun:PQCLEAN_MCELIECE*_VEC_crypto_kem_keypair
}

# AVX implementation

{
Rejection sampling for systematic form matrix
Memcheck:Cond
src:sk_gen.c:49
# fun:PQCLEAN_MCELIECE*_AVX_genpoly_gen
fun:PQCLEAN_MCELIECE*_AVX_crypto_kem_keypair
}
{
Rejection sampling for permutation
Memcheck:Cond
src:sk_gen.c:91
# fun:PQCLEAN_MCELIECE*_AVX_perm_check
fun:PQCLEAN_MCELIECE*_AVX_crypto_kem_keypair
}

0 comments on commit 0e4885b

Please sign in to comment.