/* SPDX-FileCopyrightText: © 2023-2024 Decompollaborate */ /* SPDX-License-Identifier: MIT */ #ifndef TESTS_UTILS_H #define TESTS_UTILS_H #pragma once #include #include #include #include "ipl3checksum.h" uint8_t *read_binary_file(const char *path, size_t *size); uint32_t read_be_word(const uint8_t *src, size_t offset); const char *get_ipl3checksum_error_str(Ipl3Checksum_Error error); bool eprint_cickind_name(Ipl3Checksum_CICKind kind); #endif