Skip to content

wip-crypto

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15libceph: ceph_x_encrypt_buflen() takes in_lennet/ceph/auth_x.c+4 -30 replies
2/15libceph: old_key in process_one_ticket() is redundantnet/ceph/auth_x.c+1 -30 replies
3/15libceph: introduce ceph_x_encrypt_offset()net/ceph/auth_x.c+6 -20 replies
4/15libceph: introduce ceph_crypt() for in-place en/decryptionnet/ceph/crypto.c net/ceph/crypto.h+89 -02 replies
5/15libceph: rename and align ceph_x_authorizer::reply_bufnet/ceph/auth_x.c net/ceph/auth_x.h+7 -60 replies
6/15libceph: tweak calcu_signature() a littlenet/ceph/auth_x.c+28 -150 replies
7/15libceph: switch ceph_x_encrypt() to ceph_crypt()net/ceph/auth_x.c+37 -340 replies
8/15libceph: switch ceph_x_decrypt() to ceph_crypt()net/ceph/auth_x.c+32 -460 replies
9/15libceph: remove now unused ceph_*{en,de}crypt*() functionsnet/ceph/crypto.c net/ceph/crypto.h+0 -3830 replies
10/15libceph: uninline ceph_crypto_key_destroy()net/ceph/crypto.c net/ceph/crypto.h+9 -80 replies
11/15libceph: stop allocating a new cipher on every crypto requestnet/ceph/crypto.c net/ceph/crypto.h+61 -250 replies
12/15libceph: no need for GFP_NOFS in ceph_monc_init()net/ceph/mon_client.c+6 -60 replies
13/15libceph: verify authorize reply on connectnet/ceph/messenger.c+13 -00 replies
14/15libceph: drop len argument of *verify_authorizer_reply()fs/ceph/mds_client.c include/linux/ceph/auth.h include/linux/ceph/messenger.h +4 more+11 -120 replies
15/15libceph: no need to drop con->mutex for ->get_authorizer()net/ceph/messenger.c+0 -60 replies

Reviews trailers per patch

None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSage Weil
SeriesR-b
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] wip-crypto

Hello,

This branch started as a rewrite of ceph_*{en,de}crypt*() functions to cope with the new CONFIG_VMAP_STACK config option, but later expanded to include fixes for two other issues:

- in-place en/decryption (patches 1-9)
- useless cipher context creation on every request (patches 10-11)
- authorize reply verification (patches 13-14)

Thanks,

Ilya

Ilya Dryomov (15):
libceph: ceph_x_encrypt_buflen() takes in_len
libceph: old_key in process_one_ticket() is redundant
libceph: introduce ceph_x_encrypt_offset()
libceph: introduce ceph_crypt() for in-place en/decryption
libceph: rename and align ceph_x_authorizer::reply_buf
libceph: tweak calcu_signature() a little
libceph: switch ceph_x_encrypt() to ceph_crypt()
libceph: switch ceph_x_decrypt() to ceph_crypt()
libceph: remove now unused ceph_*{en,de}crypt*() functions
libceph: uninline ceph_crypto_key_destroy()
libceph: stop allocating a new cipher on every crypto request
libceph: no need for GFP_NOFS in ceph_monc_init()
libceph: verify authorize reply on connect
libceph: drop len argument of *verify_authorizer_reply()
libceph: no need to drop con->mutex for ->get_authorizer()

 fs/ceph/mds_client.c           |   4 +-
 include/linux/ceph/auth.h      |   5 +-
 include/linux/ceph/messenger.h |   2 +-
 net/ceph/auth.c                |   4 +-
 net/ceph/auth_x.c              | 197 +++++++++---------
 net/ceph/auth_x.h              |   3 +-
 net/ceph/crypto.c              | 461 ++++++++++-------------------------------
 net/ceph/crypto.h              |  26 +--
 net/ceph/messenger.c           |  19 +-
 net/ceph/mon_client.c          |  12 +-
 net/ceph/osd_client.c          |   4 +-
 11 files changed, 246 insertions(+), 491 deletions(-)
Signature · 1 line
2.4.3