mirror of
git://f0xx.org/android_cast
synced 2026-07-29 02:18:40 +03:00
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-accountuint64_tkey (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).