HomePhabricator

util: Add ParseHex<std::byte>() helper

Description

util: Add ParseHex<std::byte>() helper

Summary:

test: Add test for embedded null in hex string

util: Add ParseHex<std::byte>() helper

refactor: Use Span of std::byte in CExtKey::SetSeed

This is a backport of core#23595

with a minor change from core#23413 in key_io_tests (should have been included in D14768 if we got the backports in the right order)

Depends on D17156

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

Differential Revision: https://reviews.bitcoinabc.org/D17157

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Nov 9 2021, 19:17
PiRKCommitted on Nov 18 2024, 19:56
PiRKPushed on Nov 18 2024, 19:56
Reviewer
roqqit
Differential Revision
D17157: util: Add ParseHex<std::byte>() helper
Parents
rABCabfd248f0a4b: refactor: Take Span in SetSeed
Branches
Unknown
Tags
Unknown