Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_lite.c506 struct HksStoreHeaderInfo newkeyInfoHead; in StoreKeyBlob() local
507 … if (memcpy_s(&newkeyInfoHead, sizeof(newkeyInfoHead), keyInfoHead, sizeof(*keyInfoHead)) != EOK) { in StoreKeyBlob()
518 newkeyInfoHead.keyCount += 1, in StoreKeyBlob()
524 newkeyInfoHead.totalLen = totalLenAdded; in StoreKeyBlob()
525 ret = RefreshKeyInfoHeaderHmac(&newkeyInfoHead); in StoreKeyBlob()
539 …if (memcpy_s(g_storageImageBuffer.data, sizeof(newkeyInfoHead), &newkeyInfoHead, sizeof(newkeyInfo… in StoreKeyBlob()
639 struct HksStoreHeaderInfo newkeyInfoHead; in HksStoreDeleteKeyBlob() local
640 … if (memcpy_s(&newkeyInfoHead, sizeof(newkeyInfoHead), keyInfoHead, sizeof(*keyInfoHead)) != EOK) { in HksStoreDeleteKeyBlob()
643 newkeyInfoHead.totalLen -= keyInfo->keyInfoLen; in HksStoreDeleteKeyBlob()
644 newkeyInfoHead.keyCount -= 1; in HksStoreDeleteKeyBlob()
[all …]