Skip to content

Commit

Permalink
Update McEliece suppression files for generic config (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
SWilson4 authored Feb 7, 2024
1 parent f1f11b5 commit dea5170
Show file tree
Hide file tree
Showing 11 changed files with 519 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
container: openquantumsafe/ci-ubuntu-focal-x86_64:latest
CMAKE_ARGS: -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
SKIP_ALGS: 'SPHINCS\+-SHA*,Classic-McEliece-(.)*'
SKIP_ALGS: 'SPHINCS\+-SHA*,Classic-McEliece-[^3](.)*'
- name: extensions
container: openquantumsafe/ci-ubuntu-focal-x86_64:latest
CMAKE_ARGS: -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
Expand Down
48 changes: 48 additions & 0 deletions tests/constant_time/kem/issues/classic-mceliece-348864
Original file line number Diff line number Diff line change
Expand Up @@ -365,3 +365,51 @@
# fun:gen_e
fun:PQCLEAN_MCELIECE348864_AVX2_encrypt
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE348864_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:66
# fun:PQCLEAN_MCELIECE348864_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:142
# fun:PQCLEAN_MCELIECE348864_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE348864_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE348864_CLEAN_encrypt
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE348864_CLEAN_encrypt
fun:PQCLEAN_MCELIECE348864_CLEAN_crypto_kem_enc
}
58 changes: 57 additions & 1 deletion tests/constant_time/kem/issues/classic-mceliece-348864f
Original file line number Diff line number Diff line change
Expand Up @@ -395,4 +395,60 @@
src:encrypt.c:91
# fun:gen_e
fun:PQCLEAN_MCELIECE348864F_AVX2_encrypt
}
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE348864F_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:166
# fun:PQCLEAN_MCELIECE348864F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:248
# fun:PQCLEAN_MCELIECE348864F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:82
# fun:mov_columns
fun:PQCLEAN_MCELIECE348864F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE348864F_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE348864F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE348864F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE348864F_CLEAN_crypto_kem_enc
}
50 changes: 49 additions & 1 deletion tests/constant_time/kem/issues/classic-mceliece-460896
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,52 @@
src:encrypt.c:91
# fun:gen_e
fun:PQCLEAN_MCELIECE460896_AVX2_encrypt
}
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE460896_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:66
# fun:PQCLEAN_MCELIECE460896_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:142
# fun:PQCLEAN_MCELIECE460896_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE460896_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE460896_CLEAN_encrypt
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE460896_CLEAN_encrypt
fun:PQCLEAN_MCELIECE460896_CLEAN_crypto_kem_enc
}
64 changes: 64 additions & 0 deletions tests/constant_time/kem/issues/classic-mceliece-460896f
Original file line number Diff line number Diff line change
Expand Up @@ -501,3 +501,67 @@
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_AVX2_encrypt
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:91
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_AVX2_encrypt
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE460896F_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:166
# fun:PQCLEAN_MCELIECE460896F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:248
# fun:PQCLEAN_MCELIECE460896F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:82
# fun:mov_columns
fun:PQCLEAN_MCELIECE460896F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE460896F_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE460896F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE460896F_CLEAN_crypto_kem_enc
}
50 changes: 49 additions & 1 deletion tests/constant_time/kem/issues/classic-mceliece-6688128
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,52 @@
src:encrypt.c:91
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128_AVX2_encrypt
}
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE6688128_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:66
# fun:PQCLEAN_MCELIECE6688128_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:142
# fun:PQCLEAN_MCELIECE6688128_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE6688128_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128_CLEAN_encrypt
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128_CLEAN_encrypt
fun:PQCLEAN_MCELIECE6688128_CLEAN_crypto_kem_enc
}
55 changes: 55 additions & 0 deletions tests/constant_time/kem/issues/classic-mceliece-6688128f
Original file line number Diff line number Diff line change
Expand Up @@ -736,3 +736,58 @@
fun:PQCLEAN_MCELIECE6688128F_AVX2_encrypt
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:sk_gen.c:58
# fun:PQCLEAN_MCELIECE6688128F_CLEAN_genpoly_gen
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:166
# fun:PQCLEAN_MCELIECE6688128F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:248
# fun:PQCLEAN_MCELIECE6688128F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_keypair
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:pk_gen.c:82
# fun:mov_columns
fun:PQCLEAN_MCELIECE6688128F_CLEAN_pk_gen
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:controlbits.c:243
# fun:PQCLEAN_MCELIECE6688128F_CLEAN_controlbitsfrompermutation
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_keypair
}

{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:69
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_enc
}
{
This implementation of Classic McEliece may not be constant time.
Memcheck:Cond
src:encrypt.c:84
# fun:gen_e
fun:PQCLEAN_MCELIECE6688128F_CLEAN_encrypt
fun:PQCLEAN_MCELIECE6688128F_CLEAN_crypto_kem_enc
}
Loading

0 comments on commit dea5170

Please sign in to comment.