Home
last modified time | relevance | path

Searched defs:algo (Results 1 – 17 of 17) 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.c411 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
434 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
478 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
510 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
603 …ic int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm algo, in ConstructGenerateKeyPairWithStorageParams()
636 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
704 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
730 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
803 static int32_t ConstructSignParams(struct HksParamSet **paramSet, Algorithm algo) in ConstructSignParams()
826 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
[all …]
/base/security/crypto_framework/test/unittest/src/
Dcrypto_x509_cert_chain_validator_test.cpp168 const char *algo = g_validator->getAlgorithm(g_validator); variable
332 const char *algo = g_validator->getAlgorithm(nullptr); variable
344 const char *algo = g_validator->getAlgorithm(&invalidValidator); variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c423 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
555 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
598 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
634 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
732 …ic int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm algo, in ConstructGenerateKeyPairWithStorageParams()
765 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
832 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
858 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
931 static int32_t ConstructSignParams(struct HksParamSet **paramSet, Algorithm algo) in ConstructSignParams()
954 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.c685 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
693 … int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, in AgreeSharedSecretWithStorage()
704 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
713 …atic int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo, in GenerateKeyPairWithStorage()
724 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
739 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
750 static int32_t Verify(const Uint8Buff *key, const Uint8Buff *message, Algorithm algo, in Verify()
761 static int32_t ImportPublicKey(const Uint8Buff *keyAlias, const Uint8Buff *pubKey, Algorithm algo, in ImportPublicKey()
771 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 HCF_ALG_VALUE algo; member
/base/security/crypto_framework/common/inc/
Dparams_parser.h104 HCF_ALG_VALUE algo; member
113 HCF_ALG_VALUE algo; // algType member
119 HCF_ALG_VALUE algo; // algType member
127 HCF_ALG_VALUE algo; member
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_key.cpp48 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
Dnapi_sym_key_generator.cpp438 const char *algo = generator->getAlgoName(generator); in JsGetAlgorithm() local
Dnapi_cipher.cpp582 const char *algo = cipher->getAlgorithm(cipher); in JsGetAlgorithm() local
/base/security/crypto_framework/frameworks/crypto_operation/
Dsignature.c49 HCF_ALG_VALUE algo; member
55 HCF_ALG_VALUE algo; member
Dkey_agreement.c39 HCF_ALG_VALUE algo; member
Dcipher.c41 HCF_ALG_VALUE algo; member
/base/security/crypto_framework/frameworks/key/
Dasy_key_generator.c40 HCF_ALG_VALUE algo; member
Dsym_key_generator.c40 HCF_ALG_VALUE algo; member
/base/security/crypto_framework/frameworks/certificate/
Dcert_chain_validator.c169 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c42 static uint64_t get_hash_size(uint32_t algo) in get_hash_size()