You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`CKey` already exposes its private key data as `std::byte` through `data()`/`begin()`/`end()`, but internally stored it as `unsigned char`.
Store the key material as `std::byte` end-to-end, and only cast to `unsigned char*` at libsecp256k1 call boundaries. This avoids repeated `reinterpret_cast` and makes the code consistently use C++20’s byte type for opaque key data.
0 commit comments