scsi: target: iscsi: tie the challenge length to the hash digest size
authorMaurizio Lombardi <mlombard@redhat.com>
Thu, 17 Oct 2019 13:10:36 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Nov 2019 05:13:24 +0000 (00:13 -0500)
commit19f5f88ed779180f16e236949e18389a0dca4aae
tree3eaf0f11fe05e4e7d02183a12f4c6e0d524f1780
parenta572d24af4d16e70743feb0b4decb17aaae7ce43
scsi: target: iscsi: tie the challenge length to the hash digest size

Link: https://lore.kernel.org/r/20191017131037.9903-3-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>
drivers/target/iscsi/iscsi_target_auth.c
drivers/target/iscsi/iscsi_target_auth.h