Searched refs:KeyIndex (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DAuthService.h42 @param[out] KeyIndex The output index of corresponding public key in database.
62 OUT UINT32 *KeyIndex OPTIONAL,
H A DAuthService.c740 @param[out] KeyIndex The output index of corresponding public key in database.
760 OUT UINT32 *KeyIndex OPTIONAL,
779 if (KeyIndex != NULL) {
780 *KeyIndex = 0;
798 if (KeyIndex == NULL) {
816 *KeyIndex = VariableHeader.PubKeyIndex;
850 if (CompareMem (PubKey, Global->PubKeyStore + (*KeyIndex - 1) * EFI_CERT_TYPE_RSA2048_SIZE, EFI_CERT_TYPE_RSA2048_SIZE) != 0) {
876 *KeyIndex = AddPubKeyInStore (VirtualMode, Global, PubKey);
H A DVariable.h447 @param[in] KeyIndex Index of associated public key.
465 IN UINT32 KeyIndex OPTIONAL,
H A DVariable.c1842 @param[in] KeyIndex Index of associated public key.
1860 IN UINT32 KeyIndex OPTIONAL,
2018 NextVariableHeader->PubKeyIndex = KeyIndex;
2560 UINT32 KeyIndex; local
2663 Status = VerifyVariable (Data, DataSize, VirtualMode, Global, &Variable, Attributes, &KeyIndex, &MonotonicCount);
2678 KeyIndex,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DAuthService.c1076 UINT32 KeyIndex; local
1079 KeyIndex = 0;
1126 KeyIndex = Variable->CurrPtr->PubKeyIndex;
1161 if (CompareMem (PubKey, mPubKeyStore + (KeyIndex - 1) * EFI_CERT_TYPE_RSA2048_SIZE, EFI_CERT_TYPE_RSA2048_SIZE) != 0) {
1190 KeyIndex = AddPubKeyInStore (PubKey);
1191 if (KeyIndex == 0) {
1199 return UpdateVariable (VariableName, VendorGuid, (UINT8*)Data + AUTHINFO_SIZE, DataSize - AUTHINFO_SIZE, Attributes, KeyIndex, MonotonicCount, Variable, NULL);
H A DVariable.h189 @param[in] KeyIndex Index of associated public key.
206 IN UINT32 KeyIndex OPTIONAL,
H A DVariable.c1358 @param[in] KeyIndex Index of associated public key.
1374 IN UINT32 KeyIndex OPTIONAL,
1636 NextVariable->PubKeyIndex = KeyIndex;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DMisc.py1143 def GetKeys(self, KeyIndex=0):
1144 assert KeyIndex >= 0
1145 if KeyIndex == 0:
1150 keys |= self.data[Key].GetKeys(KeyIndex - 1)

Completed in 71 milliseconds