[tarantool-patches] [PATCH 0/2] swim crypto

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue May 14 00:57:13 MSK 2019


This patchset is a full duplicate of the previously sent version to help Kostja
to review it.

Note, that these two commits are going to be kept even if lib/crypto will be
totally refactored after Georgy review. Probably a third one will be added to
support arbitrary encryption algorithms and make packet size dynamic.

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         |  12 ++
 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, 349 insertions(+), 50 deletions(-)

-- 
2.20.1 (Apple Git-117)





More information about the Tarantool-patches mailing list