| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | KeyPairTools.java | 95 public static KeyPair generateKeyPair(String algorithm, int keySize) { in generateKeyPair() argument 96 if (algorithm == null) { in generateKeyPair() 100 String alg = algorithm; in generateKeyPair() 146 public static PublicKey stringToPublicKey(String algorithm, String keyString) { in stringToPublicKey() argument 150 result = KeyFactory.getInstance(algorithm).generatePublic(spec); in stringToPublicKey() 166 public static PrivateKey stringToPrivateKey(String algorithm, String keyString) { in stringToPrivateKey() argument 170 result = KeyFactory.getInstance(algorithm).generatePrivate(spec); in stringToPrivateKey()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/utils/ |
| D | DigestUtils.java | 35 …public static byte[] computeDigest(byte[] inputContentArray, String algorithm) throws NoSuchAlgori… in computeDigest() argument 36 MessageDigest md = MessageDigest.getInstance(algorithm); in computeDigest()
|
| /developtools/hapsigner/hapsigntool_cpp_test/fuzztest/generate_csr/generatecsr001_fuzzer/ |
| D | generatecsr001_fuzzer.cpp | 26 std::string algorithm = "ECC"; in DoSomethingInterestingWithMyAPI() local 30 EVP_PKEY* keyPair = keyStoreHelper.GenerateKeyPair(algorithm, keySize); in DoSomethingInterestingWithMyAPI()
|
| /developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/fsverity/ |
| D | fs_verity_generator_test.cpp | 164 uint8_t algorithm = fsVerityGenerator.GetFsVerityHashAlgorithm(); variable 166 EXPECT_NE(algorithm, 0);
|
| /developtools/hapsigner/hapsigntool_cpp_test/unittest/generateCA/ |
| D | generate_general_ca_test.cpp | 847 std::string algorithm = "ECC"; variable 855 (*params)["algorithm"] = algorithm; 859 EVP_PKEY* keyPair = keyStoreHelper->GenerateKeyPair(algorithm, keySize); 880 std::string algorithm = "ECC"; variable 889 (*params)["algorithm"] = algorithm; 894 EVP_PKEY* keyPair = keyStoreHelper->GenerateKeyPair(algorithm, keySize); 916 std::string algorithm = "ECC"; variable 924 (*params)["algorithm"] = algorithm; 928 EVP_PKEY* keyPair = keyStoreHelper->GenerateKeyPair(algorithm, keySize); 950 std::string algorithm = "ECC"; variable [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/resources/ |
| D | help.txt | 22 -keyAlg : key algorithm, required fields, including RSA/ECC; 23 …y size, required fields, the size of the RSA algorithm is 2048/3072/4096, and the size of the ECC … 36 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… 57 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… 75 -keyAlg : key algorithm, required fields, including RSA/ECC; 76 …y size, required fields, the size of the RSA algorithm is 2048/3072/4096, and the size of the ECC … 82 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… 104 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… 127 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… 148 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE… [all …]
|
| /developtools/hapsigner/ |
| D | README.md | 84 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is… 108 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is… 151 ├── -keyAlg # Key algorithm, which can be RSA or ECC. It is mandatory. 165 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withRSA, SHA256withE… 178 ├── -keyAlg # Key algorithm, which can be RSA or ECC. It is mandatory. 185 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withRSA, SH… 206 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384wi… 229 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384wi… 259 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withR… 281 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is m… [all …]
|
| /developtools/integration_verification/tools/deps_guard/rules/NO-Depends-On-HDI/ |
| D | README.md | 15 description = "example algorithm";
|
| /developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/include/ |
| D | merkle_tree_builder.h | 51 void SetAlgorithm(const std::string& algorithm);
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
| D | BcSignedDataGenerator.java | 155 …private byte[] computeDigest(byte[] unsignedDataDigest, String algorithm) throws CodeSignException… in computeDigest() argument 158 digest = DigestUtils.computeDigest(unsignedDataDigest, algorithm); in computeDigest() 160 … throw new CodeSignException(CodeSignErrMsg.ALGORITHM_NOT_SUPPORT_ERROR.toString(algorithm), e); in computeDigest()
|
| /developtools/hapsigner/binary_sign_tool/codesigning/fsverity/include/ |
| D | merkle_tree_builder.h | 56 void SetAlgorithm(const std::string& algorithm);
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/ |
| D | VerifyHelper.java | 86 …d verifySignature(X509Certificate cert, byte[] signedData, byte[] unsignedData, String algorithm) { in verifySignature() argument 88 Signature signature = Signature.getInstance(algorithm); in verifySignature()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/ |
| D | MerkleTreeBuilder.java | 69 private void setAlgorithm(String algorithm) { in setAlgorithm() argument 70 this.mAlgorithm = algorithm; in setAlgorithm()
|
| /developtools/ace_ets2bundle/compiler/src/interop/src/fast_build/ark_compiler/ |
| D | utils.ts | 332 export function calculateFileHash(filePath: string, algorithm: string = 'sha256'): string { 334 const hash = crypto.createHash(algorithm);
|
| /developtools/hapsigner/hapsigntool_cpp/utils/include/ |
| D | key_store_helper.h | 63 EVP_PKEY* GenerateKeyPair(const std::string& algorithm, int keySize);
|
| /developtools/hapsigner/hapsigntool_cpp_test/unittest/generateCsr/ |
| D | generate_csr_test.cpp | 404 std::string algorithm = "ECC"; variable 408 EVP_PKEY* keyPair = keyStoreHelper->GenerateKeyPair(algorithm, keySize); 443 std::string algorithm = "ECC"; variable 447 EVP_PKEY* keyPair = keyStoreHelper->GenerateKeyPair(algorithm, keySize);
|
| /developtools/hapsigner/binary_sign_tool/codesigning/fsverity/src/ |
| D | merkle_tree_builder.cpp | 30 void MerkleTreeBuilder::SetAlgorithm(const std::string& algorithm) in SetAlgorithm() argument 32 mAlgorithm = algorithm; in SetAlgorithm()
|
| /developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/ |
| D | merkle_tree_builder.cpp | 30 void MerkleTreeBuilder::SetAlgorithm(const std::string& algorithm) in SetAlgorithm() argument 32 mAlgorithm = algorithm; in SetAlgorithm()
|
| /developtools/hapsigner/hapsigntool_cpp/profile/src/ |
| D | pkcs7_data.cpp | 76 if (dig == NULL || dig->algorithm == NULL || in SetSignerInfoSignAlgor() 77 (hashNid = OBJ_obj2nid(dig->algorithm)) == NID_undef || in SetSignerInfoSignAlgor() 643 int numberID = OBJ_obj2nid(info->digest_alg->algorithm); in Pkcs7DataFinalSignAttr()
|
| /developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/ |
| D | hap_signer_block_utils_test.cpp | 106 if (dig == NULL || dig->algorithm == NULL || in SetTestSignerInfoSignAlgor() 107 (hashNid = OBJ_obj2nid(dig->algorithm)) == NID_undef || in SetTestSignerInfoSignAlgor()
|
| /developtools/hapsigner/hapsigntool_cpp/utils/src/ |
| D | key_store_helper.cpp | 508 EVP_PKEY* KeyStoreHelper::GenerateKeyPair(const std::string& algorithm, int keySize) in GenerateKeyPair() argument 510 if (algorithm.empty() || (0 == keySize)) { in GenerateKeyPair()
|
| /developtools/smartperf_host/smartperf_host/trace_streamer/prebuilts/patch_hiperf/ |
| D | hiviewdfx_faultloggerd.patch | 200 -#include <algorithm> 949 +#include <algorithm>
|
| /developtools/profiler/hiebpf/include/ |
| D | vmlinux.h | 114542 u8 algorithm[4]; member 130936 uint8_t algorithm; member
|