Cc: Bi Dandan <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <[email protected]>
---
NetworkPkg/IpSecDxe/IkeCommon.c | 10 +++++-----
NetworkPkg/IpSecDxe/IkeCommon.h | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/NetworkPkg/IpSecDxe/IkeCommon.c b/NetworkPkg/IpSecDxe/IkeCommon.c
index b1e4321..c5fbfab 100644
--- a/NetworkPkg/IpSecDxe/IkeCommon.c
+++ b/NetworkPkg/IpSecDxe/IkeCommon.c
@@ -199,22 +199,22 @@ IkePayloadFree (
}
/**
Generate an new SPI.
- @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this
Child SA
- Session.
- @param[in out] SpiValue Pointer to the new generated SPI value.
+ @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this
Child SA
+ Session.
+ @param[in, out] SpiValue Pointer to the new generated SPI value.
@retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
EFI_STATUS
IkeGenerateSpi (
- IN IKEV2_SA_SESSION *IkeSaSession,
- OUT UINT32 *SpiValue
+ IN IKEV2_SA_SESSION *IkeSaSession,
+ IN OUT UINT32 *SpiValue
)
{
EFI_STATUS Status;
Status = EFI_SUCCESS;
diff --git a/NetworkPkg/IpSecDxe/IkeCommon.h b/NetworkPkg/IpSecDxe/IkeCommon.h
index 7f7fd4d..eb7e913 100644
--- a/NetworkPkg/IpSecDxe/IkeCommon.h
+++ b/NetworkPkg/IpSecDxe/IkeCommon.h
@@ -130,22 +130,22 @@ IkePayloadFree (
);
/**
Generate an new SPI.
- @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this
Child SA
- Session.
- @param[in out] SpiValue Pointer to the new generated SPI value.
+ @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this
Child SA
+ Session.
+ @param[in, out] SpiValue Pointer to the new generated SPI value.
@retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
EFI_STATUS
IkeGenerateSpi (
- IN IKEV2_SA_SESSION *IkeSaSession,
- OUT UINT32 *SpiValue
+ IN IKEV2_SA_SESSION *IkeSaSession,
+ IN OUT UINT32 *SpiValue
);
/**
Generate a random data for IV
--
1.9.5.msysgit.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel