Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1364: Error codes not systematically checked in the implementation #443

Merged
merged 20 commits into from
Oct 26, 2023

Conversation

dmorais-ledger
Copy link
Contributor

@dmorais-ledger dmorais-ledger commented Oct 3, 2023

Fix issue #1364 about Error codes not systematically checked in the implementation

WARNING: Should be merged at the same time than corresponding PR on TTYT & bolos-ng:
https://git.donjon.ledger.fr/gitea/CI/toutouyoutest/pulls/192
https://git.donjon.ledger.fr/gitea/ledger-core/bolos-ng/pulls/2098

@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (b2ca981) 69.33% compared to head (e9f78c0) 69.33%.
Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #443   +/-   ##
=======================================
  Coverage   69.33%   69.33%           
=======================================
  Files          11       11           
  Lines         874      874           
=======================================
  Hits          606      606           
  Misses        268      268           
Flag Coverage Δ
unittests 69.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -71,7 +71,10 @@ cx_err_t cx_ripemd160_init_no_throw(cx_ripemd160_t *hash);
*/
static inline int cx_ripemd160_init(cx_ripemd160_t *hash)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should be DEPRECATED no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're certainly right, but its like that on master and its not the topic of this PR, so I leave this for some volunteer ;-)
(and I just checked, it is not called today - but its not a reason to not fix it and check for other prototypes in the same case)

@srasoamiaramanana-ledger
Copy link
Contributor

Let's keep in mind that these changes might cause a bunch of warnings when building apps.

- cx_bls12381_aggregate
- cx_cipher.h
- ox_aes.h
- ox_vss.h
- cx_blake2b.h
- cx_cmac.h
- cx_eddsa.h
- cx_hash.h
- cx_pbkdf2.h
- cx_poly1305.h
- cx_rng_rfc6979.h
- cx_rsa.h
- cx_blake2b.h
- cx_sha3.h
- cx_sha512.h
- lcx_aes_gcm.h
- lcx_blake2.h
- lcx_chacha.h
- lcx_chacha_poly.h
- lcx_cipher.h
- lcx_cmac.h
- lcx_ecdh.h
- lcx_ecdsa.h
- lcx_eddsa.h
- lcx_groestl.h
- lcx_math.h
- lcx_pbkdf2.h
- lcx_rsa.h
- lcx_sha256.h
- lcx_sha512.h
@dmorais-ledger dmorais-ledger merged commit 2b9e093 into master Oct 26, 2023
160 checks passed
@dmorais-ledger dmorais-ledger deleted the new_1364 branch October 26, 2023 13:03
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in lib_cxng
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in include/ox_*.h
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in lib_cxng
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in include/ox_*.h
@xchapron-ledger xchapron-ledger mentioned this pull request Dec 5, 2023
6 tasks
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in lib_cxng
xchapron-ledger pushed a commit that referenced this pull request Dec 5, 2023
This is an extract of
#443
which includes all the changes on .h files included in include/ox_*.h
@xchapron-ledger xchapron-ledger mentioned this pull request Dec 5, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants