[app][hwcrypto] Clean up libc usage

uint and addr_t are not standard types.
The printf format for 64-bit values is not guarenteed - use PRI macros.
Move reg.h to lk/reg.h.

Bug: 110161494
Change-Id: Idcdd7fe6227349250277a2e147cbef8eee25a8e0
6 files changed
tree: 766b3ba19cd5c6afd1047d228a4bd7e9cd082af8
  1. app/
  2. platform/
  3. target/
  4. .clang-format
  5. PREUPLOAD.cfg