RustCrypto in TockEnv (#625)

* Adds a rust_crypto feature to Tock

* -O3 for RustCrypto
This commit is contained in:
kaczmarczyck
2023-05-05 22:38:56 +02:00
committed by GitHub
parent cae2088f36
commit 99f81adc55
6 changed files with 365 additions and 67 deletions

View File

@@ -1091,6 +1091,13 @@ if __name__ == "__main__":
help=("Compiles the OpenSK application without backward compatible "
"support for U2F/CTAP1 protocol."),
)
main_parser.add_argument(
"--rust-crypto",
action="append_const",
const="rust_crypto",
dest="features",
help=("Compiles the OpenSK application with RustCrypto implementations."),
)
main_parser.add_argument(
"--nfc",
action="append_const",