Home
last modified time | relevance | path

Searched refs:HksStoreKeyInfo (Results 1 – 8 of 8) sorted by relevance

/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_safe_cipher_key_test.c78 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias()
110 …struct HksStoreKeyInfo *keyInfo1 = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset1); in CompareTwoKey()
116 …struct HksStoreKeyInfo *keyInfo2 = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset2); in CompareTwoKey()
Dhks_safe_compare_key_test.c139 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias()
175 …struct HksStoreKeyInfo *keyInfo1 = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset1); in CompareKeyData()
181 …struct HksStoreKeyInfo *keyInfo2 = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset2); in CompareKeyData()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_adapter.c25 bool HksIsKeyInfoLenInvalid(struct HksStoreKeyInfo *keyInfo) in HksIsKeyInfoLenInvalid()
33 static int32_t AddStorageFixedParams(const struct HksStoreKeyInfo *keyInfo, struct HksParamSet *par… in AddStorageFixedParams()
75 if (keyInfoBlob->size < sizeof(struct HksStoreKeyInfo)) { in AddStorageParams()
80 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in AddStorageParams()
Dhks_storage_lite.c357 if ((totalLen < offset) || ((totalLen - offset) < sizeof(struct HksStoreKeyInfo))) { in GetKeyOffsetByKeyAlias()
363 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias()
473 …struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + keyOffset… in DeleteKey()
502 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in StoreKeyBlob()
635 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreDeleteKeyBlob()
686 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in HksStoreGetKeyBlob()
713 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreGetKeyBlobSize()
745 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in GetKeyInfoList()
817 if ((totalLen < offset) || ((totalLen - offset) < sizeof(struct HksStoreKeyInfo))) { in HksStoreGetKeyInfoList()
823 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in HksStoreGetKeyInfoList()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob_lite.c105 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)cipherKey->data; in BuildKeyBlobUsageSpec()
141 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)cipherKey->data; in EncryptAndDecryptKeyBlob()
267 if (key->size < sizeof(struct HksStoreKeyInfo)) { in GetRawKeyMaterial()
272 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in GetRawKeyMaterial()
340 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyOut->data; in FillBaseInfo()
394 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyOut->data; in FillStoreKeyInfo()
464 …uint32_t totalLen = sizeof(struct HksStoreKeyInfo) + HKS_MAX_KEY_ALIAS_LEN + HKS_MAX_KEY_AUTH_ID_L… in HksBuildKeyBlob()
/base/security/huks/services/huks_standard/huks_service/main/core/include/
Dhks_storage_adapter.h27 bool HksIsKeyInfoLenInvalid(struct HksStoreKeyInfo *keyInfo);
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h840 struct HksStoreKeyInfo { struct
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c805 if (key->size < sizeof(struct HksStoreKeyInfo)) { in CheckAndGetKeySize()
810 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in CheckAndGetKeySize()