mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +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
|