MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ToKey

Method ToKey

src/util/obfuscation.h:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 static KeyType ToKey(std::span<const std::byte, KEY_SIZE> key_span)
99 {
100 KeyType key{};
101 std::memcpy(&key, key_span.data(), KEY_SIZE);
102 return key;
103 }
104
105 static void XorWord(std::span<std::byte> target, KeyType key)
106 {

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected