From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C9BE12B186 for ; Thu, 2 May 2019 11:43:32 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NfReYN0LHOdj for ; Thu, 2 May 2019 11:43:32 -0400 (EDT) Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 8499B2AE10 for ; Thu, 2 May 2019 11:43:32 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 0/2] swim crypto From: Vladislav Shpilevoy References: Message-ID: <28ab64aa-3d45-aeca-0209-5f0b29c6a4ea@tarantool.org> Date: Thu, 2 May 2019 18:43:28 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org Just a kind poke, that I still need your review here. On 29/04/2019 21:13, Vladislav Shpilevoy wrote: > Commits messages are quite descriptive so for details look at them. > > The patchset introduces encryption API for SWIM to be able to protect the > packets again various attacks. A user can specify encryption algorithm > (only AES 128 is supported now), and a private key. Public keys are generated > randomly for each packet. > > Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-crypto > Issue: https://github.com/tarantool/tarantool/issues/3234 > > Vladislav Shpilevoy (2): > swim: split send/recv into phases > swim: implement and expose transport-level encryption > > src/lib/swim/CMakeLists.txt | 2 +- > src/lib/swim/swim.c | 6 + > src/lib/swim/swim.h | 15 +++ > src/lib/swim/swim_ev.h | 2 + > src/lib/swim/swim_io.c | 258 ++++++++++++++++++++++++++++++------ > src/lib/swim/swim_io.h | 26 +++- > src/lib/swim/swim_proto.h | 5 + > test/unit/swim.c | 47 ++++++- > test/unit/swim.result | 9 +- > test/unit/swim_test_utils.c | 15 ++- > test/unit/swim_test_utils.h | 8 ++ > 11 files changed, 343 insertions(+), 50 deletions(-) > > -- > 2.20.1 (Apple Git-117) > >