Function desfire::compute_crc32(std::uint8_t, std::uint32_t)

Function Documentation

std::uint32_t desfire::compute_crc32(std::uint8_t data, std::uint32_t init = crc32_init)
Parameters:
  • data – Sequence for which to compute the CRC (or a single byte).

  • init – Initial value for the CRC

Returns:

init + CRC(data).