Skip to content

Commit

Permalink
Merge pull request #150 from Zondax/updates
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala authored Jun 30, 2022
2 parents 539435c + bdec244 commit 96841b2
Show file tree
Hide file tree
Showing 18 changed files with 129 additions and 492 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- develop

jobs:
configure:
Expand Down Expand Up @@ -55,4 +56,5 @@ jobs:

- name: Tag exists
if: ${{ steps.checkTag.outputs.exists == 'true' }}
run: exit 1
run: exit 1

8 changes: 6 additions & 2 deletions .github/workflows/ledger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
branches:
- main
- develop
pull_request:
branches: [main]
branches:
- main
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
7 changes: 3 additions & 4 deletions app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ all: bin/app.elf
@echo "APPNAME=\"${APPNAME}\"" >> $(OUTPUT_INSTALLER)
@echo "APPVERSION=\"${APPVERSION}\"" >> $(OUTPUT_INSTALLER)
@echo "APPPATH=\""${APPPATH}"\"" >> $(OUTPUT_INSTALLER)
@echo "LOAD_PARAMS=\"${APP_LOAD_PARAMS}\"" >> $(OUTPUT_INSTALLER)
@echo "DELETE_PARAMS=\"${APP_DELETE_PARAMS}\"" >> $(OUTPUT_INSTALLER)
@echo "LOAD_PARAMS=($$(echo "${APP_LOAD_PARAMS}" | sed -e "s|"${APPNAME}"|\""${APPNAME}"\"|"))" >> $(OUTPUT_INSTALLER)
@echo "DELETE_PARAMS=($$(echo "${COMMON_DELETE_PARAMS}" | sed -e "s|"${APPNAME}"|\""${APPNAME}"\"|"))" >> $(OUTPUT_INSTALLER)
@echo "APPHEX=\"" >> $(OUTPUT_INSTALLER)
@cat $(CURDIR)/bin/app.hex >> $(OUTPUT_INSTALLER)
@echo "\"" >> $(OUTPUT_INSTALLER)
Expand Down Expand Up @@ -95,8 +95,7 @@ endef
$(error "$(error_message)")
endif

APP_LOAD_PARAMS = --curve ed25519 --delete $(COMMON_LOAD_PARAMS) --path $(APPPATH)
APP_DELETE_PARAMS = $(COMMON_DELETE_PARAMS)
APP_LOAD_PARAMS = --curve ed25519 $(COMMON_LOAD_PARAMS) --path $(APPPATH)

ifeq ($(TARGET_NAME),TARGET_NANOS)
APP_LOAD_PARAMS += --appFlags 0x000
Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=12
# This is the `spec_version` field of `Runtime`
APPVERSION_N=9230
# This is the patch version of this release
APPVERSION_P=0
APPVERSION_P=1
96 changes: 51 additions & 45 deletions app/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deps/ledger-zxlib
2 changes: 1 addition & 1 deletion deps/nanosplus-secure-sdk
Submodule nanosplus-secure-sdk updated 72 files
+3 −0 Makefile.conf.cx
+0 −338 icon.py
+42 −2 include/bagl.h
+1 −1 include/bolos_version.h
+2 −3 include/cx_errors.h
+103 −98 include/cx_stubs.h
+19 −0 include/decorators.h
+4 −1 include/errors.h
+2 −1 include/exceptions.h
+8 −4 include/os_id.h
+0 −5 include/os_nvm.h
+12 −4 include/os_seed.h
+4 −9 include/os_ux.h
+5 −7 include/ox_aes.h
+85 −66 include/ox_bn.h
+1 −1 include/ox_crc.h
+6 −7 include/ox_des.h
+67 −61 include/ox_ec.h
+1 −1 include/ox_rng.h
+6 −1 include/syscalls.h
+245 −176 lib_bagl/src/bagl.c
+379 −667 lib_bagl/src/bagl_font_open_sans_extrabold_11px.inc
+118 −0 lib_bagl/src/bagl_font_open_sans_extrabold_11px_unicode.inc
+478 −766 lib_bagl/src/bagl_font_open_sans_light_16px.inc
+137 −0 lib_bagl/src/bagl_font_open_sans_light_16px_unicode.inc
+372 −660 lib_bagl/src/bagl_font_open_sans_regular_11px.inc
+114 −0 lib_bagl/src/bagl_font_open_sans_regular_11px_unicode.inc
+6 −0 lib_bagl/src/bagl_font_rom.inc
+13 −5 lib_bagl/src/bagl_font_unicode_rom_struct.inc
+11 −1 lib_bagl/src/bagl_fonts.c
+5 −0 lib_cxng/cx.export
+69 −27 lib_cxng/include/lcx_aead.h
+20 −11 lib_cxng/include/lcx_aes.h
+10 −4 lib_cxng/include/lcx_blake2.h
+4 −4 lib_cxng/include/lcx_blake3.h
+157 −0 lib_cxng/include/lcx_chacha.h
+51 −0 lib_cxng/include/lcx_chacha_poly.h
+2 −2 lib_cxng/include/lcx_common.h
+2 −2 lib_cxng/include/lcx_crc.h
+25 −13 lib_cxng/include/lcx_des.h
+8 −4 lib_cxng/include/lcx_ecdh.h
+14 −9 lib_cxng/include/lcx_ecdsa.h
+65 −34 lib_cxng/include/lcx_ecfp.h
+10 −5 lib_cxng/include/lcx_ecschnorr.h
+19 −16 lib_cxng/include/lcx_eddsa.h
+8 −8 lib_cxng/include/lcx_groestl.h
+16 −13 lib_cxng/include/lcx_hash.h
+38 −25 lib_cxng/include/lcx_hmac.h
+94 −47 lib_cxng/include/lcx_math.h
+9 −6 lib_cxng/include/lcx_pbkdf2.h
+54 −0 lib_cxng/include/lcx_poly1305.h
+3 −3 lib_cxng/include/lcx_ripemd160.h
+9 −7 lib_cxng/include/lcx_rng.h
+44 −24 lib_cxng/include/lcx_rsa.h
+12 −4 lib_cxng/include/lcx_sha256.h
+27 −12 lib_cxng/include/lcx_sha3.h
+5 −5 lib_cxng/include/lcx_sha512.h
+4 −0 lib_cxng/include/libcxng.h
+5 −5 lib_cxng/src/cx_aes_gcm.h
+77 −0 lib_cxng/src/cx_chacha_poly.h
+5 −0 lib_cxng/src/cx_exported_functions.c
+116 −0 lib_cxng/src/cx_poly1305.h
+10 −0 lib_cxng/src/cx_ram.h
+11 −0 lib_cxng/src/cx_utils.c
+5 −0 lib_cxng/src/cx_utils.h
+5 −0 lib_stusb/usbd_conf.h
+1 −1 lib_ux/src/ux_layout_paging_compute.c
+5 −0 src/cx_stubs.S
+24 −8 src/os_io_seproxyhal.c
+3 −2 src/os_printf.c
+1 −1 src/pic.c
+22 −7 src/syscalls.c
Loading

0 comments on commit 96841b2

Please sign in to comment.