VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/IScsiDxe/IScsiAuthenticationInfo.c@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1/** @file
2 Implementation for EFI_AUTHENTICATION_INFO_PROTOCOL. Currently it is a
3 dummy support.
4
5Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include "IScsiImpl.h"
11
12EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo = {
13 IScsiGetAuthenticationInfo,
14 IScsiSetAuthenticationInfo
15};
16
17/**
18 Retrieves the authentication information associated with a particular controller handle.
19
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.
25
26 @retval EFI_DEVICE_ERROR The authentication information could not be
27 retrieved due to a hardware error.
28
29**/
30EFI_STATUS
31EFIAPI
32IScsiGetAuthenticationInfo (
33 IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,
34 IN EFI_HANDLE ControllerHandle,
35 OUT VOID **Buffer
36 )
37{
38 return EFI_DEVICE_ERROR;
39}
40
41/**
42 Set the authentication information for a given controller handle.
43
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.
47
48 @retval EFI_UNSUPPORTED If the platform policies do not allow setting of
49 the authentication information.
50
51**/
52EFI_STATUS
53EFIAPI
54IScsiSetAuthenticationInfo (
55 IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,
56 IN EFI_HANDLE ControllerHandle,
57 IN VOID *Buffer
58 )
59{
60 return EFI_UNSUPPORTED;
61}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette