Searched refs:blobIndex (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/ |
H A D | hks_common_check.c | 195 uint32_t blobIndex = 0; in HksCheckWrappedDataFormatValidity() local 197 for (blobIndex = 0; blobIndex < validTotalBlobs && offset < dataSize; blobIndex++) { in HksCheckWrappedDataFormatValidity() 207 HKS_LOG_E(" the blob part:%" LOG_PUBLIC "u length is out of range!", blobIndex); in HksCheckWrappedDataFormatValidity() 212 if ((validBlobLengths != NULL) && (*(validBlobLengths + blobIndex) != partDataLength)) { in HksCheckWrappedDataFormatValidity() 214 blobIndex, *(validBlobLengths + blobIndex)); in HksCheckWrappedDataFormatValidity() 226 int32_t HksGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t t… in HksGetBlobFromWrappedData() argument 229 if ((CheckBlob(wrappedData) != HKS_SUCCESS) || (blobIndex >= totalBlobs) || (blob == NULL)) { in HksGetBlobFromWrappedData() 248 if (blobIndex == index) { in HksGetBlobFromWrappedData()
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_key_generate.c | 447 uint32_t blobIndex = 0; in ParseKekDecryptParams() local 448 …32_t ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams() 451 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams() 454 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams() 457 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseKekDecryptParams() 516 uint32_t blobIndex = 0; in ParseImportedKeyDecryptParams() local 517 …32_t ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams() 520 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams() 523 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams() 542 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, blobArray[blobIndex++]); in ParseImportedKeyDecryptParams()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/ |
H A D | hks_common_check.h | 70 int32_t HksGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t t…
|