| /test/xts/acts/security/huks_napi_BasicTest/include/ |
| D | huks_mem.h | 33 #define HUKS_FREE_BLOB(blob) do { \ argument 34 if ((blob).data != nullptr) { \ 35 HksFree((blob).data); \ 36 (blob).data = nullptr; \ 38 (blob).size = 0; \
|
| D | huks_agree_dh_test.h | 92 .blob = g_keyAliasFinal1001 134 .blob = g_keyAliasFinal2001
|
| D | huks_three_stage_test_common.h | 72 struct OH_Huks_Blob *blob,
|
| /test/xts/acts/security_lite/huks/common/ |
| D | hks_test_common.c | 41 int32_t TestConstuctBlob(struct HksBlob **blob, bool blobExist, uint32_t blobSize, bool blobDataExi… in TestConstuctBlob() argument 48 *blob = (struct HksBlob *)HksTestMalloc(sizeof(struct HksBlob)); in TestConstuctBlob() 49 if (*blob == NULL) { in TestConstuctBlob() 52 (void)memset_s(*blob, sizeof(struct HksBlob), 0, sizeof(struct HksBlob)); in TestConstuctBlob() 55 (*blob)->size = realBlobDataSize; in TestConstuctBlob() 56 (*blob)->data = (uint8_t *)HksTestMalloc(realBlobDataSize); in TestConstuctBlob() 57 if ((*blob)->data == NULL) { in TestConstuctBlob() 60 (void)memset_s((*blob)->data, realBlobDataSize, 0, realBlobDataSize); in TestConstuctBlob() 71 …HKS_TEST_ASSERT(memcpy_s((*blob)->data + offset, realBlobDataSize - offset, tmp.data, tmp.size) ==… in TestConstuctBlob() 84 HKS_TEST_ASSERT(memcpy_s((*blob)->data + offset, remainSize, tmp.data, tmp.size) == EOK); in TestConstuctBlob() [all …]
|
| D | hks_test_aes.c | 95 aadParam.blob.data = g_aad; in ConstructParamSetEncryptDecryptAesPost() 96 aadParam.blob.size = sizeof(g_aad); in ConstructParamSetEncryptDecryptAesPost() 106 ivParam.blob.data = g_iv; in ConstructParamSetEncryptDecryptAesPost() 107 ivParam.blob.size = sizeof(g_iv); in ConstructParamSetEncryptDecryptAesPost() 116 nonceParam.blob.data = g_nonce; in ConstructParamSetEncryptDecryptAesPost() 117 nonceParam.blob.size = sizeof(g_nonce); in ConstructParamSetEncryptDecryptAesPost() 166 .blob = authId }, in GenerateBaseKey() 203 .blob = *baseKey }, in PlainPubKey() 205 .blob = *peerPubKey }, in PlainPubKey() 232 .blob = *baseKey }, in SetKeyAliasTrue() [all …]
|
| /test/xts/acts/security/huks_napi_BasicTest/src/ |
| D | huks_attest_test.cpp | 59 { .tag = OH_HUKS_TAG_ATTESTATION_ID_SEC_LEVEL_INFO, .blob = g_secInfo }, 60 { .tag = OH_HUKS_TAG_ATTESTATION_CHALLENGE, .blob = g_challenge }, 61 { .tag = OH_HUKS_TAG_ATTESTATION_ID_VERSION_INFO, .blob = g_version }, 62 { .tag = OH_HUKS_TAG_ATTESTATION_ID_ALIAS, .blob = g_keyAlias },
|
| D | huks_attest_test_common.cpp | 164 ret |= strcmp(SEC_INFO_DATA, (char *)paramSet->params[g_index0].blob.data); in ValidataAndCompareCertInfo() 165 ret |= strcmp(CHALLENGE_DATA, (char *)paramSet->params[g_index1].blob.data); in ValidataAndCompareCertInfo() 166 ret |= strcmp(VERSION_DATA, (char *)paramSet->params[g_index2].blob.data); in ValidataAndCompareCertInfo() 167 ret |= strcmp(ALIAS, (char *)paramSet->params[g_index3].blob.data); in ValidataAndCompareCertInfo() 171 ret |= strcmp(UDID_DATA, (char *)paramSet->params[g_index4].blob.data); in ValidataAndCompareCertInfo() 172 ret |= strcmp(SN_DATA, (char *)paramSet->params[g_index5].blob.data); in ValidataAndCompareCertInfo() 173 ret |= strcmp(DEVICE_ID, (char *)paramSet->params[g_index6].blob.data); in ValidataAndCompareCertInfo()
|
| D | huks_derive_pbkdf_test.cpp | 73 .blob = { 97 .blob = { 112 .blob = {
|
| D | huks_cipher_aes_test.cpp | 89 .blob = { 116 .blob = { 162 .blob = { 189 .blob = {
|
| D | huks_cipher_sm4_test.cpp | 90 .blob = { 115 .blob = {
|
| D | huks_warpped_test.cpp | 98 …{.tag = OH_HUKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrapped::AAD_SIZE, .data = (… 99 …{.tag = OH_HUKS_TAG_NONCE, .blob = {.size = Unittest::ImportWrapped::NONCE_SIZE, .data = (uint8_t … 126 …{.tag = OH_HUKS_TAG_IV, .blob = {.size = Unittest::ImportWrapped::IV_SIZE, .data = (uint8_t *)Unit…
|
| D | huks_misc_test.cpp | 227 struct OH_Huks_Blob blob; variable 228 ASSERT_EQ(sizeof(blob.size) == sizeof(uint32_t), true); 229 ASSERT_EQ(sizeof(blob.data) == sizeof(uint8_t *), true); 237 ASSERT_EQ(sizeof(param.blob) == sizeof(struct OH_Huks_Blob), true);
|
| D | huks_agree_ecdh_test.cpp | 120 .blob = g_keyAliasFinal1001 162 .blob = g_keyAliasFinal2001
|
| D | huks_wrapped_test_common.cpp | 31 …{.tag = OH_HUKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrapped::AAD_SIZE, .data = (… 32 …{.tag = OH_HUKS_TAG_NONCE, .blob = {.size = Unittest::ImportWrapped::NONCE_SIZE, .data = (uint8_t … 41 …{.tag = OH_HUKS_TAG_IV, .blob = {.size = Unittest::ImportWrapped::IV_SIZE, .data = (uint8_t *)Unit…
|
| D | huks_derive_hkdf_test.cpp | 86 .blob = {
|
| D | huks_agree_x25519_test.cpp | 110 .tag = OH_HUKS_TAG_KEY_ALIAS, .blob = g_keyAliasFinal1001 150 .tag = OH_HUKS_TAG_KEY_ALIAS, .blob = g_keyAliasFinal2001
|
| D | huks_cipher_aes_test_common.cpp | 144 (void)memcpy_s(decryptParamSet->params[i].blob.data, AEAD_SIZE, in HksAesCipherTestCaseGcm2()
|
| D | huks_three_stage_test_common.cpp | 311 struct OH_Huks_Blob *blob, in MallocAndCheckBlobData() argument 317 blob->data = (uint8_t *)HksMalloc(blobSize); in MallocAndCheckBlobData() 318 if (blob->data == NULL) in MallocAndCheckBlobData()
|
| /test/xts/acts/commonlibrary/ets_utils/buffer_lib_standard/src/main/js/test/ |
| D | Buffer.test.js | 1987 let blob = new buffer.Blob([blob2]); 1988 blob.text().then((value) => { 2000 let blob = new buffer.Blob(["a", "b", "c"], 10); 2014 let blob = new buffer.Blob("abc", { type: "new type", endings: "transparent" }); 2057 let blob = blob2.slice(0, 1); 2058 blob.arrayBuffer().then((value) => { 3677 let blob = new buffer.Blob(["a", "b", "c"]); 3678 let size = blob.size; 3687 let blob = new buffer.Blob([]); 3688 let size = blob.size; [all …]
|
| /test/testfwk/xdevice/ |
| D | README_zh.md | 220 [测试子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E6%B5%8B%E8%AF%95%E5%AD%90%E7%… 224 [test\_developertest](https://gitee.com/openharmony/test_developertest/blob/master/README_zh.md)
|
| /test/testfwk/developer_test/ |
| D | README_zh.md | 8 …- [源码获取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/get-code/sourcecode-acqui… 387 [Fuzz用例编写规范](https://gitee.com/openharmony/test_developertest/blob/master/libs/fuzzlib/README_zh.md) 392 [Benchmark用例编写规范](https://gitee.com/openharmony/test_developertest/blob/master/libs/benchmark/READM… 639 [Fuzz编译文件编写规范](https://gitee.com/openharmony/test_developertest/blob/master/libs/fuzzlib/README_zh.… 643 [Benchmark编译文件编写规范](https://gitee.com/openharmony/test_developertest/blob/master/libs/benchmark/REA… 883 [test\_xdevice](https://gitee.com/openharmony/test_xdevice/blob/master/README_zh.md)
|
| /test/testfwk/arkxtest/ |
| D | README_zh.md | 1048 …e.com/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts)及[示例文档说明](https://gitee.com/o… 1073 …e.com/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts)及[示例文档说明](https://gitee.com/o… 1127 …e.com/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts)及[示例文档说明](https://gitee.com/o… 1173 …e.com/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts)及[示例文档说明](https://gitee.com/o… 1206 …随版本编译,需手动处理,请参考[3.1-Release版本使用指导](https://gitee.com/openharmony/arkXtest/blob/OpenHarmony-3.1-Rel…
|
| D | README_en.md | 924 …om/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts) and [UiDriver](https://gitee.co… 949 …e.com/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts) and [By](https://gitee.com/o… 1003 …/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts) and [UiComponent](https://gitee.c… 1049 …om/openharmony/interface_sdk-js/blob/master/api/@ohos.uitest.d.ts) and [UiWindow](https://gitee.co… 1082 …, see [Pushing UiTest to a Device](https://gitee.com/openharmony/arkXtest/blob/OpenHarmony-3.1-Rel…
|
| /test/xts/acts/security_lite/huks/common/include/ |
| D | hks_test_common.h | 385 int32_t TestConstuctBlob(struct HksBlob **blob, 421 int32_t TestConstructBlobOut(struct HksBlob **blob,
|
| /test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreStagetest/entry/src/main/ets/test/ |
| D | relationalStoreTestResultsetEtsunit.test.ets | 19 …ER PRIMARY KEY AUTOINCREMENT, ' + 'data1 text,' + 'data2 long, ' + 'data3 double,' + 'data4 blob)';
|