move wycheproof-import to tools

This commit is contained in:
bunnie 2021-09-06 14:42:19 +08:00
parent 01bfc375b2
commit e510525a0a
7 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -428,7 +428,7 @@ dependencies = [
[[package]] [[package]]
name = "com_rs" name = "com_rs"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/betrusted-io/com_rs.git?rev=8959b373adc359f03a0da7c000bd8208b47d90a7#8959b373adc359f03a0da7c000bd8208b47d90a7" source = "git+https://github.com/betrusted-io/com_rs.git?rev=ebbe15a5285cc4b9de7edf279949f034e82709dd#ebbe15a5285cc4b9de7edf279949f034e82709dd"
[[package]] [[package]]
name = "com_rs-ref" name = "com_rs-ref"

View file

@ -77,7 +77,7 @@ members = [
"services/spinor", "services/spinor",
"services/root-keys", "services/root-keys",
"services/jtag", "services/jtag",
"wycheproof-import", "tools/wycheproof-import",
] ]
resolver = "2" resolver = "2"

View file

@ -878,7 +878,7 @@ fn generate_locales() -> Result<(), std::io::Error> {
} }
fn whycheproof_import() -> Result<(), DynError> { fn whycheproof_import() -> Result<(), DynError> {
let input_file = "wycheproof-import/x25519_test.json"; let input_file = "tools/wycheproof-import/x25519_test.json";
let output_file = "services/shellchat/src/cmds/x25519_test.bin"; let output_file = "services/shellchat/src/cmds/x25519_test.bin";
let status = Command::new(cargo()) let status = Command::new(cargo())
.current_dir(project_root()) .current_dir(project_root())