Searched refs:HksStoreKeyInfo (Results 1 – 8 of 8) sorted by relevance
78 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()
139 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()
25 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()
357 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()
105 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()
27 bool HksIsKeyInfoLenInvalid(struct HksStoreKeyInfo *keyInfo);
840 struct HksStoreKeyInfo { struct
805 if (key->size < sizeof(struct HksStoreKeyInfo)) { in CheckAndGetKeySize()810 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in CheckAndGetKeySize()