TianoCore EDK2 master
Loading...
Searching...
No Matches
IScsiAuthenticationInfo.c File Reference
#include "IScsiImpl.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI IScsiGetAuthenticationInfo (IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, OUT VOID **Buffer)
 
EFI_STATUS EFIAPI IScsiSetAuthenticationInfo (IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN VOID *Buffer)
 

Variables

EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo
 

Detailed Description

Implementation for EFI_AUTHENTICATION_INFO_PROTOCOL. Currently it is a dummy support.

Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file IScsiAuthenticationInfo.c.

Function Documentation

◆ IScsiGetAuthenticationInfo()

EFI_STATUS EFIAPI IScsiGetAuthenticationInfo ( IN EFI_AUTHENTICATION_INFO_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
OUT VOID **  Buffer 
)

Retrieves the authentication information associated with a particular controller handle.

Parameters
[in]ThisPointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
[in]ControllerHandleHandle to the Controller.
[out]BufferPointer to the authentication information. This function is responsible for allocating the buffer and it is the caller's responsibility to free buffer when the caller is finished with buffer.
Return values
EFI_DEVICE_ERRORThe authentication information could not be retrieved due to a hardware error.

Definition at line 32 of file IScsiAuthenticationInfo.c.

◆ IScsiSetAuthenticationInfo()

EFI_STATUS EFIAPI IScsiSetAuthenticationInfo ( IN EFI_AUTHENTICATION_INFO_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN VOID *  Buffer 
)

Set the authentication information for a given controller handle.

Parameters
[in]ThisPointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
[in]ControllerHandleHandle to the Controller.
[in]BufferPointer to the authentication information.
Return values
EFI_UNSUPPORTEDIf the platform policies do not allow setting of the authentication information.

Definition at line 54 of file IScsiAuthenticationInfo.c.

Variable Documentation

◆ gIScsiAuthenticationInfo

EFI_AUTHENTICATION_INFO_PROTOCOL gIScsiAuthenticationInfo
Initial value:
= {
}
EFI_STATUS EFIAPI IScsiGetAuthenticationInfo(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, OUT VOID **Buffer)
EFI_STATUS EFIAPI IScsiSetAuthenticationInfo(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN VOID *Buffer)

Definition at line 12 of file IScsiAuthenticationInfo.c.