You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
483 B
12 lines
483 B
// SPDX-FileCopyrightText: 2020 Foundation Devices, Inc. <hello@foundationdevices.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
//
|
|
// SPDX-FileCopyrightText: 2018 Coinkite, Inc. <coldcardwallet.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
//
|
|
#pragma once
|
|
|
|
#include "fwheader.h"
|
|
|
|
extern void hash_fw(fw_info_t *hdr, uint8_t *fw, size_t fwlen, uint8_t *sig, uint8_t siglen);
|
|
extern void hash_board(uint8_t *fw_signature, uint8_t fw_signature_len, uint8_t *sig, uint8_t siglen);
|
|
|