Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_generate.c444 uint32_t totalBlobs, struct HksBlob **blobArray) in ParseKekDecryptParams() argument
448 …int32_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()
513 uint32_t totalBlobs, uint32_t *outKeyMaterialSize, struct HksBlob **blobArray) in ParseImportedKeyDecryptParams() argument
517 …int32_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()
527 ret = HksGetBlobFromWrappedData(wrappedKeyData, offset++, totalBlobs, &keyMatLenBlobPart); in ParseImportedKeyDecryptParams()
[all …]
H A Dhks_sm_import_wrap_key.c82 uint32_t partOffset, uint32_t totalBlobs, uint32_t *originDataLen) in GetDataLenFromWrappedData() argument
85 …int32_t ret = HksGetBlobFromWrappedData(wrappedKeyData, partOffset, totalBlobs, &originDataLenBlob… in GetDataLenFromWrappedData()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_common_check.c226 …sGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t totalBlobs, in HksGetBlobFromWrappedData() argument
229 if ((CheckBlob(wrappedData) != HKS_SUCCESS) || (blobIndex >= totalBlobs) || (blob == NULL)) { in HksGetBlobFromWrappedData()
238 for (uint32_t index = 0, offset = 0; index < totalBlobs && offset < dataSize; index++) { in HksGetBlobFromWrappedData()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_common_check.h70 …sGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t totalBlobs,