Added a util function to convert from byte buffer to uint128_t

This commit is contained in:
Alexandre Paillier
2022-06-08 11:38:08 +02:00
parent f3e307423e
commit bbcfe5abc3
3 changed files with 14 additions and 2 deletions

View File

@@ -24,6 +24,7 @@
void array_hexstr(char* strbuf, const void* bin, unsigned int len);
void convertUint128BE(const uint8_t *const data, uint32_t length, uint128_t *const target);
void convertUint256BE(const uint8_t *const data, uint32_t length, uint256_t *const target);
uint64_t u64_from_BE(const uint8_t* in, uint8_t size);