Home
last modified time | relevance | path

Searched defs:keyBlob (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/os_dependency_test/src/
H A Dhks_ipc_check_test.cpp94 struct HksBlob keyBlob = { .size = strlen(keyData), .data = (uint8_t *)keyData }; variable
115 struct HksBlob keyBlob = { .size = MAX_PROCESS_SIZE / 2 + 1, .data = (uint8_t *)keyData }; variable
138 struct HksBlob keyBlob = { .size = MAX_PROCESS_SIZE / 2 + 1, .data = (uint8_t *)keyData }; variable
162 struct HksBlob keyBlob = { .size = MAX_PROCESS_SIZE + 1, .data = (uint8_t *)keyData }; variable
179 struct HksBlob keyBlob = { .size = MAX_PROCESS_SIZE + 1, .data = (uint8_t *)keyData }; variable
201 struct HksBlob keyBlob = { .size = MAX_PROCESS_SIZE / 2 + 1, .data = (uint8_t *)keyData }; variable
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksstorage_fuzzer/
H A Dhksstorage_fuzzer.cpp85 HksBlob keyBlob = { in PrepareBlob() local
111 HksBlob keyBlob = { in HksStorageTest001() local
148 HksBlob keyBlob = { in HksStorageTest002() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/storage_multithread_test/src/
H A Dhks_storage_test.cpp113 HksBlob keyBlob = { in PrepareBlob() local
141 HksBlob keyBlob = { variable
180 HksBlob keyBlob = { variable
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/common/
H A Dhks_test_aes.c27 struct HksBlob keyBlob; in TestAes256ByLocal() local
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
H A Dhks_teec.c314 int32_t HksTeeGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, stru… in HksTeeGenerateKey()
463 int32_t ProcessInit(uint32_t cmdId, const struct HksBlob *keyBlob, const struct HksParamSet *paramS… in ProcessInit()
523 int32_t ProcessOnce(uint32_t cmdId, const struct HksBlob *keyBlob, const struct HksParamSet *paramS… in ProcessOnce()
560 int32_t HksTeeSign(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeSign()
566 int32_t HksTeeVerify(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeVerify()
572 int32_t HksTeeMac(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeMac()
578 int32_t HksTeeEncrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeEncrypt()
584 int32_t HksTeeDecrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeDecrypt()
H A Dhks_ca_access.c34 int32_t HksAccessGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, in HksAccessGenerateKey()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_lite.c384 static int32_t AdjustImageBuffer(uint32_t totalLenAdded, const struct HksBlob *keyBlob) in AdjustImageBuffer()
420 static int32_t AppendNewKey(const struct HksBlob *keyBlob) in AppendNewKey()
456 static int32_t GetLenAfterAddKey(const struct HksBlob *keyBlob, uint32_t totalLen, uint32_t *totalL… in GetLenAfterAddKey()
501 static int32_t StoreKeyBlob(bool needDeleteKey, uint32_t offset, const struct HksBlob *keyBlob) in StoreKeyBlob()
597 uint32_t storageType, const struct HksBlob *keyBlob) in HksStoreKeyBlob()
676 const struct HksBlob *keyAlias, uint32_t storageType, struct HksBlob *keyBlob) in HksStoreGetKeyBlob()
H A Dhks_storage.c189 static int32_t GetKeyBlobFromFile(const char *path, const char *fileName, struct HksBlob *keyBlob) in GetKeyBlobFromFile()
238 static int32_t GetKeyBlob(const struct HksStoreInfo *fileInfoPath, struct HksBlob *keyBlob) in GetKeyBlob()
279 int32_t HksStoreKeyBlob(const struct HksStoreFileInfo *fileInfo, const struct HksBlob *keyBlob) in HksStoreKeyBlob()
325 int32_t HksStoreGetKeyBlob(const struct HksStoreInfo *fileInfoPath, struct HksBlob *keyBlob) in HksStoreGetKeyBlob()
H A Dhks_storage_manager.c289 const struct HksBlob *keyAlias, const struct HksBlob *keyBlob, uint32_t storageType) in HksManageStoreKeyBlob()
385 const struct HksBlob *keyAlias, struct HksBlob *keyBlob, uint32_t storageType) in HksManageStoreGetKeyBlob()
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_signature_test.cpp114 Crypto_DataBlob keyBlob = { variable
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_ccm_test.cpp1466 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1526 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1584 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1653 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1721 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1783 struct HksBlob keyBlob = {sizeof(g_testKey), g_testKey}; variable
1852 struct HksBlob keyBlob = {sizeof(g_testDecKey), g_testDecKey}; variable
/ohos5.0/base/security/huks/test/unittest/modify_old_version_key_test_util/
H A Dhks_test_modify_old_key.c60 struct HksBlob keyBlob = { .size = KEY_MAX_SIZE, .data = keyData }; in HksTestGenerateOldKey() local
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_sm2.c151 static int GetSm2Modules(const struct HksBlob *keyBlob, struct KeyMaterialEcc **out) in GetSm2Modules()
273 static EVP_PKEY *Sm2InitKey(const struct HksBlob *keyBlob, enum HksKeyPurpose keyPurpose) in Sm2InitKey()
H A Dhks_openssl_ecc.c292 static EC_KEY *EccInitKey(const struct HksBlob *keyBlob, bool private) in EccInitKey()
337 static int32_t GetEvpKey(const struct HksBlob *keyBlob, EVP_PKEY *key, bool private) in GetEvpKey()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/
H A Dmac_openssl.c83 HcfBlob keyBlob = ((SymKeyImpl *)key)->keyMaterial; in OpensslEngineInitMac() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
H A Dhks_core_service_test.cpp515 …struct HksBlob keyBlob = { .size = KEY_BLOB_DEFAULT_SIZE, .data = (uint8_t *)HksMalloc(KEY_BLOB_DE… variable
593 …struct HksBlob keyBlob = { .size = KEY_BLOB_DEFAULT_SIZE, .data = (uint8_t *)HksMalloc(KEY_BLOB_DE… variable
657 …struct HksBlob keyBlob = { .size = KEY_BLOB_DEFAULT_SIZE, .data = (uint8_t *)HksMalloc(KEY_BLOB_DE… variable
H A Dhks_keyblob_test.cpp180 struct HksBlob keyBlob = { .size = MAX_KEY_SIZE, .data = nullptr }; variable
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_modify_key_test.c127 uint32_t storageType, const struct HksBlob *keyBlob) in HksStoreKeyBlob()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_blob_cache.cpp150 std::shared_ptr<Blob> keyBlob = std::make_shared<Blob>(key, (size_t)keySize); in SetBlob() local
202 std::shared_ptr<Blob> keyBlob = std::make_shared<Blob>(key, (size_t)keySize); in GetBlob() local
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_keyblob.c378 uint8_t *keyBlob = (uint8_t *)HksMalloc(inData->size); in GetAadAndParamSet() local
379 HKS_IF_NULL_LOGE_RETURN(keyBlob, HKS_ERROR_MALLOC_FAIL, "malloc keyBlob failed") in GetAadAndParamSet() local
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c456 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in ComputeHmac() local
1029 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in AesGcmEncrypt() local
1117 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in AesGcmDecrypt() local
1748 struct HksBlob keyBlob = { outPubKey->length, outPubKey->val }; in ExportPublicKey() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_ecc_helper.c215 static EC_KEY *EccInitKey(const struct HksBlob *keyBlob, bool sign) in EccInitKey()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_executor.cpp2194 auto keyBlob = static_cast<const uint8_t *>(sqlite3_value_blob(argv[0])); in Translate() local
H A Dsqlite_utils.cpp2060 auto keyBlob = static_cast<const uint8_t *>(sqlite3_value_blob(argv[0])); in CalcHashFunc() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp472 auto keyBlob = static_cast<const uint8_t *>(sqlite3_value_blob(argv[0])); in CalcHashKey() local