Skip to content

Commit e519b45

Browse files
bhessWardBeullenssopmacFclaucecemkannwischer
committed
Updates towards round 2.
Co-authored-by: Ward Beullens <[email protected]> Co-authored-by: Fabio Campos <[email protected]> Co-authored-by: Sofía Celi <[email protected]> Co-authored-by: Basil Hess <[email protected]> Co-authored-by: Matthias J. Kannwischer <[email protected]>
1 parent f2aab8a commit e519b45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3861
-6676
lines changed

.github/workflows/ci_clang.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
clang_config: [CTOS, CTO0, CTO2, CTO3, CTOSNOVEC, CTO0NOVEC, CTO2NOVEC, CTO3NOVEC]
25-
# TODO: valgrind seems buggy with CT01 and CT01NOVEC
25+
# Note: valgrind seems buggy with CT01 and CT01NOVEC, we skip them
2626
clang_version: [clang, clang-15, clang-18]
2727
mayo_build_type: [ref, opt, avx2]
2828

@@ -42,20 +42,20 @@ jobs:
4242
run: |
4343
ldd --version
4444
rm -rf build && mkdir build && cd build && cmake -DENABLE_CT_TESTING=ON -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=${{ matrix.clang_version }} -DCMAKE_BUILD_TYPE=${{ matrix.clang_config }} -DMAYO_MARCH="-march=haswell -maes" .. && make -j
45-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_1
46-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_2
47-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_3
48-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_5
45+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_1
46+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_2
47+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_3
48+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme_MAYO_5
4949
cd ..
5050
if: (matrix.mayo_build_type == 'opt' || matrix.mayo_build_type == 'avx2') && !(matrix.clang_config == 'CTO3' && matrix.mayo_build_type == 'opt')
5151

5252
- name: CT-Test (clang)
5353
run: |
5454
ldd --version
5555
rm -rf build && mkdir build && cd build && cmake -DENABLE_CT_TESTING=ON -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=${{ matrix.clang_version }} -DCMAKE_BUILD_TYPE=${{ matrix.clang_config }} -DMAYO_MARCH="-march=haswell -maes" .. && make -j
56-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-1
57-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-2
58-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-3
59-
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-5
56+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-1
57+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-2
58+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-3
59+
valgrind --max-stackframe=3190968 --tool=memcheck --error-exitcode=1 --track-origins=yes test/mayo_test_scheme MAYO-5
6060
cd ..
6161
if: matrix.mayo_build_type == 'ref'

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
cmake_minimum_required(VERSION 3.5)
3+
cmake_minimum_required(VERSION 3.10)
44
project(MAYO VERSION 1.0 LANGUAGES C CXX ASM)
55

66
set(MAYO_SO_VERSION "0")
77
set(CMAKE_C_STANDARD 99)
88

9+
set(MEMORYCHECK_COMMAND_OPTIONS "--error-exitcode=1")
910
include(CTest)
1011

1112
option(ENABLE_STRICT "Build with strict compile options." ON)

KAT/PQCsignKAT_24_MAYO_1.rsp

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

KAT/PQCsignKAT_24_MAYO_2.rsp

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

KAT/PQCsignKAT_32_MAYO_3.rsp

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

KAT/PQCsignKAT_40_MAYO_5.rsp

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

