Home
last modified time | relevance | path

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

/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/small/
Dhuks_adapter.c425 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
448 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
491 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
525 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
620 …ic int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm algo, in ConstructGenerateKeyPairWithStorageParams()
653 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
722 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
748 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
825 static int32_t ConstructSignParams(struct HksParamSet **paramSet, Algorithm algo) in ConstructSignParams()
848 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c427 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
561 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
604 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
642 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
742 …ic int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm algo, in ConstructGenerateKeyPairWithStorageParams()
775 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
844 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
870 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
947 static int32_t ConstructSignParams(struct HksParamSet **paramSet, Algorithm algo) in ConstructSignParams()
970 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c692 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
700 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
711 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
720 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
731 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
746 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
757 static int32_t Verify(const Uint8Buff *key, const Uint8Buff *message, Algorithm algo, in Verify()
768 static int32_t ImportPublicKey(const Uint8Buff *keyAlias, const Uint8Buff *pubKey, Algorithm algo, in ImportPublicKey()
778 static bool CheckEcPublicKey(const Uint8Buff *pubKey, Algorithm algo) in CheckEcPublicKey()
/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.h136 HcfAlgValue algo; member
145 HcfAlgValue algo; // algType member
151 HcfAlgValue algo; // algType member
158 HcfAlgValue algo; member
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_key.cpp50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_key.cpp58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
Dnapi_sym_key_generator.cpp438 const char *algo = generator->getAlgoName(generator); in JsGetAlgorithm() local
Dnapi_asy_key_spec_generator.cpp505 const char *algo = generator->getAlgName(generator); in JsGetAlgorithm() local
Dnapi_cipher.cpp551 const char *algo = cipher->getAlgorithm(cipher); in JsGetAlgorithm() local
/base/security/crypto_framework/frameworks/crypto_operation/
Dkey_agreement.c39 HcfAlgValue algo; member
Dsignature.c51 HcfAlgValue algo; member
57 HcfAlgValue algo; member
Dcipher.c42 HcfAlgValue algo; member
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c169 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
/base/security/crypto_framework/frameworks/key/
Dsym_key_generator.c41 HcfAlgValue algo; member
Dasy_key_generator.c59 HcfAlgValue algo; member
74 HcfAlgValue algo; // algType member
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c215 Algorithm algo; in EcSpekeCalBase() local
272 Algorithm algo; in EcSpekeCalEpkSelf() local
307 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid() local
319 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CalP() local
/base/msdp/device_status/libs/test/unittest/src/
Ddevice_status_algorithm_test.cpp617 std::shared_ptr<MsdpAlgoHandle> algo = std::make_shared<MsdpAlgoHandle>(); variable
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c42 static uint64_t get_hash_size(uint32_t algo) in get_hash_size()