1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 21:08:07 +00:00
trezor-firmware/micropython/stmhal/bootloader/header.h
2017-02-09 20:04:21 +01:00

10 lines
222 B
C

#ifndef __BOOTLOADER_HEADER_H__
#define __BOOTLOADER_HEADER_H__
#include <stdint.h>
#include <stdbool.h>
bool read_header(const uint8_t *data, uint32_t *expiry, uint32_t *version, uint8_t *sigidx, uint8_t *sig);
#endif