diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2024-09-26 19:46:16 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-09-27 01:15:19 +0200 |
commit | 220d83b52c7d16ec3c168b82f4e6ce59c645f7ab (patch) | |
tree | eec846177fdd5b3e10712ee3606c90ff337d3c89 /kernel/softirq.c | |
parent | smb: client: make HMAC-MD5 TFM ephemeral (diff) | |
download | linux-220d83b52c7d16ec3c168b82f4e6ce59c645f7ab.tar.xz linux-220d83b52c7d16ec3c168b82f4e6ce59c645f7ab.zip |
smb: client: make SHA-512 TFM ephemeral
The SHA-512 shash TFM is used only briefly during Session Setup stage,
when computing SMB 3.1.1 preauth hash.
There's no need to keep it allocated in servers' secmech the whole time,
so keep its lifetime inside smb311_update_preauth_hash().
This also makes smb311_crypto_shash_allocate() redundant, so expose
smb3_crypto_shash_allocate() and use that.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions