Hi,

 

The UEFI specification (version 2.5) describes
EFI_SMART_CARD_EDGE_PROTOCOL's 'GetData' function as follows -

"The function is generic for any kind of data, but driver and application
must share an EFI_GUID that identify the data." One of the input parameters
of this function is 'DataId', which is of type 'EFI_GUID', and is used to
define type of data to be retrieved.

 

The question is - how to share the EFI_GUID based information between the
driver and the application? The other functions of this protocol does not
provide any way to share such information. Is there any standard mapping /
information available for such EFI_GUIDs?

[ Note: There are couple of functions in this protocol (i.e. 'SignData' and
'DecryptData'), which also accepts EFI_GUID parameters. However, the
expected EFI_GUID values of these parameters have been defined in the UEFI
specification along with the function description. ]

 

I believe, the GetData function can expect Object IDs of the objects present
on the SmartCard to retrieve related data. Hence, it might be helpful to
have a mapping between these OIDs and EFI_GUIDs. However,these Object IDs
could be different for different type of cards (i.e. PIV, openPGP etc),
which makes it difficult to pre-define them in Spec. But how this
information can be shared between driver and the app? Is it expected to have
EFI_GUIDs defined per SMART_CARD_EDGE _PROTOCOL implementation and shared
using common header file?

 

I am a newbie in EDK and Smart Card development. All comments and
suggestions are very much appreciated.

 

Best Regards,

Nilesh

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to