Skip to content

About

Android library for benchmarking cryptographic primitives

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

730 Commits

Folders and files

Repository files navigation

Benchmark for Android crypto primitives

jca contract modules docs

Measures the JCA cryptographic primitives a JVM or an Android device provides: what is registered, what runs, and how fast.

flowchart LR
    D[discovery] -- capture, trial --> C[config] -- effective --> P[preparation] --> B[benchmark] --> A[analysis]
Loading

Setup

pip install -r requirements.txt

First run

cp settings.example.yaml settings.yaml
cp apps/perf-repair/perfrepair.example.yaml apps/perf-repair/perfrepair.yaml   # set apps.targets
python3 apps/cli/facade.py --settings settings.yaml --check           # the resolved tree; no app build, device or model
python3 apps/cli/facade.py --settings settings.yaml                   # benchmark, then guided repair
read for
docs/facade.md the settings index, its direction rule, the phases
docs/run.md prerequisites, apps/benchmark-runner/pipeline.py flags, apps/benchmark-runner/demo.sh, device runs
docs/architecture.md modules, dependencies, stage files
docs/results.md results/<device_id>/ layout and manifest.yaml
docs/cryptography/index.md configured primitives and providers
docs/index.md every cross-module doc
apps/perf-repair/README.md crypto replacements worth testing in an app

About

Android library for benchmarking cryptographic primitives

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages