Home
last modified time | relevance | path

Searched refs:KeyIndex (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c161 IN UINT32 KeyIndex, in AuthServiceInternalUpdateVariableWithMonotonicCount() argument
173 AuthVariableInfo.PubKeyIndex = KeyIndex; in AuthServiceInternalUpdateVariableWithMonotonicCount()
322 UINT32 KeyIndex; in GetAvailableKeyIndex() local
349 …if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) Ptr)->KeyIndex)) == AuthVariableInfo.PubKeyIndex) { in GetAvailableKeyIndex()
354 …if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyIndex)) == AuthVariableI… in GetAvailableKeyIndex()
383 for (KeyIndex = 1; KeyIndex <= mMaxKeyNumber; KeyIndex++) { in GetAvailableKeyIndex()
386 if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) Ptr)->KeyIndex)) == KeyIndex) { in GetAvailableKeyIndex()
396 return KeyIndex; in GetAvailableKeyIndex()
418 UINT32 KeyIndex; in AddPubKeyInStore() local
429 return ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyIndex)); in AddPubKeyInStore()
[all …]
DAuthServiceInternal.h83 UINT32 KeyIndex; member
404 IN UINT32 KeyIndex,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmHotkey.c508 UINTN KeyIndex; in BmUnregisterHotkeyNotify() local
518 for (KeyIndex = 0; KeyIndex < Hotkey->CodeCount; KeyIndex++) { in BmUnregisterHotkeyNotify()
521 &Hotkey->KeyData[KeyIndex], in BmUnregisterHotkeyNotify()
527 …registerKeyNotify: %04x/%04x %r\n", Hotkey->KeyData[KeyIndex].Key.ScanCode, Hotkey->KeyData[KeyInd… in BmUnregisterHotkeyNotify()
670 UINTN KeyIndex; in BmProcessKeyOption() local
698 for (KeyIndex = 0; KeyIndex < Hotkey->CodeCount; KeyIndex++) { in BmProcessKeyOption()
699 CopyMem (&Hotkey->KeyData[KeyIndex].Key, &KeyOption->Keys[KeyIndex], sizeof (EFI_INPUT_KEY)); in BmProcessKeyOption()
700 Hotkey->KeyData[KeyIndex].KeyState.KeyShiftState = KeyShiftStates[Index]; in BmProcessKeyOption()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DAuthService.c764 OUT UINT32 *KeyIndex OPTIONAL, in VerifyVariable()
783 if (KeyIndex != NULL) { in VerifyVariable()
784 *KeyIndex = 0; in VerifyVariable()
802 if (KeyIndex == NULL) { in VerifyVariable()
820 *KeyIndex = VariableHeader.PubKeyIndex; in VerifyVariable()
854 …if (CompareMem (PubKey, Global->PubKeyStore + (*KeyIndex - 1) * EFI_CERT_TYPE_RSA2048_SIZE, EFI_CE… in VerifyVariable()
880 *KeyIndex = AddPubKeyInStore (VirtualMode, Global, PubKey); in VerifyVariable()
DAuthService.h62 OUT UINT32 *KeyIndex OPTIONAL,
DVariable.h465 IN UINT32 KeyIndex OPTIONAL,
DVariable.c1860 IN UINT32 KeyIndex OPTIONAL, in UpdateVariable()
2018 NextVariableHeader->PubKeyIndex = KeyIndex; in UpdateVariable()
2560 UINT32 KeyIndex; in EsalSetVariable() local
2669 …Status = VerifyVariable (Data, DataSize, VirtualMode, Global, &Variable, Attributes, &KeyIndex, &M… in EsalSetVariable()
2684 KeyIndex, in EsalSetVariable()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c756 UINT32 KeyIndex; in BcfgAddOpt() local
932 for (Temp2 = NULL, KeyIndex = 0 ; KeyIndex <= 0xFFFF ; KeyIndex++) { in BcfgAddOpt()
933 UnicodeSPrint(VariableName, sizeof(VariableName), L"Key%04x", KeyIndex); in BcfgAddOpt()
942 if (KeyIndex <= 0xFFFF) { in BcfgAddOpt()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.h316 IN UINT32 KeyIndex OPTIONAL,
DVariable.c2172 IN UINT32 KeyIndex OPTIONAL, in UpdateVariable()
2494 AuthVariable->PubKeyIndex = KeyIndex; in UpdateVariable()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py1378 def GetKeys(self, KeyIndex=0): argument
1379 assert KeyIndex >= 0
1380 if KeyIndex == 0:
1385 keys |= self.data[Key].GetKeys(KeyIndex - 1)
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
Dif_mskreg.h549 #define RSS_KEY_ADDR(Port, KeyIndex) ((B4_RSS_KEY | ( ((Port) == 0) ? 0 : 0x80)) + (KeyIndex argument