META/MAYO-1_META.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: MAYO-1
22
type: signature
33
claimed-nist-level: 1
4-
length-public-key: 1168
4+
length-public-key: 1420
55
length-secret-key: 24
6-
length-signature: 321
7-
nistkat-sha256: ba2473dedd92cf3b8a1fc14fc22f2ffdde972c8b64cfcd8cddb4f803e48df017
6+
length-signature: 454
7+
nistkat-sha256: 178adb997203ae0512b1bd6fa4a5cfae25805d88aeb0ce5226981423153418ee
88
principal-submitters:
99
- Ward Beullens
1010
- Fabio Campos
@@ -13,25 +13,40 @@ principal-submitters:
1313
- Matthias J. Kannwischer
1414
implementations:
1515
- name: opt
16-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
16+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
1717
folder_name: .
1818
compile_opts: -DMAYO_VARIANT=MAYO_1 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL
1919
signature_keypair: pqmayo_MAYO_1_opt_crypto_sign_keypair
2020
signature_signature: pqmayo_MAYO_1_opt_crypto_sign_signature
2121
signature_verify: pqmayo_MAYO_1_opt_crypto_sign_verify
22-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_1/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_1/api.h ./src/simple_arithmetic.h ./src/generic/arithmetic_common.h ./src/generic/echelon_form.h ./src/generic/arithmetic_96.h ./src/generic/arithmetic_64.h ./src/generic/arithmetic_128.h ./src/arithmetic.h ./src/common/aes_ctr.h
22+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/generic/arithmetic_dynamic.h ./src/generic/arithmetic_fixed.h ./src/generic/echelon_form.h ./src/generic/ef_inner_loop.h ./src/generic/generic_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_1/api.h ./src/mayo_1/api.c
2323
- name: avx2
24-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
24+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
2525
folder_name: .
2626
compile_opts: -DMAYO_VARIANT=MAYO_1 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL
2727
signature_keypair: pqmayo_MAYO_1_avx2_crypto_sign_keypair
2828
signature_signature: pqmayo_MAYO_1_avx2_crypto_sign_signature
2929
signature_verify: pqmayo_MAYO_1_avx2_crypto_sign_verify
30-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_1/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_1/api.h ./src/simple_arithmetic.h ./src/arithmetic.h ./src/common/aes_ctr.h ./src/AVX2/arithmetic_128.h ./src/AVX2/arithmetic_96.h ./src/AVX2/echelon_form.h ./src/AVX2/shuffle_arithmetic_128.h ./src/AVX2/shuffle_arithmetic_96.h ./src/AVX2/arithmetic_64.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic_64.h
30+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_1/api.h ./src/mayo_1/api.c
3131
supported_platforms:
3232
- architecture: x86_64
3333
operating_systems:
3434
- Darwin
3535
- Linux
3636
required_flags:
3737
- avx2
38+
- name: neon
39+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
40+
folder_name: .
41+
compile_opts: -DMAYO_VARIANT=MAYO_1 -DMAYO_BUILD_TYPE_NEON -DMAYO_NEON -DHAVE_RANDOMBYTES_NORETVAL
42+
signature_keypair: pqmayo_MAYO_1_neon_crypto_sign_keypair
43+
signature_signature: pqmayo_MAYO_1_neon_crypto_sign_signature
44+
signature_verify: pqmayo_MAYO_1_neon_crypto_sign_verify
45+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/neon/arithmetic_common.h ./src/neon/echelon_form.h ./src/neon/echelon_form_loop.h ./src/neon/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_1/api.h ./src/mayo_1/api.c
46+
supported_platforms:
47+
- architecture: arm_8
48+
operating_systems:
49+
- Darwin
50+
- Linux
51+
required_flags:
52+
- asimd

META/MAYO-2_META.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: MAYO-2
22
type: signature
33
claimed-nist-level: 1
4-
length-public-key: 5488
4+
length-public-key: 4912
55
length-secret-key: 24
6-
length-signature: 180
7-
nistkat-sha256: 72cb237642b2c0c4e7f8c824d9c8601ac7189784649d28dbb2cccfb94732c9a3
6+
length-signature: 186
7+
nistkat-sha256: 777df9b41af1a58536ef76d483775b5c8389ff991e70652fa3af803770a5fce3
88
principal-submitters:
99
- Ward Beullens
1010
- Fabio Campos
@@ -13,25 +13,40 @@ principal-submitters:
1313
- Matthias J. Kannwischer
1414
implementations:
1515
- name: opt
16-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
16+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
1717
folder_name: .
1818
compile_opts: -DMAYO_VARIANT=MAYO_2 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL
1919
signature_keypair: pqmayo_MAYO_2_opt_crypto_sign_keypair
2020
signature_signature: pqmayo_MAYO_2_opt_crypto_sign_signature
2121
signature_verify: pqmayo_MAYO_2_opt_crypto_sign_verify
22-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_2/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_2/api.h ./src/simple_arithmetic.h ./src/generic/arithmetic_common.h ./src/generic/echelon_form.h ./src/generic/arithmetic_96.h ./src/generic/arithmetic_64.h ./src/generic/arithmetic_128.h ./src/arithmetic.h ./src/common/aes_ctr.h
22+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/generic/arithmetic_dynamic.h ./src/generic/arithmetic_fixed.h ./src/generic/echelon_form.h ./src/generic/ef_inner_loop.h ./src/generic/generic_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_2/api.h ./src/mayo_2/api.c
2323
- name: avx2
24-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
24+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
2525
folder_name: .
2626
compile_opts: -DMAYO_VARIANT=MAYO_2 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL
2727
signature_keypair: pqmayo_MAYO_2_avx2_crypto_sign_keypair
2828
signature_signature: pqmayo_MAYO_2_avx2_crypto_sign_signature
2929
signature_verify: pqmayo_MAYO_2_avx2_crypto_sign_verify
30-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_2/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_2/api.h ./src/simple_arithmetic.h ./src/arithmetic.h ./src/common/aes_ctr.h ./src/AVX2/arithmetic_128.h ./src/AVX2/arithmetic_96.h ./src/AVX2/echelon_form.h ./src/AVX2/shuffle_arithmetic_128.h ./src/AVX2/shuffle_arithmetic_96.h ./src/AVX2/arithmetic_64.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic_64.h
30+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_2/api.h ./src/mayo_2/api.c
3131
supported_platforms:
3232
- architecture: x86_64
3333
operating_systems:
3434
- Darwin
3535
- Linux
3636
required_flags:
3737
- avx2
38+
- name: neon
39+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
40+
folder_name: .
41+
compile_opts: -DMAYO_VARIANT=MAYO_2 -DMAYO_BUILD_TYPE_NEON -DMAYO_NEON -DHAVE_RANDOMBYTES_NORETVAL
42+
signature_keypair: pqmayo_MAYO_2_neon_crypto_sign_keypair
43+
signature_signature: pqmayo_MAYO_2_neon_crypto_sign_signature
44+
signature_verify: pqmayo_MAYO_2_neon_crypto_sign_verify
45+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/neon/arithmetic_common.h ./src/neon/echelon_form.h ./src/neon/echelon_form_loop.h ./src/neon/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_2/api.h ./src/mayo_2/api.c
46+
supported_platforms:
47+
- architecture: arm_8
48+
operating_systems:
49+
- Darwin
50+
- Linux
51+
required_flags:
52+
- asimd

