Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [net-next v2 0/4] tipc: add more features to TIPC encryption
@ 2020-08-31  8:38 Tuong Lien
  2020-08-31  8:38 ` [net-next v2 1/4] tipc: optimize key switching time and logic Tuong Lien
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tuong Lien @ 2020-08-31  8:38 UTC (permalink / raw)
  To: davem, jmaloy, maloy, ying.xue, netdev; +Cc: tipc-discussion

This series adds some new features to TIPC encryption:

- Patch 1 ("tipc: optimize key switching time and logic") optimizes the
code and logic in preparation for the following commits.

- Patch 2 ("tipc: introduce encryption master key") introduces support
of 'master key' for authentication of new nodes and key exchange. A
master key can be set/changed by user via netlink (eg. using the same
'tipc node set key' command in iproute2/tipc).

- Patch 3 ("tipc: add automatic session key exchange") allows a session
key to be securely exchanged between nodes as needed.

- Patch 4 ("tipc: add automatic rekeying for encryption key") adds
automatic 'rekeying' of session keys a specific interval. The new key
will be distributed automatically to peer nodes, so become active then.
The rekeying interval is configurable via netlink as well.

v2: update the "tipc: add automatic session key exchange" patch to fix
"implicit declaration" issue when built without "CONFIG_TIPC_CRYPTO".

Tuong Lien (4):
  tipc: optimize key switching time and logic
  tipc: introduce encryption master key
  tipc: add automatic session key exchange
  tipc: add automatic rekeying for encryption key

 include/uapi/linux/tipc.h         |   2 +
 include/uapi/linux/tipc_netlink.h |   2 +
 net/tipc/crypto.c                 | 974 ++++++++++++++++++++++--------
 net/tipc/crypto.h                 |  41 +-
 net/tipc/link.c                   |   5 +
 net/tipc/msg.h                    |   8 +-
 net/tipc/netlink.c                |   2 +
 net/tipc/node.c                   |  91 ++-
 net/tipc/node.h                   |   2 +
 net/tipc/sysctl.c                 |   9 +
 10 files changed, 853 insertions(+), 283 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-02 19:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31  8:38 [net-next v2 0/4] tipc: add more features to TIPC encryption Tuong Lien
2020-08-31  8:38 ` [net-next v2 1/4] tipc: optimize key switching time and logic Tuong Lien
2020-09-01 22:10   ` David Miller
2020-09-02  6:16     ` Tuong Tong Lien
2020-09-02 19:49       ` David Miller
2020-08-31  8:38 ` [net-next v2 2/4] tipc: introduce encryption master key Tuong Lien
2020-08-31  8:38 ` [net-next v2 3/4] tipc: add automatic session key exchange Tuong Lien
2020-08-31  8:38 ` [net-next v2 4/4] tipc: add automatic rekeying for encryption key Tuong Lien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).