Home
last modified time | relevance | path

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

/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_common_check.c163 uint32_t blobIndex = 0; in HksCheckWrappedDataFormatValidity() local
165 for (blobIndex = 0; blobIndex < validTotalBlobs && offset < dataSize; blobIndex++) { in HksCheckWrappedDataFormatValidity()
175 HKS_LOG_E(" the blob part:%" LOG_PUBLIC "u length is out of range!", blobIndex); in HksCheckWrappedDataFormatValidity()
180 if ((validBlobLengths != NULL) && (*(validBlobLengths + blobIndex) != partDataLength)) { in HksCheckWrappedDataFormatValidity()
182 blobIndex, *(validBlobLengths + blobIndex)); in HksCheckWrappedDataFormatValidity()
194 int32_t HksGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t t… in HksGetBlobFromWrappedData() argument
197 if ((CheckBlob(wrappedData) != HKS_SUCCESS) || (blobIndex >= totalBlobs) || (blob == NULL)) { in HksGetBlobFromWrappedData()
216 if (blobIndex == index) { in HksGetBlobFromWrappedData()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_common_check.h64 int32_t HksGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t t…
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c691 uint32_t blobIndex = 0; in ParseKekDecryptParams() local
692 …32_t ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams()
695 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams()
698 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams()
701 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams()
760 uint32_t blobIndex = 0; in ParseImportedKeyDecryptParams() local
761 …32_t ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams()
764 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams()
767 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams()
786 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams()