Hacker News new | past | comments | ask | show | jobs | submit login

Does TLS require lots of RAM? Surely just keeping a 16 byte key in RAM is all that's needed once the connection is established?

I imagine establishing the connection requires more RAM, but thats an event that can just use stack space, freeing it all up again when the connection is established. (assuming nothing async).




No ROM on these chips so RAM is both code and data


How much of that code has to be resident in SRAM or XIP cache once a session key has been established to handle the common TLS record types? Is it feasible to execute the whole TLS session setup code either in place from serial flash or at least copy it to SRAM on demand allowing the application to use more SRAM once a session has been established?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: