| /base/update/updater/test/unittest/package/ |
| D | pkg_algo_unittest.cpp | 42 std::unique_ptr<Crc32Algorithm> algo = std::make_unique<Crc32Algorithm>(); in TestCrcDigest() local 65 std::unique_ptr<Sha256Algorithm> algo = std::make_unique<Sha256Algorithm>(); in TestHash256Digest() local 84 std::unique_ptr<Sha384Algorithm> algo = std::make_unique<Sha384Algorithm>(); in TestHash384Digest() local 122 PkgAlgorithm::PkgAlgorithmPtr algo = PkgAlgorithmFactory::GetAlgorithm(nullptr); in TestInvalidParam() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
| D | huks_adapter.c | 564 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint() 649 Algorithm algo, uint32_t sharedKeyLen, const Uint8Buff *sharedKeyAlias) in AgreeSharedSecretWithStorage() 703 …tic int32_t AgreeSharedSecret(const KeyParams *priKeyParams, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecret() 738 …tic int32_t GenerateKeyPairWithStorage(const KeyParams *keyParams, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage() 806 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair() 905 static int32_t Sign(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo, in Sign() 960 static int32_t Verify(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo, in Verify() 996 static int32_t ImportPublicKey(const KeyParams *keyParams, const Uint8Buff *pubKey, Algorithm algo, in ImportPublicKey() 1121 static bool CheckEcPublicKey(const Uint8Buff *pubKey, Algorithm algo) in CheckEcPublicKey()
|
| D | huks_adapter_utils.c | 734 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams() 814 int32_t ConstructAgreeParamSet(const KeyParams *keyParams, Algorithm algo, const Uint8Buff *sharedK… in ConstructAgreeParamSet() 839 int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm algo, in ConstructGenerateKeyPairWithStorageParams() 884 int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32_t keyL… in ConstructGenerateKeyPairParams() 944 Algorithm algo) in ConstructSignParams() 980 …_t ConstructVerifyParams(struct HksParamSet **paramSet, const KeyParams *keyParams, Algorithm algo) in ConstructVerifyParams() 1018 int32_t ConstructImportPublicKeyParams(struct HksParamSet **paramSet, Algorithm algo, uint32_t keyL… in ConstructImportPublicKeyParams()
|
| /base/security/crypto_framework/frameworks/cj/src/ |
| D | key_impl.cpp | 51 const char *algo = hcfKey_->getAlgorithm(hcfKey_); in GetAlgorithm() local
|
| D | sym_key_generator_impl.cpp | 36 const char *algo = generator_->getAlgoName(generator_); in GetAlgName() local
|
| D | cipher_impl.cpp | 94 const char *algo = cipher_->getAlgorithm(cipher_); in GetAlgorithm() local
|
| /base/security/certificate_framework/test/unittest/v1.0/src/ |
| D | crypto_x509_cert_chain_validator_test.cpp | 261 const char *algo = g_validator->getAlgorithm(g_validator); variable 514 const char *algo = g_validator->getAlgorithm(nullptr); variable 526 const char *algo = g_validator->getAlgorithm(&invalidValidator); variable
|
| /base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/inc/ |
| D | sym_common_defines.h | 24 HcfAlgValue algo; member
|
| /base/security/crypto_framework/common/inc/ |
| D | params_parser.h | 222 HcfAlgValue algo; member 231 HcfAlgValue algo; // algType member 237 HcfAlgValue algo; // algType member 245 HcfAlgValue algo; member 249 HcfAlgValue algo; // algType member
|
| /base/web/webview/test/unittest/ohos_adapter/media_adapter_test/ |
| D | audio_cenc_info_adapter_impl_test.cpp | 91 uint32_t algo = 1; variable
|
| /base/web/webview/ohos_adapter/media_adapter/src/ |
| D | audio_cenc_info_adapter_impl.cpp | 97 void AudioCencInfoAdapterImpl::SetAlgo(uint32_t algo) in SetAlgo()
|
| /base/security/crypto_framework/frameworks/key/ |
| D | ecc_key_util.c | 30 HcfAlgValue algo; member
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
| D | ark_audio_cenc_info_adapter_impl.cpp | 100 void ArkAudioCencInfoAdapterImpl::SetAlgo(uint32_t algo) in SetAlgo()
|
| /base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
| D | napi_key.cpp | 50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
| D | ark_audio_cenc_info_adapter_wrapper.cpp | 107 void ArkAudioCencInfoAdapterWrapper::SetAlgo(uint32_t algo) in SetAlgo()
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_key.cpp | 58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
|
| /base/msdp/device_status/services/native/src/ |
| D | devicestatus_manager.cpp | 604 auto algo = std::make_shared<BoomerangAlgoImpl>(); in BoomerangEncodeImage() local 639 auto algo = std::make_shared<BoomerangAlgoImpl>(); in BoomerangDecodeImage() local 789 auto algo = std::make_shared<BoomerangAlgoImpl>(); in OnSurfaceCapture() local
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | key_agreement.c | 41 HcfAlgValue algo; member
|
| D | kdf.c | 39 HcfAlgValue algo; member
|
| D | signature.c | 52 HcfAlgValue algo; member 58 HcfAlgValue algo; member
|
| /base/msdp/device_status/test/unittest/services/unittest/src/ |
| D | devicestatus_manager_test.cpp | 143 auto algo = std::make_shared<BoomerangAlgoImpl>(); variable
|
| /base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
| D | cert_chain_validator.c | 168 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/boringssl/ |
| D | soft_hash.c | 20 uint32_t algo; member
|
| /base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
| D | ec_speke_protocol.c | 222 Algorithm algo; in EcSpekeCalBase() local 281 Algorithm algo; in EcSpekeCalEpkSelf() local 317 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid() local 329 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CalP() local
|
| /base/startup/hvb/libhvb/src/auth/ |
| D | hvb.c | 129 static enum hvb_errno get_desc_size(uint32_t algo, uint32_t pubkey_num_per_ptn, uint64_t *desc_size) in get_desc_size()
|