Closed promovicz closed 7 years ago
I would of course love your comments on this patch and an indication on whether you would merge it once completed.
Hello,
Without looking to deeply I'd say that yes, we'd welcome a change like this. Let us know when you believe it's ready to be reviewed and merged.
/klas
@promovicz Is this abandoned?
Apparently someone else gave it a shot (8f7353dc)
WORK IN PROGRESS! DO NOT MERGE YET!
The OpenPGP applet currently uses two large buffers, "tmp" and "buffer". The total RAM usage of the applet makes it impossible to install and use it on most common JavaCard models. More specifically only a few JCOP cards have enough memory to run the applet.
After some research I found that "tmp" can be eliminated entirely. This patch series is a work in progress to eliminate it entirely, which in itself is working on my branch.
The "tmp" buffer is used in four places:
My plan is to add additional size checks for added safety.