SQLCipher 4.5.7 amalgamation (SQLite base 3.44.x), generated from
github.com/sqlcipher/sqlcipher tag v4.5.7 via ./configure + make sqlite3.c.

Chosen for the SP-Core CROSS builds because 4.5.x keeps BOTH the OpenSSL 1.x HMAC
path and the OpenSSL 3.x EVP_MAC path, so it builds against every cross sysroot's
OpenSSL (1.1.1 on zk-mips, 3.0.x on zim100l, 1.0.2 on the oldest). SQLCipher 4.16.0
dropped the HMAC fallback and hard-requires OpenSSL 3.x, so it does NOT build cross.
SQLCipher-4 on-disk format is identical across 4.x, so 4.5.7 (cross) and 4.16.0
(macOS/brew) databases interoperate.

LIBRARY build flags (4.5.7): -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2
  (the codec self-activates via sqlcipher_activate(); do NOT pass SQLITE_EXTRA_INIT/
  SQLITE_EXTRA_SHUTDOWN -- those are required by 4.6.0+ only and 4.5.7 has no such fn.)
Link OpenSSL libcrypto (-lcrypto). Installs as libsqlite3 (drop-in for -lsqlite3).

Verified: compiles AND links into a working MIPS binary on the zk-mips gcc 4.1.2 +
OpenSSL 1.1.1 sysroot, and compiles on zim100l (arm + OpenSSL 3.0.15).

FIRMWARE compile (consumer side): define SPCORE_SQLCIPHER + SQLITE_HAS_CODEC so
sqlite3.h declares sqlite3_key; keep linking -lsqlite3.
