mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
12 lines
250 B
C
12 lines
250 B
C
#ifndef __BOOTLOADER_CRYPTO_H__
|
|
#define __BOOTLOADER_CRYPTO_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
bool parse_header(const uint8_t *data, uint32_t *codelen, uint8_t *sigidx, uint8_t *sig);
|
|
|
|
bool check_signature(const uint8_t *start);
|
|
|
|
#endif
|