Home
last modified time | relevance | path

Searched defs:algo (Results 1 – 25 of 39) 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/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c564 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()
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/certificate_framework/test/unittest/v1.0/src/
Dcrypto_x509_cert_chain_validator_test.cpp261 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/
Dsym_common_defines.h24 HcfAlgValue algo; member
/base/security/crypto_framework/common/inc/
Dparams_parser.h222 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/
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
/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/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/msdp/device_status/services/native/src/
Ddevicestatus_manager.cpp604 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/
Dkey_agreement.c41 HcfAlgValue algo; member
Dkdf.c39 HcfAlgValue algo; member
Dsignature.c52 HcfAlgValue algo; member
58 HcfAlgValue algo; member
/base/msdp/device_status/test/unittest/services/unittest/src/
Ddevicestatus_manager_test.cpp143 auto algo = std::make_shared<BoomerangAlgoImpl>(); variable
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c168 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
/base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/boringssl/
Dsoft_hash.c20 uint32_t algo; member
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c222 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/
Dhvb.c129 static enum hvb_errno get_desc_size(uint32_t algo, uint32_t pubkey_num_per_ptn, uint64_t *desc_size) in get_desc_size()

12