1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:58:14 +03:00

docs, obfuscation

This commit is contained in:
Anton Afanasyeu
2026-06-19 22:41:27 +02:00
parent 55cdcb49bf
commit b9f94fe005
57 changed files with 3229 additions and 105 deletions

8
ndk/obfuscate/README.md Normal file
View File

@@ -0,0 +1,8 @@
# Entitlements obfuscation (C)
Shared by `libandroidcast_entitlements.so` and the archived spike under `reference-design/obfuscate_entitlements/`.
- `encode` / `decode` — 40-bit payload + 24-bit verification tag, keyed by per-account `uint64_t` **key** (not wall clock).
- `write_to` / `read_from` — file layout: 32-bit dummy header, N×uint64_t payloads, 32-bit dummy tail.
Reference demo: `tmp/obfuscate_test/` (standalone; not wired into the main app).