summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2019-10-28 15:38:20 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-06 08:11:35 +0300
commita572d24af4d16e70743feb0b4decb17aaae7ce43 (patch)
treea0a91f8f6724047553110c4c427c9ceb42133a29 /drivers/fpga/fpga-bridge.c
parentf6b8540f40201bff91062dd64db8e29e4ddaaa9d (diff)
downloadlinux-a572d24af4d16e70743feb0b4decb17aaae7ce43.tar.xz
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/20191028123822.5864-2-mlombard@redhat.com Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Tested-by: Chris Leech <cleech@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions