Searched refs:HksStoreKeyInfo (Results 1 – 6 of 6) sorted by relevance
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()
359 if ((totalLen < offset) || ((totalLen - offset) < sizeof(struct HksStoreKeyInfo))) { in GetKeyOffsetByKeyAlias()365 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias()475 …struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + keyOffset… in DeleteKey()504 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in StoreKeyBlob()638 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreDeleteKeyBlob()689 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in HksStoreGetKeyBlob()716 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreGetKeyBlobSize()748 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in GetKeyInfoList()820 if ((totalLen < offset) || ((totalLen - offset) < sizeof(struct HksStoreKeyInfo))) { in HksStoreGetKeyInfoList()826 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);
309 struct HksStoreKeyInfo { struct
817 if (key->size < sizeof(struct HksStoreKeyInfo)) { in CheckAndGetKeySize()822 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in CheckAndGetKeySize()