/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/small/ |
D | huks_adapter.c | 425 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/ |
D | huks_adapter.c | 427 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/ |
D | huks_adapter.c | 692 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/ |
D | sym_common_defines.h | 24 HcfAlgValue algo; member
|
/base/security/crypto_framework/common/inc/ |
D | params_parser.h | 136 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/ |
D | napi_key.cpp | 50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_key.cpp | 58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm() local
|
D | napi_sym_key_generator.cpp | 438 const char *algo = generator->getAlgoName(generator); in JsGetAlgorithm() local
|
D | napi_asy_key_spec_generator.cpp | 505 const char *algo = generator->getAlgName(generator); in JsGetAlgorithm() local
|
D | napi_cipher.cpp | 551 const char *algo = cipher->getAlgorithm(cipher); in JsGetAlgorithm() local
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | key_agreement.c | 39 HcfAlgValue algo; member
|
D | signature.c | 51 HcfAlgValue algo; member 57 HcfAlgValue algo; member
|
D | cipher.c | 42 HcfAlgValue algo; member
|
/base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
D | cert_chain_validator.c | 169 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
|
/base/security/crypto_framework/frameworks/key/ |
D | sym_key_generator.c | 41 HcfAlgValue algo; member
|
D | asy_key_generator.c | 59 HcfAlgValue algo; member 74 HcfAlgValue algo; // algType member
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
D | ec_speke_protocol.c | 215 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/ |
D | device_status_algorithm_test.cpp | 617 std::shared_ptr<MsdpAlgoHandle> algo = std::make_shared<MsdpAlgoHandle>(); variable
|
/base/startup/hvb/libhvb/src/cert/ |
D | hvb_cert.c | 42 static uint64_t get_hash_size(uint32_t algo) in get_hash_size()
|