CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
littlefs_checksums.h
Go to the documentation of this file.
1#ifndef INCLUDE_GUARD__LITTLEFS_CHECKSUMS_H
2#define INCLUDE_GUARD__LITTLEFS_CHECKSUMS_H
3
4#include <stdint.h>
5
7 const char filepath[], uint32_t start_offset, uint32_t max_length, uint8_t sha256_dest[32]
8);
9
10#endif /* INCLUDE_GUARD__LITTLEFS_CHECKSUMS_H */
int8_t LFS_read_file_checksum_sha256(const char filepath[], uint32_t start_offset, uint32_t max_length, uint8_t sha256_dest[32])
Computes the SHA256 checksum of a file in LittleFS.
Definition littlefs_checksums.c:15