diff options
| author | Maurizio Lombardi <[email protected]> | 2019-10-28 13:38:20 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-06 00:11:35 -0500 |
| commit | a572d24af4d16e70743feb0b4decb17aaae7ce43 (patch) | |
| tree | a0a91f8f6724047553110c4c427c9ceb42133a29 /tools/perf/scripts/python | |
| parent | f6b8540f40201bff91062dd64db8e29e4ddaaa9d (diff) | |
scsi: target: iscsi: CHAP: add support for SHA1, SHA256 and SHA3-256
This patch modifies the chap_server_compute_hash() function to make it
agnostic to the choice of hash algorithm that is used. It also adds
support to three new hash algorithms: SHA1, SHA256 and SHA3-256.
The chap_got_response() function has been removed because the digest type
validity is already checked by chap_server_open()
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maurizio Lombardi <[email protected]>
Tested-by: Chris Leech <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions