Zondax / ledger-tezos

Apache License 2.0
8 stars 5 forks source link

Payload buffering and swapping #21

Closed jleni closed 3 years ago

jleni commented 3 years ago

We should port the functionality that exist in buffering.c to rust.

What we are looking for:

This buffering object should be able to provide a non-mutable slice to other application objects.

References:

ghost commented 3 years ago

Looking at ledger's code we might need to provide PIC functionality first before being able to do this, unless we want to plug that in later afterwards, but I'm not entirely sure if that's feasible, with the emulator and all...


Ah but we have a rudimentary pic present in the bolos module...

jleni commented 3 years ago

Yes, that PIC function has been used by us already in other places. It works well

ghost commented 3 years ago

TODO: add Zemu test for INS_DEV_HASH