MCPcopy Create free account
hub / github.com/ElementsProject/elements / WriteBE32

Function WriteBE32

src/crypto/common.h:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void static inline WriteBE32(unsigned char* ptr, uint32_t x)
78{
79 uint32_t v = htobe32(x);
80 memcpy(ptr, (char*)&v, 4);
81}
82
83void static inline WriteBE64(unsigned char* ptr, uint64_t x)
84{

Callers 9

TransformD64Function · 0.70
TransformD64WrapperFunction · 0.70
MidstateMethod · 0.70
SaveMethod · 0.70
FinalizeMethod · 0.70
EncodeMethod · 0.50
BIP32HashFunction · 0.50
EncodeMethod · 0.50
FUZZ_TARGETFunction · 0.50

Calls 1

htobe32Function · 0.85

Tested by 1

FUZZ_TARGETFunction · 0.40