1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

chore(legacy): typos and style

This commit is contained in:
Ondrej Mikle 2022-11-21 14:54:36 +01:00
parent e2abd2a9ad
commit a9ad39b88d
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,6 @@ static const uint8_t * const pubkey_v2[PUBKEYS] = {
// These public keys are production keys // These public keys are production keys
// - used in production devices // - used in production devices
// - used in debug non-production builds for QA testing
// the "SignMessage"-style public keys, third signing scheme // the "SignMessage"-style public keys, third signing scheme
static const uint8_t * const pubkey_v3[PUBKEYS] = { static const uint8_t * const pubkey_v3[PUBKEYS] = {

View File

@ -106,8 +106,9 @@ void compute_firmware_fingerprint_for_verifymessage(const image_header *hdr,
*/ */
int signatures_ok(const image_header *hdr, uint8_t store_fingerprint[32], int signatures_ok(const image_header *hdr, uint8_t store_fingerprint[32],
bool use_verifymessage); bool use_verifymessage);
/** /**
* Check is either v2 or v3 signature of header is valid. * Check if either v2 or v3 signature of header is valid.
* *
* Stored fingerprint is the "of v2 scheme" which we still display as hash * Stored fingerprint is the "of v2 scheme" which we still display as hash
* and use as "firmware hash". * and use as "firmware hash".