Searched refs:srcKey (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/ |
H A D | sym_key_openssl.c | 237 static HcfResult CopySymmKey(const HcfBlob *srcKey, HcfBlob *dstKey) in CopySymmKey() argument 239 if ((srcKey->data == NULL) || (srcKey->len == 0)) { in CopySymmKey() 243 uint8_t *keyMaterial = (uint8_t *)HcfMalloc(srcKey->len, 0); in CopySymmKey() 248 (void)memcpy_s(keyMaterial, srcKey->len, srcKey->data, srcKey->len); in CopySymmKey() 250 dstKey->len = srcKey->len; in CopySymmKey()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_provider.cpp | 597 srcKey.c_str(), dstWidth, dstHeight, rawImage->width(), rawImage->height()); 604 srcKey.c_str(), dstWidth, dstHeight, rawImage->width(), rawImage->height()); 617 if (needCacheResizedImageFile && !srcKey.empty() && !context->IsFormRender()) { 619 [srcKey, scaledImage]() { 620 LOGI("write png cache file: %{private}s", srcKey.c_str()); 634 srcKey.c_str(), dstWidth, dstHeight, rawImage->width(), rawImage->height()); 648 srcKey.c_str(), dstWidth, dstHeight, rawRSImage->GetWidth(), rawRSImage->GetHeight()); 666 if (needCacheResizedImageFile && !srcKey.empty() && !context->IsFormRender()) { 668 [srcKey, scaledImage]() { 669 LOGI("write png cache file: %{private}s", srcKey.c_str()); [all …]
|
H A D | image_compressor.cpp | 279 void ImageCompressor::WriteToFile(std::string srcKey, sk_sp<SkData> compressedData, Size imgSize) argument 281 void ImageCompressor::WriteToFile(std::string srcKey, std::shared_ptr<RSData> compressedData, Size … 284 if (!compressedData || srcKey.empty()) { 289 [srcKey, compressedData, imgSize]() { 335 ImageFileCache::GetInstance().WriteCacheFile(srcKey, toWritePtr, fileSize, ".astc");
|
H A D | image_provider.h | 109 …kImage>& rawImage, int32_t dstWidth, int32_t dstHeight, const std::string& srcKey = std::string()); 118 const std::string& srcKey = std::string());
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | crypto_manager_test.cpp | 153 std::vector<uint8_t> srcKey {}; variable 155 auto result = CryptoManager::GetInstance().Decrypt(srcKey, key);
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_keyblob.c | 228 struct HksBlob srcKey = { keySize, keyParam->blob.data + sizeof(*keyBlobInfo) }; in EncryptAndDecryptKeyBlob() local 229 struct HksBlob encKey = srcKey; in EncryptAndDecryptKeyBlob() 240 ret = HksCryptoHalEncrypt(&derivedKey, usageSpec, &srcKey, &encKey, &tag); in EncryptAndDecryptKeyBlob() 242 ret = HksCryptoHalDecrypt(&derivedKey, usageSpec, &encKey, &srcKey); in EncryptAndDecryptKeyBlob()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 691 auto srcKey = src.GetKey(); in LoadImage() local 693 isPixelMapChanged_ = srcKey != loadKey; in LoadImage()
|