Support message signing (Nano-S only for the time being)

This commit is contained in:
BTChip github 2017-03-03 13:49:39 +01:00
parent dcb710b774
commit f9d926554f
No known key found for this signature in database
GPG Key ID: 48BCF826EBFA4D17
5 changed files with 491 additions and 734 deletions

View File

@ -23,7 +23,7 @@ APP_LOAD_PARAMS=--appFlags 0x40 --path "44'/60'" --path "44'/61'" --curve secp25
APPVERSION_M=1
APPVERSION_N=0
APPVERSION_P=5
APPVERSION_P=8
APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)
#prepare hsm generation
@ -88,6 +88,7 @@ DEFINES += USB_SEGMENT_SIZE=64
DEFINES += BLE_SEGMENT_SIZE=32 #max MTU, min 20
DEFINES += U2F_MAX_MESSAGE_SIZE=264 #257+5+2
DEFINES += UNUSED\(x\)=\(void\)x
DEFINES += APPVERSION=\"$(APPVERSION)\"
##############
# Compiler #

BIN
glyphs/icon_dashboard.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
glyphs/icon_ethereum.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because it is too large Load Diff

View File

@ -96,7 +96,6 @@
* @{
*/
/**
* @}
*/
@ -158,7 +157,7 @@ const uint8_t const USBD_LangIDDesc[USB_LEN_LANGID_STR_DESC] = {
};
const uint8_t const USB_SERIAL_STRING[] = {
3 * 2 + 2, USB_DESC_TYPE_STRING, '0', 0, '.', 0, '1', 0,
4 * 2 + 2, USB_DESC_TYPE_STRING, '0', 0, '0', 0, '0', 0, '1', 0,
};
const uint8_t const USBD_MANUFACTURER_STRING[] = {