]>
Commit | Line | Data |
---|---|---|
4c5a5e0c | 1 | /** @file\r |
2 | Implementation for EFI_AUTHENTICATION_INFO_PROTOCOL. Currently it is a\r | |
3 | dummy support.\r | |
4 | \r | |
5 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #include "IScsiImpl.h"\r | |
17 | \r | |
18 | EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo = {\r | |
19 | IScsiGetAuthenticationInfo,\r | |
20 | IScsiSetAuthenticationInfo\r | |
21 | };\r | |
22 | \r | |
23 | /**\r | |
24 | Retrieves the authentication information associated with a particular controller handle.\r | |
25 | \r | |
26 | @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.\r | |
27 | @param[in] ControllerHandle Handle to the Controller.\r | |
28 | @param[out] Buffer Pointer to the authentication information. This function is\r | |
29 | responsible for allocating the buffer and it is the caller's\r | |
30 | responsibility to free buffer when the caller is finished with buffer.\r | |
31 | \r | |
32 | @retval EFI_DEVICE_ERROR The authentication information could not be\r | |
33 | retrieved due to a hardware error.\r | |
34 | \r | |
35 | **/\r | |
36 | EFI_STATUS\r | |
37 | EFIAPI\r | |
38 | IScsiGetAuthenticationInfo (\r | |
39 | IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r | |
40 | IN EFI_HANDLE ControllerHandle,\r | |
41 | OUT VOID **Buffer\r | |
42 | )\r | |
43 | {\r | |
44 | return EFI_DEVICE_ERROR;\r | |
45 | }\r | |
46 | \r | |
47 | /**\r | |
48 | Set the authentication information for a given controller handle.\r | |
49 | \r | |
50 | @param[in] This Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.\r | |
51 | @param[in] ControllerHandle Handle to the Controller.\r | |
52 | @param[in] Buffer Pointer to the authentication information.\r | |
53 | \r | |
54 | @retval EFI_UNSUPPORTED If the platform policies do not allow setting of\r | |
55 | the authentication information.\r | |
56 | \r | |
57 | **/\r | |
58 | EFI_STATUS\r | |
59 | EFIAPI\r | |
60 | IScsiSetAuthenticationInfo (\r | |
61 | IN EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r | |
62 | IN EFI_HANDLE ControllerHandle,\r | |
63 | IN VOID *Buffer\r | |
64 | )\r | |
65 | {\r | |
66 | return EFI_UNSUPPORTED;\r | |
67 | }\r |