Function desfire::compute_crc32(mlab::bin_data const&, std::uint32_t)

Function Documentation

inline std::uint32_t desfire::compute_crc32(mlab::bin_data const &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).