summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-13 05:35:20 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-13 05:35:20 +0000
commit9abd3166ec2655c70143337f477b44e4f7a06fb2 (patch)
tree1824e2e5782312320c1cb2fe2ed61fbe146fbb5d /MdePkg
parent30c00a1cfa4f2b66ca140498daa7d8794f30d5cb (diff)
downloadedk2-platforms-9abd3166ec2655c70143337f477b44e4f7a06fb2.tar.xz
Change CHAP_RADIUS_AUTH_NODE & CHAP_LOCAL_AUTH_NODE definition in AuthenticationInfo.h to align to the latest spec.
Signed-off-by: niruiyu Reviewed-by: tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12013 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/AuthenticationInfo.h58
1 files changed, 45 insertions, 13 deletions
diff --git a/MdePkg/Include/Protocol/AuthenticationInfo.h b/MdePkg/Include/Protocol/AuthenticationInfo.h
index 3530aabb90..a69423fe5b 100644
--- a/MdePkg/Include/Protocol/AuthenticationInfo.h
+++ b/MdePkg/Include/Protocol/AuthenticationInfo.h
@@ -66,9 +66,9 @@ typedef struct {
UINT8 NasIpAddr[16]; ///< IPv4 or IPv6 address.
///
- /// Network Access Server Secret Length in bytes (OPTIONAL)
+ /// Network Access Server Secret Length in bytes (OPTIONAL).
///
- UINT16 NasSecretLength;
+ UINT16 NasSecretLength;
///
/// Network Access Server Secret (OPTIONAL).
@@ -76,11 +76,11 @@ typedef struct {
UINT8 NasSecret[1];
///
- /// CHAP Initiator Secret length in bytes on offset NasSecret + NasSecretLength.
+ /// CHAP Initiator Secret Length in bytes on offset NasSecret + NasSecretLength.
///
/// UINT16 ChapSecretLength;
///
- /// CHAP Initiator Secret
+ /// CHAP Initiator Secret.
///
/// UINT8 ChapSecret[];
///
@@ -88,10 +88,26 @@ typedef struct {
///
/// UINT16 ChapNameLength;
///
- /// CHAP Initiator Name
+ /// CHAP Initiator Name.
///
/// UINT8 ChapName[];
///
+ /// Reverse CHAP Name Length in bytes on offset ChapName + ChapNameLength.
+ ///
+ /// UINT16 ReverseChapNameLength;
+ ///
+ /// Reverse CHAP Name.
+ ///
+ /// UINT8 ReverseChapName[];
+ ///
+ /// Reverse CHAP Secret Length in bytes on offseet ReverseChapName + ReverseChapNameLength.
+ ///
+ /// UINT16 ReverseChapSecretLength;
+ ///
+ /// Reverse CHAP Secret.
+ ///
+ /// UINT8 ReverseChapSecret[];
+ ///
} CHAP_RADIUS_AUTH_NODE;
typedef struct {
@@ -117,25 +133,41 @@ typedef struct {
///
/// UINT16 UserNameLength;
///
- /// User Name
+ /// User Name.
///
- /// UINT8 *UserName;
+ /// UINT8 UserName[];
///
- /// CHAP Initiator Secret length in bytes on offset UserName + UserNameLength
+ /// CHAP Initiator Secret Length in bytes on offset UserName + UserNameLength.
///
/// UINT16 ChapSecretLength;
///
- /// CHAP Initiator Secret
+ /// CHAP Initiator Secret.
///
- /// UINT8 *ChapSecret;
+ /// UINT8 ChapSecret[];
///
- /// CHAP Initiator Name Length in bytes on offset ChapSecret + ChapSecretLength
+ /// CHAP Initiator Name Length in bytes on offset ChapSecret + ChapSecretLength.
///
/// UINT16 ChapNameLength;
///
- /// CHAP Initiator Name
+ /// CHAP Initiator Name.
+ ///
+ /// UINT8 ChapName[];
+ ///
+ /// Reverse CHAP Name Length in bytes on offset ChapName + ChapNameLength.
+ ///
+ /// UINT16 ReverseChapNameLength;
+ ///
+ /// Reverse CHAP Name.
+ ///
+ /// UINT8 ReverseChapName[];
+ ///
+ /// Reverse CHAP Secret Length in bytes on offset ReverseChapName + ReverseChapNameLength.
+ ///
+ /// UINT16 ReverseChapSecretLength;
+ ///
+ /// Reverse CHAP Secret.
///
- /// UINT8 *ChapName;
+ /// UINT8 ReverseChapSecret[];
///
} CHAP_LOCAL_AUTH_NODE;
#pragma pack()