META/MAYO-3_META.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: MAYO-3
22
type: signature
33
claimed-nist-level: 3
4-
length-public-key: 2656
4+
length-public-key: 2986
55
length-secret-key: 32
6-
length-signature: 577
7-
nistkat-sha256: dbc49f4fdfa0de69d416051215cb53c042c4a329d325452d079f3734b7467a6b
6+
length-signature: 681
7+
nistkat-sha256: af940f5cd678bde08f452d3ee7e831ec1a2269715579c604ae699069b6fd9c15
88
principal-submitters:
99
- Ward Beullens
1010
- Fabio Campos
@@ -13,25 +13,40 @@ principal-submitters:
1313
- Matthias J. Kannwischer
1414
implementations:
1515
- name: opt
16-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
16+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
1717
folder_name: .
18-
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT
18+
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL
1919
signature_keypair: pqmayo_MAYO_3_opt_crypto_sign_keypair
2020
signature_signature: pqmayo_MAYO_3_opt_crypto_sign_signature
2121
signature_verify: pqmayo_MAYO_3_opt_crypto_sign_verify
22-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_3/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_3/api.h ./src/simple_arithmetic.h ./src/generic/arithmetic_common.h ./src/generic/echelon_form.h ./src/generic/arithmetic_96.h ./src/generic/arithmetic_64.h ./src/generic/arithmetic_128.h ./src/arithmetic.h ./src/common/aes_ctr.h
22+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/generic/arithmetic_dynamic.h ./src/generic/arithmetic_fixed.h ./src/generic/echelon_form.h ./src/generic/ef_inner_loop.h ./src/generic/generic_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_3/api.h ./src/mayo_3/api.c
2323
- name: avx2
24-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
24+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
2525
folder_name: .
26-
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT
26+
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL
2727
signature_keypair: pqmayo_MAYO_3_avx2_crypto_sign_keypair
2828
signature_signature: pqmayo_MAYO_3_avx2_crypto_sign_signature
2929
signature_verify: pqmayo_MAYO_3_avx2_crypto_sign_verify
30-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_3/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_3/api.h ./src/simple_arithmetic.h ./src/arithmetic.h ./src/common/aes_ctr.h ./src/AVX2/arithmetic_128.h ./src/AVX2/arithmetic_96.h ./src/AVX2/echelon_form.h ./src/AVX2/shuffle_arithmetic_128.h ./src/AVX2/shuffle_arithmetic_96.h ./src/AVX2/arithmetic_64.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic_64.h
30+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_3/api.h ./src/mayo_3/api.c
3131
supported_platforms:
3232
- architecture: x86_64
3333
operating_systems:
3434
- Darwin
3535
- Linux
3636
required_flags:
3737
- avx2
38+
- name: neon
39+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
40+
folder_name: .
41+
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_NEON -DMAYO_NEON -DHAVE_RANDOMBYTES_NORETVAL
42+
signature_keypair: pqmayo_MAYO_3_neon_crypto_sign_keypair
43+
signature_signature: pqmayo_MAYO_3_neon_crypto_sign_signature
44+
signature_verify: pqmayo_MAYO_3_neon_crypto_sign_verify
45+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/neon/arithmetic_common.h ./src/neon/echelon_form.h ./src/neon/echelon_form_loop.h ./src/neon/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_3/api.h ./src/mayo_3/api.c
46+
supported_platforms:
47+
- architecture: arm_8
48+
operating_systems:
49+
- Darwin
50+
- Linux
51+
required_flags:
52+
- asimd

