Searched refs:keyInfoBlob (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage_adapter.c | 72 static int32_t AddStorageParams(const struct HksBlob *key, const struct HksBlob *keyInfoBlob, in AddStorageParams() argument 75 if (keyInfoBlob->size < sizeof(struct HksStoreKeyInfo)) { in AddStorageParams() 76 … HKS_LOG_E("invalid keyInfoBlob, size too small, size = %" LOG_PUBLIC "u", keyInfoBlob->size); in AddStorageParams() 80 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in AddStorageParams() 90 …struct HksBlob keyAuthId = { keyInfo->authIdSize, keyInfoBlob->data + sizeof(*keyInfo) + keyInfo->… in AddStorageParams() 110 int32_t TranslateKeyInfoBlobToParamSet(const struct HksBlob *key, const struct HksBlob *keyInfoBlob, in TranslateKeyInfoBlobToParamSet() argument 118 ret = AddStorageParams(key, keyInfoBlob, outputParamSet); in TranslateKeyInfoBlobToParamSet()
|
H A D | hks_storage_lite.c | 746 static int32_t GetKeyInfoList(struct HksKeyInfo *keyInfoList, const struct HksBlob *keyInfoBlob) in GetKeyInfoList() argument 748 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in GetKeyInfoList() 755 keyInfoBlob->data + sizeof(*keyInfo), keyInfo->aliasSize) != EOK) { in GetKeyInfoList() 762 int32_t ret = TranslateKeyInfoBlobToParamSet(NULL, keyInfoBlob, ¶mSet); in GetKeyInfoList() 833 struct HksBlob keyInfoBlob = { keyInfo->keyInfoLen, tmpBuf }; in HksStoreGetKeyInfoList() local 834 ret = GetKeyInfoList(&keyInfoList[i], &keyInfoBlob); in HksStoreGetKeyInfoList()
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/include/ |
H A D | hks_storage_adapter.h | 29 int32_t TranslateKeyInfoBlobToParamSet(const struct HksBlob *key, const struct HksBlob *keyInfoBlob,
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/include/ |
H A D | hks_keyblob.h | 88 …2_t HksTranslateKeyInfoBlobToParamSet(const struct HksBlob *key, const struct HksBlob *keyInfoBlob,
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_keyblob_lite.c | 493 …2_t HksTranslateKeyInfoBlobToParamSet(const struct HksBlob *key, const struct HksBlob *keyInfoBlob, in HksTranslateKeyInfoBlobToParamSet() argument 496 return TranslateKeyInfoBlobToParamSet(key, keyInfoBlob, paramSet); in HksTranslateKeyInfoBlobToParamSet()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 623 struct HksBlob keyInfoBlob = { 0, NULL }; in ConstructHkdfParamSet() local 625 keyInfoBlob.size = keyInfo->length; in ConstructHkdfParamSet() 626 keyInfoBlob.data = keyInfo->val; in ConstructHkdfParamSet() 644 hkdfParams[idx++].blob = keyInfoBlob; in ConstructHkdfParamSet() 718 struct HksBlob keyInfoBlob = { HcStrlen(PSEUDONYM_KEY_LEBEL), (uint8_t *)PSEUDONYM_KEY_LEBEL }; in ConstructPseudonymParamSet() local 736 hkdfParams[idx++].blob = keyInfoBlob; in ConstructPseudonymParamSet()
|