Branch: refs/heads/master
Home:
https://github.com/fabbione/kronosnet
Commit: c299b2a38556b2e5784971c68ae1714f37d669de
https://github.com/fabbione/kronosnet/commit/c299b2a38556b2e5784971c68ae171…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-05 (Sat, 05 Nov 2016)
Changed paths:
A poc-code/iov-enc/Makefile.am
A poc-code/iov-enc/main.c
Log Message:
-----------
Add libnss iovec PoC
this is a small modified version of the code example available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/nss_sample_co…
to show that it is possible to encrypt from multiple src buffers
into a final buffer.
this approach will allow us to remove a lot of memcpy around the
recv/send thread and replace them with iovec mapping all across.
Possible side effects:
- less memory consumption (mapping vs allocating)
- more complex code / crypto (internal) API changes