3 ms·
The main disadvantage of this is that most encryption libraries don't support serializing their state.
by o11c 1y ago
The main disadvantage of this is that most encryption libraries don't support serializing their state.
- fao_ 1y agoEh, you could probably get away with it if you use BearSSL[0]. The only difficulty would be: These elements can be allocated anywhere in (writable) memory, e.g. heap, data segment or stack. They must not be moved while in use (they may contain pointers to each other and to themselves). Which you could probably get around with by just keeping track of offsets and using mmap [0]: https://www.bearssl.org/api1.html https://www.bearssl.org/api1.html