Alexandre Paillier
|
54fe26a301
|
Extracted the context initialization from the main source file
|
2022-08-05 17:52:29 +02:00 |
|
Alexandre Paillier
|
5889da054e
|
Extracted the encodeType and typeHash functions from the main file
|
2022-08-05 17:52:28 +02:00 |
|
Alexandre Paillier
|
e3dfd787b5
|
Memory allocation checking
|
2022-08-05 17:52:28 +02:00 |
|
Alexandre Paillier
|
16081c38a9
|
Added some memory related debug features
|
2022-08-05 17:52:28 +02:00 |
|
Alexandre Paillier
|
59490beff9
|
Small type-enforcing refactoring + now properly gets typestrings
|
2022-08-05 17:52:27 +02:00 |
|
Alexandre Paillier
|
e57bc93c69
|
Fix stack overflow with long APDUs
|
2022-08-05 17:52:27 +02:00 |
|
Alexandre Paillier
|
161919c012
|
Simpler computing the string's length in memory
|
2022-08-05 17:52:26 +02:00 |
|
Alexandre Paillier
|
420afdf958
|
Small function to make formatting into memory of uint easier
|
2022-08-05 17:52:26 +02:00 |
|
Alexandre Paillier
|
e3a8e4ccd2
|
Big Refactoring
- moved some things in header files
- now uses memory allocation functions with automatic checks, small abstraction layer
|
2022-08-05 17:52:26 +02:00 |
|
Alexandre Paillier
|
5438b39eb2
|
Fixes the index overflow, since header + data could be longer than 0xFF
|
2022-08-05 17:52:25 +02:00 |
|
Alexandre Paillier
|
63f454b29a
|
Fixed ram usage message
|
2022-08-05 17:52:24 +02:00 |
|
Alexandre Paillier
|
024691eb64
|
Fix warning in release mode
|
2022-08-05 17:52:24 +02:00 |
|
Alexandre Paillier
|
545bc439fe
|
Better implementation of enum(s)->typename memory structure
|
2022-08-05 17:52:24 +02:00 |
|
Alexandre Paillier
|
c3dc0c18ff
|
Refactoring; added some utility functions to navigate the type definitions
|
2022-08-05 17:52:23 +02:00 |
|
Alexandre Paillier
|
3b6c32d707
|
Updated C code with new array handling
|
2022-08-05 17:52:23 +02:00 |
|
Alexandre Paillier
|
1bc8675473
|
Initial version
|
2022-08-05 17:52:22 +02:00 |
|