commit | 747deffd64c64ebfa04b93edda07a72215462c6d | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Tue Aug 24 07:36:48 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 24 07:50:33 2021 +0000 |
tree | b384f687a0489cb0b0b7d104f0fab52f2187ff24 | |
parent | 5d242d420e46fba9904613174f578877aeb24df0 [diff] |
[roll third_party/pigweed] pw_crypto: Refactor Sha256 1. Extracts state tracking from backends to the facade, with tests against a mocked backend. 2. Makes Sha256::Update() chainable. e.g. ``` if (!Sha256().Update(message).Update(more_message).Final().ok()) { // Handle errors. } ``` All usage and documentation are updated accordingly. 3. Inlines Sha256::Sha256()/Update()/Final() in sha256.h, removes sha256.cc. 4. Other trivial clean ups. Test: - `pw presubmit` - `pw presubmit --step gn_crypto_(mbedtls|boringssl|micro_ecc)_build` Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/55343 https://pigweed.googlesource.com/pigweed/pigweed third_party/pigweed Rolled-Commits: 1829982bd541d89..6ae057c48564ac4 Roller-URL: https://ci.chromium.org/b/8838034695374247008 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8838034695374247008 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ibeda6109b793934063433dbd1393129b53b98519 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/58060 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.