| /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 | 411 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/ |
| D | crypto_x509_cert_chain_validator_test.cpp | 168 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/ |
| D | huks_adapter.c | 423 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/ |
| D | huks_adapter.c | 685 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/ |
| D | sym_common_defines.h | 24 HCF_ALG_VALUE algo; member
|
| /base/security/crypto_framework/common/inc/ |
| D | params_parser.h | 104 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/ |
| D | napi_key.cpp | 48 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_cipher.cpp | 582 const char *algo = cipher->getAlgorithm(cipher); in JsGetAlgorithm() local
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | signature.c | 49 HCF_ALG_VALUE algo; member 55 HCF_ALG_VALUE algo; member
|
| D | key_agreement.c | 39 HCF_ALG_VALUE algo; member
|
| D | cipher.c | 41 HCF_ALG_VALUE algo; member
|
| /base/security/crypto_framework/frameworks/key/ |
| D | asy_key_generator.c | 40 HCF_ALG_VALUE algo; member
|
| D | sym_key_generator.c | 40 HCF_ALG_VALUE algo; member
|
| /base/security/crypto_framework/frameworks/certificate/ |
| D | cert_chain_validator.c | 169 const char *algo = (const char *)impl->algorithm; in GetAlgorithm() local
|
| /base/startup/hvb/libhvb/src/cert/ |
| D | hvb_cert.c | 42 static uint64_t get_hash_size(uint32_t algo) in get_hash_size()
|