/*++\r
\r
-Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2008 - 2011, 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
EFI_STATUS\r
(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_GET) (\r
IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r
- IN EFI_HANDLE *ControllerHandle,\r
- OUT VOID *Buffer\r
+ IN EFI_HANDLE ControllerHandle,\r
+ OUT VOID **Buffer\r
);\r
/*++\r
\r
EFI_STATUS\r
(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_SET) (\r
IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r
- IN EFI_HANDLE *ControllerHandle,\r
+ IN EFI_HANDLE ControllerHandle,\r
IN VOID *Buffer\r
);\r
/*++\r
This protocol is used on any device handle to obtain authentication information \r
associated with the physical or logical device.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed and made available under \r
the terms and conditions of the BSD License that accompanies this distribution. \r
The full text of the license may be found at\r
\r
@param[in] This The pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.\r
@param[in] ControllerHandle The handle to the Controller.\r
- @param[out] Buffer The pointer to the authentication information.\r
+ @param[out] Buffer The pointer to the authentication information. This function is\r
+ responsible for allocating the buffer and it is the caller's\r
+ responsibility to free buffer when the caller is finished with buffer.\r
\r
@retval EFI_SUCCESS Successfully retrieved authentication information \r
for the given ControllerHandle.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_AUTHENTICATION_PROTOCOL_INFO_GET)(\r
+(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_GET)(\r
IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r
- IN EFI_HANDLE *ControllerHandle,\r
- OUT VOID *Buffer\r
+ IN EFI_HANDLE ControllerHandle,\r
+ OUT VOID **Buffer\r
);\r
\r
/**\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_AUTHENTICATION_PROTOCOL_INFO_SET)(\r
+(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_SET)(\r
IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r
- IN EFI_HANDLE *ControllerHandle,\r
+ IN EFI_HANDLE ControllerHandle,\r
IN VOID *Buffer\r
); \r
\r
/// information associated with the physical or logical device.\r
///\r
struct _EFI_AUTHENTICATION_INFO_PROTOCOL {\r
- EFI_AUTHENTICATION_PROTOCOL_INFO_GET Get;\r
- EFI_AUTHENTICATION_PROTOCOL_INFO_SET Set;\r
+ EFI_AUTHENTICATION_INFO_PROTOCOL_GET Get;\r
+ EFI_AUTHENTICATION_INFO_PROTOCOL_SET Set;\r
};\r
\r
extern EFI_GUID gEfiAuthenticationInfoProtocolGuid;\r