Searched refs:keyCount (Results 1 – 9 of 9) sorted by relevance
108 keyInfoHead->keyCount = 0; in InitImageBuffer()344 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local346 if (keyCount == 0) { in GetKeyOffsetByKeyAlias()356 for (uint32_t i = 0; i < keyCount; ++i) { in GetKeyOffsetByKeyAlias()409 newHead->keyCount += 1; in AdjustImageBuffer()446 keyInfoHead->keyCount += 1; in AppendNewKey()493 keyInfoHead->keyCount -= 1; in DeleteKey()516 newkeyInfoHead.keyCount += 1, in StoreKeyBlob()641 newkeyInfoHead.keyCount -= 1; in HksStoreDeleteKeyBlob()718 int32_t HksGetKeyCountByProcessName(const struct HksBlob *processName, uint32_t *keyCount) in HksGetKeyCountByProcessName() argument[all …]
1053 static void FileNameListFree(struct HksFileEntry **fileNameList, uint32_t keyCount) in FileNameListFree() argument1056 for (uint32_t i = 0; i < keyCount; ++i) { in FileNameListFree()1063 static int32_t FileNameListInit(struct HksFileEntry **fileNameList, uint32_t keyCount) in FileNameListInit() argument1065 if ((keyCount > (UINT32_MAX / (sizeof(struct HksFileEntry)))) || (keyCount == 0)) { in FileNameListInit()1070 uint32_t totalSize = keyCount * sizeof(struct HksFileEntry); in FileNameListInit()1077 for (uint32_t i = 0; i < keyCount; ++i) { in FileNameListInit()1088 FileNameListFree(fileNameList, keyCount); in FileNameListInit()
72 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local76 for (uint32_t i = 0; i < keyCount; ++i) { in GetKeyOffsetByKeyAlias()
133 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local137 for (uint16_t i = 0; i < keyCount; ++i) { in GetKeyOffsetByKeyAlias()
60 int32_t HksGetKeyCountByProcessName(const struct HksBlob *processName, uint32_t *keyCount);78 int32_t HksGetKeyCountByProcessName(const struct HksProcessInfo *processInfo, uint32_t *keyCount);
293 uint32_t keyCount; member
645 uint16_t keyCount; member
356 appCert->keyCount = 1; in StoreAppCert()
482 ret = CopyUint32ToBuffer(appCert->keyCount, certificateInfo, offset); in CopyCertificateInfoToBuffer()