META/MAYO-5_META.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: MAYO-5
22
type: signature
33
claimed-nist-level: 5
4-
length-public-key: 5008
4+
length-public-key: 5554
55
length-secret-key: 40
6-
length-signature: 838
7-
nistkat-sha256: f2c1c69045c7d15e714a04119965e8a7007ef54f9293158587560227c97b237d
6+
length-signature: 964
7+
nistkat-sha256: 9a2ede41913131ab479c2581a1a8e86b97222d800aeb16bf67f6163481f2d587
88
principal-submitters:
99
- Ward Beullens
1010
- Fabio Campos
@@ -13,25 +13,40 @@ principal-submitters:
1313
- Matthias J. Kannwischer
1414
implementations:
1515
- name: opt
16-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
16+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
1717
folder_name: .
18-
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT
18+
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL
1919
signature_keypair: pqmayo_MAYO_5_opt_crypto_sign_keypair
2020
signature_signature: pqmayo_MAYO_5_opt_crypto_sign_signature
2121
signature_verify: pqmayo_MAYO_5_opt_crypto_sign_verify
22-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_5/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_5/api.h ./src/simple_arithmetic.h ./src/generic/arithmetic_common.h ./src/generic/echelon_form.h ./src/generic/arithmetic_96.h ./src/generic/arithmetic_64.h ./src/generic/arithmetic_128.h ./src/arithmetic.h ./src/common/aes_ctr.h
22+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/generic/arithmetic_dynamic.h ./src/generic/arithmetic_fixed.h ./src/generic/echelon_form.h ./src/generic/ef_inner_loop.h ./src/generic/generic_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_5/api.h ./src/mayo_5/api.c
2323
- name: avx2
24-
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo
24+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
2525
folder_name: .
26-
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT
26+
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL
2727
signature_keypair: pqmayo_MAYO_5_avx2_crypto_sign_keypair
2828
signature_signature: pqmayo_MAYO_5_avx2_crypto_sign_signature
2929
signature_verify: pqmayo_MAYO_5_avx2_crypto_sign_verify
30-
sources: LICENSE NOTICE ./src/arithmetic.c ./src/mayo_5/api.c ./src/params.c ./src/mayo.c ./include/mayo.h ./include/mem.h ./src/mayo_5/api.h ./src/simple_arithmetic.h ./src/arithmetic.h ./src/common/aes_ctr.h ./src/AVX2/arithmetic_128.h ./src/AVX2/arithmetic_96.h ./src/AVX2/echelon_form.h ./src/AVX2/shuffle_arithmetic_128.h ./src/AVX2/shuffle_arithmetic_96.h ./src/AVX2/arithmetic_64.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic_64.h
30+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/AVX2/arithmetic_common.h ./src/AVX2/echelon_form.h ./src/AVX2/echelon_form_loop.h ./src/AVX2/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_5/api.h ./src/mayo_5/api.c
3131
supported_platforms:
3232
- architecture: x86_64
3333
operating_systems:
3434
- Darwin
3535
- Linux
3636
required_flags:
3737
- avx2
38+
- name: neon
39+
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo-round2
40+
folder_name: .
41+
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_NEON -DMAYO_NEON -DHAVE_RANDOMBYTES_NORETVAL
42+
signature_keypair: pqmayo_MAYO_5_neon_crypto_sign_keypair
43+
signature_signature: pqmayo_MAYO_5_neon_crypto_sign_signature
44+
signature_verify: pqmayo_MAYO_5_neon_crypto_sign_verify
45+
sources: LICENSE NOTICE ./src/arithmetic.c ./src/arithmetic.h ./src/mayo.c ./src/params.c ./src/simple_arithmetic.h ./src/neon/arithmetic_common.h ./src/neon/echelon_form.h ./src/neon/echelon_form_loop.h ./src/neon/shuffle_arithmetic.h ./include/mayo.h ./include/mem.h ./src/common/aes_ctr.h ./src/mayo_5/api.h ./src/mayo_5/api.c
46+
supported_platforms:
47+
- architecture: arm_8
48+
operating_systems:
49+
- Darwin
50+
- Linux
51+
required_flags:
52+
- asimd

0 commit comments

Comments
 (0)