// This file is part of Blend2D project <https://blend2d.com>
//
// See blend2d.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib

#include <blend2d/core/api-build_p.h>
#if defined(BL_TARGET_OPT_ASIMD)

#include <blend2d/compression/checksum_p.h>
#include <blend2d/compression/checksumadler32simdimpl_p.h>

namespace bl::Compression::Checksum {

// bl::Compression - CheckSum - ADLER32 (ASIMD)
// ============================================

uint32_t adler32_update_asimd(uint32_t checksum, const uint8_t* data, size_t size) noexcept {
  return adler32_update_simd(checksum, data, size);
}

} // {bl::Compression::Checksum}

#endif // BL_TARGET_OPT_ASIMD
