-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adds new api: crypto_sign_signature and crypto_sign_verify - adds namespacing - converts CRLF to LF - fixes for big-endian - changes types from 'unsigned long long' to size_t - fixes for strict compilers - ensures newlines at end of files
- Loading branch information
Showing
56 changed files
with
1,519 additions
and
1,029 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,37 @@ | ||
name: MAYO_1 | ||
type: signature | ||
claimed-nist-level: 1 | ||
length-public-key: 1168 | ||
length-secret-key: 24 | ||
length-signature: 321 | ||
nistkat-sha256: ba2473dedd92cf3b8a1fc14fc22f2ffdde972c8b64cfcd8cddb4f803e48df017 | ||
principal-submitters: | ||
- Ward Beullens | ||
- Fabio Campos | ||
- Sofía Celi | ||
- Basil Hess | ||
- Matthias J. Kannwischer | ||
implementations: | ||
- name: opt | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_1 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL | ||
signature_keypair: pqmayo_MAYO_1_opt_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_1_opt_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_1_opt_crypto_sign_verify | ||
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 | ||
- name: avx2 | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_1 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL | ||
signature_keypair: pqmayo_MAYO_1_avx2_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_1_avx2_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_1_avx2_crypto_sign_verify | ||
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 | ||
supported_platforms: | ||
- architecture: x86_64 | ||
operating_systems: | ||
- Darwin | ||
- Linux | ||
required_flags: | ||
- avx2 |
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,37 @@ | ||
name: MAYO_2 | ||
type: signature | ||
claimed-nist-level: 1 | ||
length-public-key: 5488 | ||
length-secret-key: 24 | ||
length-signature: 180 | ||
nistkat-sha256: 72cb237642b2c0c4e7f8c824d9c8601ac7189784649d28dbb2cccfb94732c9a3 | ||
principal-submitters: | ||
- Ward Beullens | ||
- Fabio Campos | ||
- Sofía Celi | ||
- Basil Hess | ||
- Matthias J. Kannwischer | ||
implementations: | ||
- name: opt | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_2 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL | ||
signature_keypair: pqmayo_MAYO_2_opt_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_2_opt_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_2_opt_crypto_sign_verify | ||
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 | ||
- name: avx2 | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_2 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL | ||
signature_keypair: pqmayo_MAYO_2_avx2_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_2_avx2_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_2_avx2_crypto_sign_verify | ||
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 | ||
supported_platforms: | ||
- architecture: x86_64 | ||
operating_systems: | ||
- Darwin | ||
- Linux | ||
required_flags: | ||
- avx2 |
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,37 @@ | ||
name: MAYO_3 | ||
type: signature | ||
claimed-nist-level: 3 | ||
length-public-key: 2656 | ||
length-secret-key: 32 | ||
length-signature: 577 | ||
nistkat-sha256: dbc49f4fdfa0de69d416051215cb53c042c4a329d325452d079f3734b7467a6b | ||
principal-submitters: | ||
- Ward Beullens | ||
- Fabio Campos | ||
- Sofía Celi | ||
- Basil Hess | ||
- Matthias J. Kannwischer | ||
implementations: | ||
- name: opt | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT | ||
signature_keypair: pqmayo_MAYO_3_opt_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_3_opt_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_3_opt_crypto_sign_verify | ||
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 | ||
- name: avx2 | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_3 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT | ||
signature_keypair: pqmayo_MAYO_3_avx2_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_3_avx2_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_3_avx2_crypto_sign_verify | ||
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 | ||
supported_platforms: | ||
- architecture: x86_64 | ||
operating_systems: | ||
- Darwin | ||
- Linux | ||
required_flags: | ||
- avx2 |
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,37 @@ | ||
name: MAYO_5 | ||
type: signature | ||
claimed-nist-level: 5 | ||
length-public-key: 5008 | ||
length-secret-key: 40 | ||
length-signature: 838 | ||
nistkat-sha256: f2c1c69045c7d15e714a04119965e8a7007ef54f9293158587560227c97b237d | ||
principal-submitters: | ||
- Ward Beullens | ||
- Fabio Campos | ||
- Sofía Celi | ||
- Basil Hess | ||
- Matthias J. Kannwischer | ||
implementations: | ||
- name: opt | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_OPT -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT | ||
signature_keypair: pqmayo_MAYO_5_opt_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_5_opt_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_5_opt_crypto_sign_verify | ||
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 | ||
- name: avx2 | ||
version: https://github.com/PQCMayo/MAYO-C/tree/nibbling-mayo | ||
folder_name: . | ||
compile_opts: -DMAYO_VARIANT=MAYO_5 -DMAYO_BUILD_TYPE_AVX2 -DMAYO_AVX -DHAVE_RANDOMBYTES_NORETVAL -DHAVE_STACKEFFICIENT | ||
signature_keypair: pqmayo_MAYO_5_avx2_crypto_sign_keypair | ||
signature_signature: pqmayo_MAYO_5_avx2_crypto_sign_signature | ||
signature_verify: pqmayo_MAYO_5_avx2_crypto_sign_verify | ||
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 | ||
supported_platforms: | ||
- architecture: x86_64 | ||
operating_systems: | ||
- Darwin | ||
- Linux | ||
required_flags: | ||
- avx2 |
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
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
Oops, something went wrong.