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
+11
View File
@@ -0,0 +1,11 @@
object Form8: TForm8
Left = 0
Top = 0
Caption = 'Form8'
ClientHeight = 480
ClientWidth = 640
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop, iPhone, iPad]
DesignerMasterStyle = 0
end