platform_system_core/trusty
Jocelyn Bohr b3ed3772b9 Enable non-secure side to receive messages > 4K
AttestKeyResponse may be larger than 4K (always less than 8K) when
attesting an RSA key. This change allows the non-secure side to read a
response that may be larger than 4K by adding an additional bit
indicating the end of a response. If a message command has the
KEYMASTER_STOP_BIT set, then the non-secure side knows that the response
has been fully read.

Test: android.keystore.cts.KeyAttestationTest#testRsaAttestation passes
      with production attestation key and chain, when AttestKeyResponse is
      larger than 4K.

      Tested with other CTS tests when keymaster messages are smaller
      than 4K, still passes.

      Manual test to verify that a tipc error due to large message size is
      handled correctly.
Bug: 63335726

Change-Id: I8776ba7ca70da893648e15cfa770784ab31a2cb0
2017-08-10 16:53:27 -07:00
..
gatekeeper trusty*: Android.mk -> Android.bp 2017-05-08 16:54:04 +00:00
keymaster Enable non-secure side to receive messages > 4K 2017-08-10 16:53:27 -07:00
libtrusty libtrusty: Android.mk -> Android.bp 2017-04-26 18:58:18 -07:00
nvram trusty*: Android.mk -> Android.bp 2017-05-08 16:54:04 +00:00
storage trusty/storage/* to Android.bp 2017-05-04 15:51:50 +00:00
Android.bp trusty*: Android.mk -> Android.bp 2017-05-08 16:54:04 +00:00
trusty-base.mk trusty: add trusty-base.mk 2016-05-02 15:12:01 -07:00
trusty-storage.mk trusty: storage: implement storage proxy daemon 2016-05-02 15:12:01 -07:00