Home
last modified time | relevance | path

Searched refs:keyCount (Results 1 – 9 of 9) sorted by relevance

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_lite.c108 keyInfoHead->keyCount = 0; in InitImageBuffer()
344 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local
346 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 …]
Dhks_storage.c1053 static void FileNameListFree(struct HksFileEntry **fileNameList, uint32_t keyCount) in FileNameListFree() argument
1056 for (uint32_t i = 0; i < keyCount; ++i) { in FileNameListFree()
1063 static int32_t FileNameListInit(struct HksFileEntry **fileNameList, uint32_t keyCount) in FileNameListInit() argument
1065 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()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_safe_cipher_key_test.c72 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local
76 for (uint32_t i = 0; i < keyCount; ++i) { in GetKeyOffsetByKeyAlias()
Dhks_safe_compare_key_test.c133 uint32_t keyCount = keyInfoHead->keyCount; in GetKeyOffsetByKeyAlias() local
137 for (uint16_t i = 0; i < keyCount; ++i) { in GetKeyOffsetByKeyAlias()
/base/security/huks/services/huks_standard/huks_service/main/core/include/
Dhks_storage.h60 int32_t HksGetKeyCountByProcessName(const struct HksBlob *processName, uint32_t *keyCount);
78 int32_t HksGetKeyCountByProcessName(const struct HksProcessInfo *processInfo, uint32_t *keyCount);
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_type.h293 uint32_t keyCount; member
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h645 uint16_t keyCount; member
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_app_cert_process.c356 appCert->keyCount = 1; in StoreAppCert()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service.c482 ret = CopyUint32ToBuffer(appCert->keyCount, certificateInfo, offset); in CopyCertificateInfoToBuffer()