/base/startup/init/test/unittest/tools/ |
D | prepare_testdata.sh | 96 rm -rf ./g.sh 117 touch ${ohos_init}/g.sh 118 …cho "${ohos_root}/prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-cov gcov \$@" > ${ohos_init}/g.sh 119 chmod 755 ${ohos_init}/g.sh 123 lcov -d . -o "${ohos_init}/init_ut_tmp.info" -b . -c --gcov-tool ${ohos_init}/g.sh 143 rm -rf ./g.sh *.gcno *.gcda init_ut.info init_ut_tmp.info
|
/base/startup/appspawn/test/unittest/ |
D | gencoverage.sh | 107 rm -rf ./g.sh 128 touch ${ohos_init}/g.sh 129 …cho "${ohos_root}/prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-cov gcov \$@" > ${ohos_init}/g.sh 130 chmod 755 ${ohos_init}/g.sh 134 lcov -d . -o "${ohos_init}/appspawn_ut_tmp.info" -b . -c --gcov-tool ${ohos_init}/g.sh 153 rm -rf ./g.sh *.gcno *.gcda appspawn_ut.info appspawn_ut_tmp.info
|
/base/startup/hvb/tools/ |
D | readme.md | 31 …e.g. ./hvbtool.py make_hash_footer --image boot.img --partition boot --partition_size 31457280 … 57 …e.g. ./hvbtool.py make_hashtree_footer --image system.img --partition system --partition_size 3… 89 …e.g. ./hvbtool.py make_rvt_image --salt 9f3a79b7f2bad5adb086bcb8cf37f991733f2696 --pubkey test_… 97 e.g. ./hvbtool.py parse_image --image odm.img 105 e.g. ./hvbtool.py erase_image --image odm.img
|
/base/startup/init/test/fuzztest/ |
D | BUILD.gn | 46 "-g", 70 "-g", 94 "-g", 119 "-g", 146 "-g", 172 "-g", 194 "-g", 216 "-g", 244 "-g", 269 "-g", [all …]
|
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/ |
D | asykeygenerator_fuzzer.cpp | 261 …static HcfDsaCommParamsSpec dsaCommonSpec = { .base = asySpecComm, .p = p_BN, .q = q_BN, .g = g_BN… 267 .g = g_BN 276 .g = g_BN 422 eccCommSpec->g.x.data = (IsBigEndian() ? g_ecc224CorrectBigGX : g_ecc224CorrectLittleGX); in ConstructEcc224CommParamsSpec() 423 eccCommSpec->g.x.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec() 424 eccCommSpec->g.y.data = (IsBigEndian() ? g_ecc224CorrectBigGY : g_ecc224CorrectLittleGY); in ConstructEcc224CommParamsSpec() 425 eccCommSpec->g.y.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec() 450 … eccPubKeySpec->base.g.x.data = (IsBigEndian() ? g_ecc224CorrectBigGX : g_ecc224CorrectLittleGX); in ConstructEcc224PubKeyParamsSpec() 451 eccPubKeySpec->base.g.x.len = NID_secp224r1_len; in ConstructEcc224PubKeyParamsSpec() 452 … eccPubKeySpec->base.g.y.data = (IsBigEndian() ? g_ecc224CorrectBigGY : g_ecc224CorrectLittleGY); in ConstructEcc224PubKeyParamsSpec() [all …]
|
/base/global/system_resources/systemres/main/resources/base/media/ |
D | ohos_ic_bottomsheet_close.svg | 2 <g fill="#000" fill-rule="evenodd" stroke="none" stroke-width="1"> 5 </g>
|
/base/sensors/miscdevice/interfaces/native/light/include/ |
D | light_agent_type.h | 84 uint8_t g; /** Green value range 0-255. */ member 99 uint8_t g; /** Green value range 0-255. */ member
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_asy_key_generator_cov_test.cpp | 283 .base = dsaAsySpecNoAlg, .p = g_dsaCorrectPBn, .q = g_dsaCorrectQBn, .g = g_dsaCorrectGBn 286 .base = dsaAsySpecErrorAlg, .p = g_dsaCorrectPBn, .q = g_dsaCorrectQBn, .g = g_dsaCorrectGBn 289 .base = dsaAsySpecCommCorrect, .p = g_dsaNullPBn, .q = g_dsaCorrectQBn, .g = g_dsaCorrectGBn 292 .base = dsaAsySpecCommCorrect, .p = g_dsaNoLenPBn, .q = g_dsaCorrectQBn, .g = g_dsaCorrectGBn 295 .base = dsaAsySpecCommCorrect, .p = g_dsaCorrectPBn, .q = g_dsaNullQBn, .g = g_dsaCorrectGBn 298 .base = dsaAsySpecCommCorrect, .p = g_dsaCorrectPBn, .q = g_dsaNoLenQBn, .g = g_dsaCorrectGBn 301 .base = dsaAsySpecCommCorrect, .p = g_dsaCorrectPBn, .q = g_dsaCorrectQBn, .g = g_dsaNullGBn 304 .base = dsaAsySpecCommCorrect, .p = g_dsaCorrectPBn, .q = g_dsaCorrectQBn, .g = g_dsaNoLenGBn 312 .g = g_dsaCorrectGBn 321 .g = g_dsaCorrectGBn [all …]
|
D | crypto_dsa_asy_key_generator_by_spec_test.cpp | 246 static HcfDsaCommParamsSpec dsaCommonSpec = { .base = asySpecComm, .p = p_BN, .q = q_BN, .g = g_BN … 252 .g = g_BN 261 .g = g_BN 637 HcfBigInteger g = { .data = nullptr, .len = 0 }; variable 638 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_G_BN, &g); 641 ASSERT_NE(g.data, nullptr); 642 ASSERT_NE(g.len, 0); 643 HcfFree(g.data); 821 HcfBigInteger g = { .data = nullptr, .len = 0 }; variable 822 ret = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, DSA_G_BN, &g); [all …]
|
D | crypto_ecc_key_agreement_by_spec_test.cpp | 85 … eccKeyPairSpec->base.g.x.data = (IS_BIG_ENDIAN ? g_ecc224CorrectBigGX : g_ecc224CorrectLittleGX); in ConstructEcc224KeyPairParamsSpec() 86 eccKeyPairSpec->base.g.x.len = NID_secp224r1_len; in ConstructEcc224KeyPairParamsSpec() 87 … eccKeyPairSpec->base.g.y.data = (IS_BIG_ENDIAN ? g_ecc224CorrectBigGY : g_ecc224CorrectLittleGY); in ConstructEcc224KeyPairParamsSpec() 88 eccKeyPairSpec->base.g.y.len = NID_secp224r1_len; in ConstructEcc224KeyPairParamsSpec() 119 … eccKeyPairSpec->base.g.x.data = (IS_BIG_ENDIAN ? g_ecc256CorrectBigGX : g_ecc256CorrectLittleGX); in ConstructEcc256KeyPairParamsSpec() 120 eccKeyPairSpec->base.g.x.len = NID_X9_62_prime256v1_len; in ConstructEcc256KeyPairParamsSpec() 121 … eccKeyPairSpec->base.g.y.data = (IS_BIG_ENDIAN ? g_ecc256CorrectBigGY : g_ecc256CorrectLittleGY); in ConstructEcc256KeyPairParamsSpec() 122 eccKeyPairSpec->base.g.y.len = NID_X9_62_prime256v1_len; in ConstructEcc256KeyPairParamsSpec() 153 … eccKeyPairSpec->base.g.x.data = (IS_BIG_ENDIAN ? g_ecc384CorrectBigGX : g_ecc384CorrectLittleGX); in ConstructEcc384KeyPairParamsSpec() 154 eccKeyPairSpec->base.g.x.len = NID_secp384r1_len; in ConstructEcc384KeyPairParamsSpec() [all …]
|
D | crypto_dsa_asy_key_generator_test.cpp | 439 HcfBigInteger g = { .data = nullptr, .len = 0 }; variable 440 …sult ret = dsa2048KeyPair_->pubKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->pubKey, DSA_G_BN, &g); 443 ASSERT_NE(g.data, nullptr); 444 ASSERT_NE(g.len, 0); 445 HcfFree(g.data); 548 HcfBigInteger g = { .data = nullptr, .len = 0 }; variable 549 …sult ret = dsa2048KeyPair_->priKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->priKey, DSA_G_BN, &g); 552 ASSERT_NE(g.data, nullptr); 553 ASSERT_NE(g.len, 0); 554 HcfFree(g.data); [all …]
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | openssl_dsa_helper.c | 86 BIGNUM *g = NULL; in InitDsa() local 102 g = BinToBN(key->data + offset, keyMaterial->gSize); in InitDsa() 117 if (DSA_set0_pqg(dsa, p, q, g) != 1) { in InitDsa() 129 FreeBN(g); in InitDsa() 367 const BIGNUM *g = DSA_get0_g(dsa); in SaveDsaKeyToHksBlob() local 369 if (x == NULL || y == NULL || p == NULL || q == NULL || g == NULL) { in SaveDsaKeyToHksBlob() 390 if (BN_bn2bin(g, key->data + offset + (keyMaterial->gSize - (uint32_t)BN_num_bytes(g))) <= 0) { in SaveDsaKeyToHksBlob()
|
/base/update/updater/services/ui/view/ |
D | view_api.cpp | 80 auto g = getNextField(); in StrToColor() local 83 return OHOS::Color::GetColorFromRGBA(r, g, b, a); in StrToColor()
|
/base/security/crypto_framework/frameworks/key/ |
D | asy_key_generator.c | 105 if ((paramsSpec->g.data == NULL) || (paramsSpec->g.len == 0)) { in IsDsaCommParamsSpecValid() 174 if ((paramsSpec->g.x.data == NULL) || (paramsSpec->g.x.len == 0) || in IsEccCommParamsSpecValid() 175 (paramsSpec->g.y.data == NULL) || (paramsSpec->g.y.len == 0)) { in IsEccCommParamsSpecValid() 437 destSpec->g.data = (unsigned char *)HcfMalloc(srcSpec->g.len, 0); in CopyDsaCommonSpec() 438 if (destSpec->g.data == NULL) { in CopyDsaCommonSpec() 445 (void)memcpy_s(destSpec->g.data, srcSpec->g.len, srcSpec->g.data, srcSpec->g.len); in CopyDsaCommonSpec() 448 destSpec->g.len = srcSpec->g.len; in CopyDsaCommonSpec() 635 res = CopyPoint(&(srcSpec->g), &(destSpec->g)); in CopyEccCommonSpec()
|
/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/ |
D | detailed_dsa_key_params.h | 28 HcfBigInteger g; member
|
D | detailed_ecc_key_params.h | 45 HcfPoint g; member
|
/base/security/certificate_manager/config/systemCertificates/ |
D | 406c9bb1.0 | 10 3DspVpNqs8FqOp099cGXOFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvH
|
D | b7a5b843.0 | 12 rX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1ry+UPizgN7gr8/g+YnzAx
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | dsa_asy_key_generator_openssl.c | 54 static void FreeCommSpecBn(BIGNUM *p, BIGNUM *q, BIGNUM *g) in FreeCommSpecBn() argument 62 if (g != NULL) { in FreeCommSpecBn() 63 Openssl_BN_free(g); in FreeCommSpecBn() 530 …sult ConvertCommSpec2Bn(const HcfDsaCommParamsSpec *paramsSpec, BIGNUM **p, BIGNUM **q, BIGNUM **g) in ConvertCommSpec2Bn() argument 542 if (BigIntegerToBigNum(&(paramsSpec->g), g) != HCF_SUCCESS) { in ConvertCommSpec2Bn() 557 BIGNUM *g = NULL; in CreateOpensslDsaKey() local 558 if (ConvertCommSpec2Bn(paramsSpec, &p, &q, &g)!= HCF_SUCCESS) { in CreateOpensslDsaKey() 563 FreeCommSpecBn(p, q, g); in CreateOpensslDsaKey() 568 if (Openssl_DSA_set0_pqg(dsa, p, q, g) != HCF_OPENSSL_SUCCESS) { in CreateOpensslDsaKey() 570 FreeCommSpecBn(p, q, g); in CreateOpensslDsaKey()
|
/base/msdp/device_status/rust/subsystem/input/sys/src/interaction/ |
D | pointer_style.rs | 42 g: 0, in new()
|
/base/sensors/sensor/interfaces/native/src/ |
D | geomagnetic_field.cpp | 152 float g = GAUSS_COEFFICIENT_G[row][column] + yearsSinceBase in CalculateGeomagneticComponent() local 157 * (g * cosMLongitude[column] + h * sinMLongitude[column]) in CalculateGeomagneticComponent() 161 * (g * sinMLongitude[column] - h * cosMLongitude[column]) in CalculateGeomagneticComponent() 166 * (g * cosMLongitude[column] + h * sinMLongitude[column]) in CalculateGeomagneticComponent()
|
/base/update/updater/test/unittest/utils/json/ |
D | utils_json_visitor_test.cpp | 30 (std::string, g), 166 "g":"foo", 176 EXPECT_EQ(e.d2.g, "foo"); 181 PairType { R"("g":"foo")", R"("g":1)" }, PairType { R"("b":true)", R"("b":"true")" }, 184 "g":"foo",
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_dsa.c | 117 BIGNUM *g = BN_bin2bn(buff, keyMaterial->gSize, NULL); in InitDsaStructParameter() local 119 if (DSA_set0_pqg(dsa, p, q, g) != HKS_OPENSSL_SUCCESS) { in InitDsaStructParameter() 122 SELF_FREE_PTR(g, BN_free); in InitDsaStructParameter() 208 const BIGNUM *g = DSA_get0_g(dsa); in DsaKeyMaterialData() local 235 ret = BN_bn2bin(g, rawMaterial + offset + (keyMaterial->gSize - (uint32_t)BN_num_bytes(g))); in DsaKeyMaterialData()
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter.c | 335 …uct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct HksBlob *g) in GetDsaPubKeyParam() argument 359 g->size = keyMaterial->gSize; in GetDsaPubKeyParam() 360 g->data = publicKey->data + offset; in GetDsaPubKeyParam() 365 const struct HksBlob *g, struct HksBlob *x509Key) in DsaToX509PublicKey() argument 372 BIGNUM *dsaG = BN_bin2bn(g->data, g->size, NULL); in DsaToX509PublicKey() 421 struct HksBlob g = {0}; in DsaPublicKeyToX509() local 422 int32_t ret = GetDsaPubKeyParam(publicKey, &y, &p, &q, &g); in DsaPublicKeyToX509() 425 return DsaToX509PublicKey(&y, &p, &q, &g, x509Key); in DsaPublicKeyToX509() 773 const BIGNUM *g = NULL; in X509PublicKeyToDsa() local 782 GetDsaKeyInfo(dsa, &g, &gSize, DSA_get0_g) != HKS_SUCCESS) { in X509PublicKeyToDsa() [all …]
|
/base/security/crypto_framework/common/src/ |
D | asy_key_params.c | 44 HcfFree(spec->g.data); in FreeDsaCommParamsSpec() 45 spec->g.data = NULL; in FreeDsaCommParamsSpec() 112 FreeEcPointMem(&(spec->g)); in FreeEccCommParamsSpec()
|