)]}'
{
  "commit": "25cf1bb965ba9ae0302cbc6de4ff4dd6cdbbc016",
  "tree": "096c170865412e9c2b3699fa210ac83995e0970e",
  "parents": [
    "c8100f0f0d05c5185d58113e12a867ae0771a6c9"
  ],
  "author": {
    "name": "Ellen Arteca",
    "email": "emarteca@google.com",
    "time": "Mon Jun 03 22:21:14 2024 +0000"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jun 04 00:40:06 2024 +0000"
  },
  "message": "Adds functionality for instantiating and using `Algorithm`\n\nThis CL moves some methods that exist in every hashing algorithm\nimplementation to the `Algorithm` trait; namely, `new`, `update`,\nand `digest`. This allows for clients to instantiate the hashing\nalgorithms, and to call `update` and `digest` on objects that\nhave this trait. It allows a generic representation of an algorithm\nthat can be used.\n\nThis CL also adds the block size as a const field in the `Algorithm`\ntrait.\n\nNote: this specifically supports the hashing algorithm use in the\nstyle of what is done in AOSP\u0027s\n`packages/modules/Virtualization/libs/apkverify`, which was previously\nusing the rust openssl `Hasher` to instantiate algorithms specified\nby their `MessageDigest`.\n\nChange-Id: Ic47691ee2a4303923519b246de7d9724da90f60d\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/68748\nCommit-Queue: Ellen Arteca \u003cemarteca@google.com\u003e\nCommit-Queue: Adam Langley \u003cagl@google.com\u003e\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "645ab80bd16a6ecc05396e871a90b6806e25c783",
      "old_mode": 33188,
      "old_path": "rust/bssl-crypto/src/digest.rs",
      "new_id": "125f427433382106bc8875a785a0eaab65408a2a",
      "new_mode": 33188,
      "new_path": "rust/bssl-crypto/src/digest.rs"
    },
    {
      "type": "modify",
      "old_id": "6ac3d37c3d39a4275734ba452f750792939f3ef1",
      "old_mode": 33188,
      "old_path": "rust/bssl-crypto/src/macros.rs",
      "new_id": "0d49646bc807584995e32a1917c2aa1ad2e3f551",
      "new_mode": 33188,
      "new_path": "rust/bssl-crypto/src/macros.rs"
    }
  ]
}
