Searched refs:wrappedData (Results 1 – 5 of 5) sorted by relevance
/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_import_wrapped_key_item.cpp | 42 struct HksBlob *wrappedData = nullptr; member 68 if (context->wrappedData != nullptr) { in DeleteImportWrappedKeyAsyncContext() 69 if (context->wrappedData->data != nullptr && context->wrappedData->size != 0) { in DeleteImportWrappedKeyAsyncContext() 70 …(void)memset_s(context->wrappedData->data, context->wrappedData->size, 0, context->wrappedData->si… in DeleteImportWrappedKeyAsyncContext() 72 FreeHksBlob(context->wrappedData); in DeleteImportWrappedKeyAsyncContext() 106 result = ParseKeyData(env, argv[index], context->wrappedData); in ImportWrappedKeyParseParams() 138 napiContext->paramSet, napiContext->wrappedData); in ImportWrappedKeyAsyncWork()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_common_check.c | 150 int32_t HksCheckWrappedDataFormatValidity(const struct HksBlob *wrappedData, uint32_t validTotalBlo… in HksCheckWrappedDataFormatValidity() argument 153 …if ((CheckBlob(wrappedData) != HKS_SUCCESS) || (wrappedData->size > HKS_WRAPPED_FORMAT_MAX_SIZE) || in HksCheckWrappedDataFormatValidity() 158 const uint8_t *data = wrappedData->data; in HksCheckWrappedDataFormatValidity() 159 uint32_t dataSize = wrappedData->size; 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() 202 const uint8_t *data = wrappedData->data; in HksGetBlobFromWrappedData() 203 uint32_t dataSize = wrappedData->size; in HksGetBlobFromWrappedData()
|
/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_common_check.h | 61 int32_t HksCheckWrappedDataFormatValidity(const struct HksBlob *wrappedData, uint32_t validTotalBlo… 64 int32_t HksGetBlobFromWrappedData(const struct HksBlob *wrappedData, uint32_t blobIndex, uint32_t t…
|
/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
D | hks_api.h | 253 const struct HksParamSet *paramSet, struct HksBlob *wrappedData); 264 const struct HksBlob *wrappedData, const struct HksParamSet *paramSet);
|
/base/security/huks/interfaces/inner_api/huks_standard/main/src/ |
D | hks_api.c | 536 const struct HksParamSet *paramSet, struct HksBlob *wrappedData) in HksWrapKey() argument 541 (void)wrappedData; in HksWrapKey() 546 const struct HksBlob *wrappedData, const struct HksParamSet *paramSet) in HksUnwrapKey() argument 551 (void)wrappedData; in HksUnwrapKey()
|