/* Compute CRC over header+payload (excluding CRC field) */ hdr->crc32 = crc32_compute(record_buf, sizeof(mudr209_hdr_t) + len);
/* Public API ---------------------------------------------------------------*/ void mudr209_log(const uint8_t *payload, uint32_t len) MUDR-209
/* 5. Update Merkle tree ----------------------------------------------------*/ static void update_merkle(void) /* Compute CRC over header+payload (excluding CRC field)