feat(android): crypto self-test harness on the new FMX project

Two stages tested separately, because a global failure says nothing about where: PBKDF2 against the known derived key - which also runs on Win64, so that stage validates in seconds without deploying to a phone - then AES-GCM against the plaintext hash, Android only.

The vector is embedded as a unit rather than read from a file: no network, no deployment, so a first-run failure can only come from the decryption itself. Work runs on a thread; 600k HMAC rounds on the UI thread would have Android kill the app for not responding.
This commit is contained in:
r-zakarya
2026-08-14 18:29:12 +01:00
parent 02d89c58d2
commit 386bf74a2a
5 changed files with 1524 additions and 0 deletions
+1312
View File
File diff suppressed because it is too large Load Diff