Home
last modified time | relevance | path

Searched refs:mPubKeyNumber (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DAuthService.c22 UINT32 mPubKeyNumber; variable
78 mPubKeyNumber = 0; in AutenticatedVariableServiceInitialize()
117 mPubKeyNumber = (UINT32) (DataSize / EFI_CERT_TYPE_RSA2048_SIZE); in AutenticatedVariableServiceInitialize()
241 for (Ptr = Global->PubKeyStore, Index = 1; Index <= mPubKeyNumber; Index++) { in AddPubKeyInStore()
253 if (mPubKeyNumber == MAX_KEY_NUM) { in AddPubKeyInStore()
260 …CopyMem (Global->PubKeyStore + mPubKeyNumber * EFI_CERT_TYPE_RSA2048_SIZE, PubKey, EFI_CERT_TYPE_R… in AddPubKeyInStore()
261 Index = ++mPubKeyNumber; in AddPubKeyInStore()
269 mPubKeyNumber * EFI_CERT_TYPE_RSA2048_SIZE, in AddPubKeyInStore()
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthVariableLib.c31 UINT32 mPubKeyNumber; variable
195 mPubKeyNumber = 0; in AuthVariableLibInitialize()
216 mPubKeyNumber = (UINT32) (DataSize / sizeof (AUTHVAR_KEY_DB_DATA)); in AuthVariableLibInitialize()
DAuthService.c1291 if (mPubKeyNumber == mMaxKeyNumber) { in GetAvailableKeyIndex()
1296 mPubKeyNumber = 0; in GetAvailableKeyIndex()
1309 for (Index = 0; Index < mPubKeyNumber; Index++) { in GetAvailableKeyIndex()
1314 if (Index == mPubKeyNumber) { in GetAvailableKeyIndex()
1318 … CopyMem ((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + mPubKeyNumber, Ptr, sizeof (AUTHVAR_KEY_DB_DATA)); in GetAvailableKeyIndex()
1319 mPubKeyNumber++; in GetAvailableKeyIndex()
1331 if (mPubKeyNumber == mMaxKeyNumber) { in GetAvailableKeyIndex()
1341 …for (Ptr = mPubKeyStore; Ptr < (mPubKeyStore + mPubKeyNumber * sizeof (AUTHVAR_KEY_DB_DATA)); Ptr … in GetAvailableKeyIndex()
1383 for (Index = 0; Index < mPubKeyNumber; Index++) { in AddPubKeyInStore()
1397 PublicKeyEntry.VariableSize = (mPubKeyNumber + 1) * sizeof (AUTHVAR_KEY_DB_DATA); in AddPubKeyInStore()
[all …]
DAuthServiceInternal.h169 extern UINT32 mPubKeyNumber;