aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2020-09-03 13:31:10 -0400
committerIlya Dryomov <[email protected]>2023-08-24 11:24:35 +0200
commit79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd (patch)
treea838ae257469f7b6ca9d71aea662aefc5b36a831 /drivers/platform/surface/aggregator/ssh_parser.c
parentaf9ffa6df7e337599ce41165d9e6166a330c7b96 (diff)
ceph: create symlinks with encrypted and base64-encoded targets
When creating symlinks in encrypted directories, encrypt and base64-encode the target with the new inode's key before sending to the MDS. When filling a symlinked inode, base64-decode it into a buffer that we'll keep in ci->i_symlink. When get_link is called, decrypt the buffer into a new one that will hang off i_link. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Reviewed-and-tested-by: Luís Henriques <[email protected]> Reviewed-by: Milind Changire <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions