Hi Tomasz, On 02/06/2015 06:39 AM, Tomasz Bursztyka wrote: > Hi, > > Looks like we need to re-inject the keys to the master socket (the one which > is binded so the selected crypto) once before an operation type, so first encrypt > and/or first decrypt. > Now it seems to work. Should it handle an initialization vector? > > Tomasz Bursztyka (2): > cipher: Add a basic infrastructure for kernel based cipher operations > unit: Add unit test for the cipher infrastructure > > Makefile.am | 11 ++- > ell/cipher.c | 221 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > ell/cipher.h | 52 +++++++++++++ > ell/ell.h | 1 + > unit/test-cipher.c | 107 ++++++++++++++++++++++++++ > 5 files changed, 389 insertions(+), 3 deletions(-) > create mode 100644 ell/cipher.c > create mode 100644 ell/cipher.h > create mode 100644 unit/test-cipher.c > I went ahead and applied both patches, but I reworked the implementation afterward. I tried to explain the reasoning in the commit message, let me know if I succeeded :) Regards, -Denis