/** @file\r
Common operation of the IKE.\r
\r
- Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2010 - 2018, 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
#include <Protocol/Udp4.h>\r
#include <Protocol/Udp6.h>\r
#include <Protocol/Ip4Config2.h>\r
- \r
+\r
#include <Library/BaseLib.h>\r
#include <Library/BaseMemoryLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
\r
/**\r
Call Crypto Lib to generate a random value with eight-octet length.\r
- \r
+\r
@return the 64 byte vaule.\r
\r
**/\r
Generate the random data for Nonce payload.\r
\r
@param[in] NonceSize Size of the data in bytes.\r
- \r
- @return Buffer which contains the random data of the spcified size. \r
+\r
+ @return Buffer which contains the random data of the spcified size.\r
\r
**/\r
UINT8 *\r
\r
/**\r
Generate an new SPI.\r
- \r
- @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA \r
+\r
+ @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA\r
Session.\r
- @param[in, out] SpiValue Pointer to the new generated SPI value. \r
- \r
+ @param[in, out] SpiValue Pointer to the new generated SPI value.\r
+\r
@retval EFI_SUCCESS The operation performs successfully.\r
@retval Otherwise The operation is failed.\r
\r