-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emulate arm64 binary on x86_64 machine (#60)
* emulate arm64 binary on x86_64 machine Signed-off-by: Thing-han, Lim <[email protected]> * Output binaries to bin/ directory Signed-off-by: Thing-han, Lim <[email protected]> * add nistkat checksum back Signed-off-by: Thing-han, Lim <[email protected]> * use black for python formatting Signed-off-by: Thing-han, Lim <[email protected]> * add tests script for running a specify binary Signed-off-by: Thing-han, Lim <[email protected]> * factor out the common part of compiling and running a binary Signed-off-by: Thing-han, Lim <[email protected]> * add test command for func, nistkat and kat tests Signed-off-by: Thing-han, Lim <[email protected]> * compare tests result to the META file Signed-off-by: Thing-han, Lim <[email protected]> * add github step summary to tests script if the env var exists Signed-off-by: Thing-han, Lim <[email protected]> * update ci to use the tests script Signed-off-by: Thing-han, Lim <[email protected]> * cleanup Signed-off-by: Thing-han, Lim <[email protected]> * only add -static if is linux x86_64 Signed-off-by: Thing-han, Lim <[email protected]> * still run kat/nistkat tests even if previous tests failed Signed-off-by: Thing-han, Lim <[email protected]> * fix uncompatible makefile macros Signed-off-by: Thing-han, Lim <[email protected]> * remove makefile macros Signed-off-by: Thing-han, Lim <[email protected]> * place binaries in test/bin instead of bin Signed-off-by: Thing-han, Lim <[email protected]> * add --force-qemu flag for tests script Signed-off-by: Thing-han, Lim <[email protected]> * add the tests script description to README Signed-off-by: Thing-han, Lim <[email protected]> * make ci tests output verbose Signed-off-by: Thing-han, Lim <[email protected]> * output full executed make command Signed-off-by: Thing-han, Lim <[email protected]> * fix makefile extra quoting Signed-off-by: Thing-han, Lim <[email protected]> --------- Signed-off-by: Thing-han, Lim <[email protected]>
- Loading branch information
1 parent
45c91ee
commit 3d23dda
Showing
10 changed files
with
408 additions
and
99 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,35 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Mlkem | ||
type: kem | ||
implementations: | ||
- name: mlkem512 | ||
claimed-nist-level: 1 | ||
claimed-security: IND-CCA2 | ||
length-public-key: 800 | ||
length-ciphertext: 768 | ||
length-secret-key: 1632 | ||
length-shared-secret: 32 | ||
kat-sha256: ec4ac397e595ac7457cb7d8830921faf3290898a10d7dd3864aab89ea61fe9a3 | ||
nistkat-sha256: 4b88ac7643ff60209af1175e025f354272e88df827a0ce1c056e403629b88e04 | ||
nistkat-shake256-256: 4b075815c72f4984e2290a2ebb62f6aa2c42bb386b9a210a78bf6ac73ee02cb8 | ||
- name: mlkem768 | ||
claimed-nist-level: 3 | ||
claimed-security: IND-CCA2 | ||
length-public-key: 1184 | ||
length-ciphertext: 1088 | ||
length-secret-key: 2400 | ||
length-shared-secret: 32 | ||
kat-sha256: 9a0826ad3c5232dfd3b21bc4801408655c565a491b760f509b2ee2cd7180babe | ||
nistkat-sha256: 21b4a1e1ea34a13c26a9da5eeb9325afb5ca11596ca6f3704c3f2637e3ea7524 | ||
nistkat-shake256-256: 3acd660b1b60808c1b8b02f499ffdc4bdacaaf35ec02a267b7a8e40dd4b26457 | ||
- name: mlkem1024 | ||
claimed-nist-level: 5 | ||
claimed-security: IND-CCA2 | ||
length-public-key: 1568 | ||
length-ciphertext: 1568 | ||
length-secret-key: 3168 | ||
length-shared-secret: 32 | ||
kat-sha256: 6dafb867599b750a6a831b03e494cf41dea748c78a0e275e7b268bbb893cf37d | ||
nistkat-sha256: 6471398b0a728ee1ef39e93bb89b526fbf59587a3662edadbcfc6c88a512cd71 | ||
nistkat-shake256-256: e619f782857675c7d273139a48f8081652cc9c583c92aa4e627a2f36a7d943d1 |
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 was deleted.
Oops, something went wrong.
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.