{"id":20713279,"url":"https://github.com/linaro/lite-flow","last_synced_at":"2025-06-29T06:05:28.942Z","repository":{"id":153404598,"uuid":"627145779","full_name":"Linaro/lite-flow","owner":"Linaro","description":"LITE Cryptographic Workflow Demonstration","archived":false,"fork":false,"pushed_at":"2023-06-16T15:28:37.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-11T06:49:24.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Linaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-12T22:01:17.000Z","updated_at":"2023-06-05T16:56:31.000Z","dependencies_parsed_at":"2025-01-17T21:37:18.551Z","dependency_job_id":null,"html_url":"https://github.com/Linaro/lite-flow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Linaro/lite-flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Flite-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Flite-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Flite-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Flite-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linaro","download_url":"https://codeload.github.com/Linaro/lite-flow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Flite-flow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262545028,"owners_count":23326656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T02:24:15.142Z","updated_at":"2025-06-29T06:05:28.892Z","avatar_url":"https://github.com/Linaro.png","language":"Rust","readme":"# LITE Flow tool\n\nThis project is an attempt at a reference implementation of the cryptographic\n\"flow\" demonstrating how data undergoes encryption and signing from an embedded\ndevice to the cloud.\n\nIn order to gather some meaningful benchmarks, there is also a main program that\nis able to run on some embedded targets to benchmark this encryption.\n\n## Submodules\n\nThis repo currently brings in a current version of embassy with git submodules,\nand if you didn't add `--submodules` when cloning the repo, you will need to\nupdate those:\n\n```\n$ git submodule update --init\n```\n\n## On target benchmarking\n\nCurrently, the benchmark can be run on the STM32F407VGTx Discovery board, which\nis available at the time of writing.  This tool needs a rust unstable version,\nwhich can be downloaded with rustup.  It is highly recommended to use rustup to\nbuild this software, as the necessary tools will be automatically installed.\n\n```\n$ cd boards/stm32f4-disco\n$ cargo build --release\n```\n\nAlthough the rust embedded book describes using openocd to connect to the\ntarget, the `probe-run` tool, built on `probe-rs` provides a much more concise\nsolution to running and developing on these boards.  It supports the RTT\nprotocol, and will automatically show available messages as they are printed by\nthe device.\n\n```\n$ cargo install probe-run\n```\n\nYou should be able to query your probe with:\n\n```\n$ probe-run --list-probes\nthe following probes were found:\n[0]: STLink V3 (VID: 0483, PID: 374e, Serial: 001F00094741500420383733, StLink)\n```\n\nIf the board doesn't show up here, it likely has to do with device permissions\nand such.  The [probe-run](https://ferrous-systems.com/blog/probe-run/)\ndocumentation may be helpful in diagnosing problems.\n\nOnce that works, you can just issue\n\n```\n$ cargo run --release\n```\n\nto run the test, and print out messages.  There is a script `./run.sh` in this\ndirectory that uses a grep command to filter out the line information on the log\nmessages, making the content of the messages easier to read.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Flite-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinaro%2Flite-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Flite-flow/lists"}