This is a partial backport of core#28100
https://github.com/bitcoin/bitcoin/pull/28100/commits/3da636e08b781fa2f7c1c23bb937015185732a75
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC54538f391d93: crypto: refactor ChaCha20 classes to use Span<std::byte> interface
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Event Timeline
Comment Actions
More a question than requesting change
| src/crypto/chacha20.cpp | ||
|---|---|---|
| 47 ↗ | (On Diff #56842) | see related question in the header |
| src/crypto/chacha20.h | ||
| 100 ↗ | (On Diff #56842) | Here and below |
| 101 ↗ | (On Diff #56842) | I wonder if the size be enforced at compile time like so |
| src/crypto/chacha20poly1305.cpp | ||
| 20 ↗ | (On Diff #56842) | same here |
Comment Actions
We can probably do that after we switch from Span to std::span. The Span template does not have the Extent parameter