summaryrefslogtreecommitdiff
path: root/usr/auth.h
diff options
context:
space:
mode:
authorChris Leech <cleech@redhat.com>2019-09-27 10:03:12 -0700
committerChris Leech <cleech@redhat.com>2019-10-07 15:14:30 -0700
commit15cb472b0e0a9fc678eaf4546baa275245bda4dd (patch)
treefb8ce08c643d62879c9404f13084478ddf9876ff /usr/auth.h
parent155cc45b25f29c08041c4d04646ed53c9e33f0f3 (diff)
downloadopen-iscsi-chap-fips-experimental.tar.gz
Diffstat (limited to 'usr/auth.h')
-rw-r--r--usr/auth.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/auth.h b/usr/auth.h
index d36163c..f6dbbe4 100644
--- a/usr/auth.h
+++ b/usr/auth.h
@@ -31,6 +31,7 @@ enum {
ACL_SIGNATURE = 0x5984B2E3,
AUTH_CHAP_MD5_RSP_LEN = 16,
AUTH_CHAP_SHA1_RSP_LEN = 20,
+ AUTH_CHAP_SHA256_RSP_LEN = 32,
AUTH_CHAP_SHA3_256_RSP_LEN = 32,
AUTH_CHAP_RSP_MAX = 32,
};
@@ -65,8 +66,9 @@ enum {
AUTH_CHAP_ALG_MD5 = 5,
AUTH_CHAP_ALG_SHA1 = 6,
- AUTH_CHAP_ALG_SHA3_256 = 7,
- AUTH_CHAP_ALG_MAX_COUNT = 4
+ AUTH_CHAP_ALG_SHA256 = 7,
+ AUTH_CHAP_ALG_SHA3_256 = 8,
+ AUTH_CHAP_ALG_MAX_COUNT = 5
};
enum auth_neg_role {