iscsi: chap: introduce support for SHA1, SHA256 and SHA3-256
Status from this message: Applied to 5.5/scsi-queue, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 2 repliesApplied
- v23 patches 2 repliesSuperseded
- v1 RFC4 patches 3 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target-iscsi: CHAP: add support to SHA1, SHA256 and SHA3-256 hash functionsdrivers/ drivers/ | +120 | 0 replies | |
| 2/3 | target-iscsi: tie the challenge length to the hash digest sizedrivers/ drivers/ | +28 | 0 replies | |
| 3/3 | target-iscsi: rename some variables to avoid confusion.drivers/ | +22 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Chris Leech |
|---|---|
| Series | T-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 0/3] iscsi: chap: introduce support for SHA1, SHA256 and SHA3-256
iSCSI with the Challenge-Handshake Authentication Protocol is not FIPS compliant. This is due to the fact that CHAP currently uses MD5 as the only supported digest algorithm and MD5 is not allowed by FIPS.
When FIPS mode is enabled on the target server, the CHAP authentication won't work because the target driver will be prevented from using the MD5 module.
Given that CHAP is agnostic regarding the algorithm it uses, this patchset introduce support for three new alternatives: SHA1, SHA256 and SHA3-256.
They all have their protocol identifiers assigned by IANA:
https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xml#ppp-numbers-9
Initiator-side code for open-iscsi has already been merged:
https://github.com/open-iscsi/open-iscsi/pull/170
V2: adds SHA256
V3: rebased on top of 5.5/scsi-queue
PATCH 3: renames initiatorchg_* variables to client_challenge_*
Maurizio Lombardi (3):
target-iscsi: CHAP: add support to SHA1, SHA256 and SHA3-256 hash
functions
target-iscsi: tie the challenge length to the hash digest size
target-iscsi: rename some variables to avoid confusion.
drivers/target/iscsi/iscsi_target_auth.c | 235 +++++++++++++++-------- drivers/target/iscsi/iscsi_target_auth.h | 17 +- 2 files changed, 163 insertions(+), 89 deletions(-)
Signature · 1 line
Maurizio Lombardi