Add support for CHAP with SHA-256

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2025-01-04 09:09:02 +10:00
parent 95a0d98cfd
commit 34e83f7dbd
6 changed files with 648 additions and 4 deletions

View File

@@ -186,8 +186,8 @@ iscsi_set_initial_r2t(struct iscsi_context *iscsi, enum iscsi_initial_r2t initia
enum iscsi_chap_auth {
ISCSI_CHAP_MD5 = 5,
ISCSI_CHAP_SHA_1 = 6,
#if 0
ISCSI_CHAP_SHA_256 = 7,
#if 0
ISCSI_CHAP_SHA3_256 = 8,
#endif
};