commit | 472287f5734c1f4e5092f6bc2d34e3a2d14d3f94 | [log] [tgz] |
---|---|---|
author | Ali Zhang <alizhang@google.com> | Fri Jul 16 16:09:31 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jul 31 01:11:12 2021 +0000 |
tree | 5a6c32e2006120b2076bd2c37d58aa45ddee77c1 | |
parent | 4947e7781dc13928ac38e0f9893732213a29d7af [diff] |
pw_crypto: Use mbedtls_sha256_* directly Use the mbedtls_sha256_* APIs instead of the more general mbedtls_md_* for an immediate reduction in code size -- 19KiB --> 2.8KiB. This avoids the need to configure Mbed TLS to remove unused hashing algorithms supported by mbedtls_md_*. No-Docs-Update-Reason: no behavioral changes. Change-Id: I7d450e6cb102aa395daabc20a98d1f0ca56360c0 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/53540 Reviewed-by: Darren Krahn <dkrahn@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Ali Zhang <alizhang@google.com>
See our website: http://pigweed.dev