)]}'
{
  "commit": "d4989019f75e776e44962af753abd08ad08d846f",
  "tree": "c98438126b310ea19e3e68e0e54fe33f7b706b16",
  "parents": [
    "480063d4f68d0589971fea334d00fe4f782ae821"
  ],
  "author": {
    "name": "Eric Biggers",
    "email": "ebiggers@google.com",
    "time": "Tue Mar 31 16:51:29 2020 -0700"
  },
  "committer": {
    "name": "Eric Biggers",
    "email": "ebiggers@google.com",
    "time": "Wed Apr 01 12:01:55 2020 -0700"
  },
  "message": "VtsKernelEncryptionTest: test correctness of metadata encryption\n\nTest that metadata encryption with dm-default-key v2 is working\ncorrectly.  Both AES-256-XTS and Adiantum are tested, when supported.\n\nTo avoid having to find a region on disk that can safely be modified,\nonly decryption is actually tested.  This should be good enough since\nthe device wouldn\u0027t work anyway if decryption didn\u0027t invert encryption.\n\nFor now we don\u0027t specifically test that file contents aren\u0027t encrypted\ntwice, since that\u0027s already implied by the FBE test cases.\n\nSee the file-level comment for more details.\n\nTest: atest -v vts_kernel_encryption_test\n\n      Ran on Cuttlefish.  The new test cases passed as expected (and\n      were not skipped -- verified this via the gtest log).\n\n      Ran on Cuttlefish with a kernel patch that made dm-default-key use\n      the wrong key.  The new test cases failed as expected.\n\n      Ran on Cuttlefish with a kernel without CONFIG_CRYPTO_ADIANTUM.\n      The Adiantum test case was skipped as expected.\n\nBug: 151100202\nChange-Id: I4109d005499cf80dfc14d82465dd5724c9310b20\nMerged-In: I4109d005499cf80dfc14d82465dd5724c9310b20\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f43a38d4a812ca4894cc1fc600a4af5366160ed4",
      "old_mode": 33188,
      "old_path": "encryption/Android.bp",
      "new_id": "bb5420387e5bf1632910850b6bab9214cfd34057",
      "new_mode": 33188,
      "new_path": "encryption/Android.bp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e8b06e22d741d561563f51cee04a588e75f65456",
      "new_mode": 33188,
      "new_path": "encryption/metadata_encryption_tests.cpp"
    }
  ]
}
