Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Mudusuru Giri P <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17049
6f19259b-4bc3-4df7-8a09-
765794883524
/** @file\r
The implementation for Ping6 application.\r
\r
/** @file\r
The implementation for Ping6 application.\r
\r
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
CONST CHAR16 *mIp6SrcString;\r
UINT64 mFrequency = 0;\r
/**\r
CONST CHAR16 *mIp6SrcString;\r
UINT64 mFrequency = 0;\r
/**\r
- Get and caculate the frequency in tick/ms.\r
+ Get and calculate the frequency in tick/ms.\r
The result is saved in the globle variable mFrequency\r
\r
The result is saved in the globle variable mFrequency\r
\r
- @retval EFI_SUCCESS Caculated the frequency successfully.\r
- @retval Others Failed to caculate the frequency.\r
+ @retval EFI_SUCCESS Calculated the frequency successfully.\r
+ @retval Others Failed to calculate the frequency.\r
- Get and caculate the duration in ms.\r
+ Get and calculate the duration in ms.\r
\r
@param[in] Begin The start point of time.\r
@param[in] End The end point of time.\r
\r
@param[in] Begin The start point of time.\r
@param[in] End The end point of time.\r
/** @file\r
This file is for Challenge-Handshake Authentication Protocol (CHAP) Configuration.\r
\r
/** @file\r
This file is for Challenge-Handshake Authentication Protocol (CHAP) Configuration.\r
\r
-Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include "IScsiImpl.h"\r
\r
/**\r
#include "IScsiImpl.h"\r
\r
/**\r
- Initator caculates its own expected hash value.\r
+ Initator calculates its own expected hash value.\r
\r
@param[in] ChapIdentifier iSCSI CHAP identifier sent by authenticator.\r
@param[in] ChapSecret iSCSI CHAP secret of the authenticator.\r
\r
@param[in] ChapIdentifier iSCSI CHAP identifier sent by authenticator.\r
@param[in] ChapSecret iSCSI CHAP secret of the authenticator.\r
@param[in] ChallengeLength The length of iSCSI CHAP challenge message.\r
@param[out] ChapResponse The calculation of the expected hash value.\r
\r
@param[in] ChallengeLength The length of iSCSI CHAP challenge message.\r
@param[out] ChapResponse The calculation of the expected hash value.\r
\r
- @retval EFI_SUCCESS The expected hash value was caculatedly successfully.\r
+ @retval EFI_SUCCESS The expected hash value was calculatedly successfully.\r
@retval EFI_PROTOCOL_ERROR The length of the secret should be at least the\r
length of the hash value for the hashing algorithm chosen.\r
@retval EFI_PROTOCOL_ERROR MD5 hash operation fail.\r
@retval EFI_PROTOCOL_ERROR The length of the secret should be at least the\r
length of the hash value for the hashing algorithm chosen.\r
@retval EFI_PROTOCOL_ERROR MD5 hash operation fail.\r
/** @file\r
The internal functions and routines to transmit the IP6 packet.\r
\r
/** @file\r
The internal functions and routines to transmit the IP6 packet.\r
\r
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
- Caculate how many bits are the same between two IPv6 addresses.\r
+ Calculate how many bits are the same between two IPv6 addresses.\r
\r
@param[in] AddressA Points to an IPv6 address.\r
@param[in] AddressB Points to another IPv6 address.\r
\r
@param[in] AddressA Points to an IPv6 address.\r
@param[in] AddressB Points to another IPv6 address.\r
/** @file\r
The implementation of Payloads Creation.\r
\r
/** @file\r
The implementation of Payloads Creation.\r
\r
- Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
//\r
TotalTransforms = 0;\r
//\r
//\r
TotalTransforms = 0;\r
//\r
- // Caculate the Proposal numbers and Transform numbers.\r
+ // Calculate the Proposal numbers and Transform numbers.\r
//\r
for (ProposalIndex = 0; ProposalIndex < SaData->NumProposals; ProposalIndex++) {\r
\r
//\r
for (ProposalIndex = 0; ProposalIndex < SaData->NumProposals; ProposalIndex++) {\r
\r
Proposal = (IKEV2_PROPOSAL *)((IKEV2_SA *)(Sa)+1);\r
\r
//\r
Proposal = (IKEV2_PROPOSAL *)((IKEV2_SA *)(Sa)+1);\r
\r
//\r
- // Caculate the number of Proposal payload and the total numbers of\r
+ // Calculate the number of Proposal payload and the total numbers of\r
// Transforms payload (the transforms in all proposal payload).\r
//\r
while (SaRemaining > sizeof (IKEV2_PROPOSAL)) {\r
// Transforms payload (the transforms in all proposal payload).\r
//\r
while (SaRemaining > sizeof (IKEV2_PROPOSAL)) {\r