Skip to main content
menu
Pigweed
Overview
expand_more
Pigweed overview
Mission & philosophies
Glossary
FAQs
Support policies
Quickstart
expand_more
Overview
First-time setup
Install Bazel
Bazel quickstart
Bazel integration
CMake integration
Static and runtime analysis
GitHub Actions
Zephyr quickstart
Tour
expand_more
Overview
0. Expectations and prerequisites
1. Setup
2. Explore build targets
3. Build an app
4. Explore C++ code intelligence
5. Run host tests
6. Static and runtime analysis
7. Run the host app
8. Flash your Pico
9. Run on-device tests
10. Communicate with your Pico over RPC
11. Automate common workflows
12. Communicate with your Pico over the Web Serial API
13. Run factory workflows at your desk
14. Use Bazel’s cloud features
15. Run the air quality monitor app
16. Handle crashes and view snapshots
17. Wrapping up
Source code
Platform
expand_more
Overview
Comms
Observability
Async & concurrency
Encoding & serialization
OS abstraction layers
Kernel
Memory & storage
HALs
Hardware support
Data structures & utilities
Testing
Build systems
Toolchains
Developer tools
Cryptography & security
Module index
Module structure
Facades & backends
Contributing
expand_more
Contributing guide
Build systems reference
Code reviews (Gerrit)
Code review guidelines
Issue tracker
Report a vulnerability
SEEDs
Infra
Embedded C++ Guide
Style guides
Code of conduct
Docs contributors
Testing Guide
Fuchsia libraries
Security
More
expand_more
Community & news
Reference
search
light_mode
dark_mode
code_xml
toc
Home
/
Reference
/
C/C++
/
Cryptography & security
/
pw_crypto
/
pw::crypto::sha256::Sha256 Class Reference
Home
Modules
Loading...
Searching...
No Matches
Public Member Functions
|
List of all members
pw::crypto::sha256::Sha256 Class Reference
Cryptography & security
»
pw_crypto
Overview
Computes the SHA256 digest of potentially long, non-contiguous input messages.
Usage:
if
(!
Sha256
().
Update
(message).
Update
(more_message).
Final
(out_digest).ok()) {
// Error handling.
}
pw::crypto::sha256::Sha256
Definition:
sha256.h:68
pw::crypto::sha256::Sha256::Final
Status Final(ByteSpan out_digest)
Definition:
sha256.h:105
pw::crypto::sha256::Sha256::Update
Sha256 & Update(ConstByteSpan data)
Definition:
sha256.h:82
Public Member Functions
Sha256
&
Update
(
ConstByteSpan
data)
Status
Final
(
ByteSpan
out_digest)
The documentation for this class was generated from the following file:
pw_crypto/public/pw_crypto/sha256.h
pw
crypto
sha256
Sha256
Generated by
1.9.6