08 Jan, 2019

1 commit

  • Pass the verified boot key hash to keymaster, it will be
    treated as the root trust in keymaster service.
    Also set the 'initialized' flag after initializing the
    keymaster client or set keymaster boot parameters will fail.

    Test: Pass CTS cases:
    android.keystore.cts.KeyAttestationTest#testRsaAttestation
    android.keystore.cts.KeyAttestationTest#testEcAttestation

    Change-Id: I486b5493826160f42c61a3da0e6cd769df92254d
    Signed-off-by: Ji Luo

    Ji Luo
     

24 Dec, 2018

1 commit


12 Dec, 2018

1 commit

  • Open configs to enable trusty for imx8mm_evk and also
    add new config imx8mm_evk_android_trusty_defconfig based
    on imx8mm_evk_android_defconfig.

    Test: Trusty starts ok.

    Change-Id: Iaea90de21f886ed23082a5e8e8d2fa7fb139a9cb
    Signed-off-by: Ji Luo

    Ji Luo
     

10 Dec, 2018

1 commit


04 Dec, 2018

1 commit

  • Add commands to write/read vbmeta public key to/from secure
    storage. The vbmeta public key can only be set once.
    Comands to set the public key:
    fastboot stage
    fastboot oem set-public-key

    Test: build and boot on imx8qxp_mek.

    Change-Id: Id3ad4aa5aacef4fc8443f6a2d6ccb931310970ca
    Signed-off-by: Ji Luo

    Ji Luo
     

21 Nov, 2018

1 commit


12 Nov, 2018

8 commits


09 Nov, 2018

1 commit

  • RPMB storage proxy service will return fail if the rpmb key is not
    correct, we should not return early here if the rpmb key has not
    been set because we still need to initialize the hwcrypto service
    to generate the rpmb key blob.
    This commit also adds more hint when set the rpmb key.

    Change-Id: I8ee59e4e277b545283d63b1070e671d508dbe0c2
    Signed-off-by: Luo Ji

    Luo Ji
     

03 Nov, 2018

3 commits

  • Generate the key blob and store it to the last block of boot1 partition
    after setting the rpmb key. The key blob should be checked in spl and be
    passed to Trusty OS if it's valid. If the key blob are damaged, RPMB
    storage proxy service will return fail and should make the device hang.

    Test: Build and boot ok on imx8qm/qxp.

    Change-Id: Ia274cd72109ab6ae15920e91b2a2008e1f1e667c
    Signed-off-by: Ji Luo

    Ji Luo
     
  • Add new hwcrypto tipc command and handler to generate blob with
    CAAM.

    Test: Message exchange with trusty and blob encapsulate/decapsulate ok.

    Change-Id: I925b47cb3e22eeddf4c89e84a9c994d2f30423fe
    Signed-off-by: Ji Luo

    Ji Luo
     
  • Add new service 'hwcrypto' to handle CAAM related work
    with Trusty OS. Add tipc interface to accelerate hash
    calculation with CAAM.

    Test: Service connect and message exchange with Trusty OS
    are ok.

    Change-Id: Ia870c3ad2ff30af987f327a9777a8b32f53593db
    Signed-off-by: Ji Luo

    Ji Luo
     

13 Sep, 2018

1 commit


12 Sep, 2018

2 commits


20 Aug, 2018

4 commits


13 Jun, 2018

1 commit