Download zip Select Archive Format
Name Last Update history
File empty ..
File dir arch Loading commit data...
File dir sysdeps Loading commit data...
File txt LICENSE Loading commit data...
File txt Makefile Loading commit data...
File txt README.md Loading commit data...
File txt avb.c Loading commit data...
File txt hwcrypto.c Loading commit data...
File txt ipc.c Loading commit data...
File txt ipc_dev.c Loading commit data...
File txt keymaster.c Loading commit data...
File txt keymaster_serializable.c Loading commit data...
File txt libtipc.c Loading commit data...
File txt rpmb_proxy.c Loading commit data...
File txt util.c Loading commit data...

README.md

Queueless Trusty IPC

ql-tipc is a portable client library that implements Trusty queueless IPC. It is intended to enable Trusty IPC in bootloader environments.

Code organization

IPC components

  • libtipc - Functions to be called by library user
  • ipc - IPC library
  • ipc_dev - Helper functions for sending requests to the secure OS
  • rpmb_proxy - Handles RPMB requests from secure storage service
  • avb - Sends requests to the Android Verified Boot service

Misc

  • examples/ - Implementations of bootloader-specific code.
  • arch/$ARCH/ - Architecture dependent implementation of Trusty device (see trusty_dev.h). Implements SMCs on ARM for example.

Portability Notes

The suggested approach to porting ql-tipc is to copy all header and C files into the bootloader and integrate as needed. RPMB storage operations and functions defined in trusty/sysdeps.h require system dependent implementations.

If the TIPC_ENABLE_DEBUG preprocessor symbol is set, the code will include debug information and run-time checks. Production builds should not use this.