Home
last modified time | relevance | path

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

12

/base/update/updater/test/unittest/package/
Dpkg_algo_unittest.cpp42 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/certificate_framework/test/unittest/v1.0/src/
Dcrypto_x509_cert_chain_validator_test.cpp261 const char *algo = g_validator->getAlgorithm(g_validator); variable
519 const char *algo = g_validator->getAlgorithm(nullptr); variable
531 const char *algo = g_validator->getAlgorithm(&invalidValidator); variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c552 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
625 Algorithm algo, uint32_t sharedKeyLen, const Uint8Buff *sharedKeyAlias) in AgreeSharedSecretWithStorage()
679 …tic int32_t AgreeSharedSecret(const KeyParams *priKeyParams, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecret()
714 …tic int32_t GenerateKeyPairWithStorage(const KeyParams *keyParams, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
782 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
881 static int32_t Sign(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo, in Sign()
936 static int32_t Verify(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo, in Verify()
972 static int32_t ImportPublicKey(const KeyParams *keyParams, const Uint8Buff *pubKey, Algorithm algo, in ImportPublicKey()
1097 static bool CheckEcPublicKey(const Uint8Buff *pubKey, Algorithm algo) in CheckEcPublicKey()
Dhuks_adapter_utils.c734 …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/
Dkey_impl.cpp51 const char *algo = hcfKey_->getAlgorithm(hcfKey_); in GetAlgorithm() local
Dsym_key_generator_impl.cpp36 const char *algo = generator_->getAlgoName(generator_); in GetAlgName() local
Dcipher_impl.cpp94 const char *algo = cipher_->getAlgorithm(cipher_); in GetAlgorithm() local
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/inc/
Dsym_common_defines.h24 HcfAlgValue algo; member
/base/security/crypto_framework/common/inc/
Dparams_parser.h219 HcfAlgValue algo; member
228 HcfAlgValue algo; // algType member
234 HcfAlgValue algo; // algType member
242 HcfAlgValue algo; member
246 HcfAlgValue algo; // algType member
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
Daudio_cenc_info_adapter_impl_test.cpp91 uint32_t algo = 1; variable
/base/web/webview/ohos_adapter/media_adapter/src/
Daudio_cenc_info_adapter_impl.cpp97 void AudioCencInfoAdapterImpl::SetAlgo(uint32_t algo) in SetAlgo()
/base/security/crypto_framework/frameworks/key/
Decc_key_util.c30 HcfAlgValue algo; member
Dsym_key_generator.c48 HcfAlgValue algo; member
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
Dark_audio_cenc_info_adapter_impl.cpp100 void ArkAudioCencInfoAdapterImpl::SetAlgo(uint32_t algo) in SetAlgo()
/base/msdp/device_status/services/native/src/
Ddevicestatus_manager.cpp425 std::shared_ptr<BoomerangAlgoImpl> algo = std::make_shared<BoomerangAlgoImpl>(); in BoomerangEncodeImage() local
445 std::shared_ptr<BoomerangAlgoImpl> algo = std::make_shared<BoomerangAlgoImpl>(); in BoomerangDecodeImage() local
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_key.cpp50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
Dark_audio_cenc_info_adapter_wrapper.cpp107 void ArkAudioCencInfoAdapterWrapper::SetAlgo(uint32_t algo) in SetAlgo()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_key.cpp58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
/base/security/crypto_framework/frameworks/crypto_operation/
Dkey_agreement.c41 HcfAlgValue algo; member
Dkdf.c39 HcfAlgValue algo; member
Dsignature.c52 HcfAlgValue algo; member
58 HcfAlgValue algo; member
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c168 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c221 Algorithm algo; in EcSpekeCalBase() local
280 Algorithm algo; in EcSpekeCalEpkSelf() local
316 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid() local
328 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CalP() local
/base/startup/hvb/libhvb/src/auth/
Dhvb.c128 static enum hvb_errno get_desc_size(uint32_t algo, uint32_t pubkey_num_per_ptn, uint64_t *desc_size) in get_desc_size()
/base/security/crypto_framework/common/src/
Dasy_key_params.c43 char *algo; member

12