2 Implementation for EFI_AUTHENTICATION_INFO_PROTOCOL. Currently it is a
5 Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include "IScsiImpl.h"
12 EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo
= {
13 IScsiGetAuthenticationInfo
,
14 IScsiSetAuthenticationInfo
18 Retrieves the authentication information associated with a particular controller handle.
20 @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
21 @param[in] ControllerHandle Handle to the Controller.
22 @param[out] Buffer Pointer to the authentication information. This function is
23 responsible for allocating the buffer and it is the caller's
24 responsibility to free buffer when the caller is finished with buffer.
26 @retval EFI_DEVICE_ERROR The authentication information could not be
27 retrieved due to a hardware error.
32 IScsiGetAuthenticationInfo (
33 IN EFI_AUTHENTICATION_INFO_PROTOCOL
*This
,
34 IN EFI_HANDLE ControllerHandle
,
38 return EFI_DEVICE_ERROR
;
42 Set the authentication information for a given controller handle.
44 @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
45 @param[in] ControllerHandle Handle to the Controller.
46 @param[in] Buffer Pointer to the authentication information.
48 @retval EFI_UNSUPPORTED If the platform policies do not allow setting of
49 the authentication information.
54 IScsiSetAuthenticationInfo (
55 IN EFI_AUTHENTICATION_INFO_PROTOCOL
*This
,
56 IN EFI_HANDLE ControllerHandle
,
60 return EFI_UNSUPPORTED
;