| /base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
| H A D | sm2_openssl.c | 58 static bool IsDigestAlgValid(uint32_t alg) in IsDigestAlgValid() argument
|
| H A D | ecdsa_openssl.c | 52 static bool IsDigestAlgValid(uint32_t alg) in IsDigestAlgValid() argument 64 static bool IsBrainPoolDigestAlgValid(uint32_t alg) in IsBrainPoolDigestAlgValid() argument [all...] |
| /base/security/crypto_framework/test/unittest/src/ |
| H A D | crypto_dsa_asy_key_generator_by_spec_test.cpp | 535 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); in HWTEST_F() local 718 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); in HWTEST_F() local 940 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); in HWTEST_F() local 1133 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); in HWTEST_F() local 1320 const char *alg = pk->base.getAlgorithm(&(pk->base)); in HWTEST_F() local 1506 const char *alg = sk->base.getAlgorithm(&(sk->base)); HWTEST_F() local [all...] |
| H A D | crypto_dsa_asy_key_generator_test.cpp | 350 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm(&(dsa2048KeyPair_->pubKey->base)); in HWTEST_F() local 356 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm(nullptr); in HWTEST_F() local 362 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm((HcfKey *)&g_obj); in HWTEST_F() local 503 const char *alg = dsa2048KeyPair_->priKey->base.getAlgorithm(&(dsa2048KeyPair_->priKey->base)); in HWTEST_F() local 780 const char *alg = convertKeyPair->pubKey->base.getAlgorithm(&(convertKeyPair->pubKey->base)); in HWTEST_F() local [all...] |
| /base/security/device_auth/services/legacy/authenticators/src/account_unrelated/creds_manager/ |
| H A D | das_standard_token_manager.c | 299 Algorithm alg = (params->baseParams.curveType == CURVE_256) ? P256 : ED25519; in ComputeAndSavePskInner() local
|
| /base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/ |
| H A D | das_version_util.c | 25 uint32_t alg; member
|
| /base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
| H A D | common_standard_bind_exchange.c | 101 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in GenerateKeyPairIfNotExist() local 202 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in GenerateSignInfo() local 382 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in VerifySignInfo() local 417 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in SaveAuthInfo() local
|
| /base/security/huks/test/reliability/src/ |
| H A D | pressure_test.cpp | 683 HksParam alg = { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECDH }; in HWTEST_F() local 1170 HksParam alg = { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECDH }; in HWTEST_F() local
|
| /base/security/huks/utils/crypto_adapter/ |
| H A D | hks_client_service_adapter_lite.c | 408 int32_t TranslateFromX509PublicKey(const uint32_t alg, const struct HksBlob *x509Key, struct HksBlob *publicKey)
in TranslateFromX509PublicKey() argument
|
| /base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
| H A D | hks_core_service_key_operate_three_stage.c | 97 static int32_t GetPurposeAndAlgorithm(const struct HksParamSet *paramSet, uint32_t *pur, uint32_t *alg) in GetPurposeAndAlgorithm() argument 216 uint32_t alg in HksCoreUpdateProcess() local 184 HksCoreInitProcess(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, uint32_t pur, uint32_t alg) HksCoreInitProcess() argument 251 uint32_t alg = 0; HksCoreFinishProcess() local 328 uint32_t alg = 0; HksCoreInit() local 428 uint32_t alg = 0; HksBatchUpdate() local 540 uint32_t alg = 0; HksCoreAbort() local [all...] |
| /base/update/updater/test/fuzztest/package_fuzzer/ |
| H A D | pkg_fuzz_test.h | 111 DigestAlgorithm::DigestAlgorithmPtr alg = in BuildFileDigest() local
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
| H A D | upg_check_boot_bin.c | 72 hi_u32 upg_check_boot_subk_attr(HI_CONST hi_void *key, hi_u32 alg) in upg_check_boot_subk_attr() argument 129 hi_u32 upg_check_boot_sub_key(HI_CONST hi_u8 *pubk, HI_CONST hi_u8 *subk, hi_u32 alg) in upg_check_boot_sub_key() argument
|
| /kernel/linux/linux-5.10/drivers/crypto/qce/ |
| H A D | skcipher.c | 389 struct skcipher_alg *alg; in qce_skcipher_register_one() local [all...] |
| /kernel/linux/linux-5.10/crypto/ |
| H A D | pcrypt.c | 220 pcrypt_init_instance(struct crypto_instance *inst, struct crypto_alg *alg) pcrypt_init_instance() argument 241 struct aead_alg *alg; pcrypt_create_aead() local [all...] |
| H A D | xts.c | 342 struct skcipher_alg *alg; in xts_create() local [all...] |
| H A D | api.c | 35 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get() argument 41 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put() argument 58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 95 crypto_larval_destroy(struct crypto_alg *alg) crypto_larval_destroy() argument 128 struct crypto_alg *alg; crypto_larval_add() local 154 crypto_larval_kill(struct crypto_alg *alg) crypto_larval_kill() argument 166 crypto_larval_wait(struct crypto_alg *alg) crypto_larval_wait() argument 196 struct crypto_alg *alg; crypto_alg_lookup() local 220 struct crypto_alg *alg; crypto_larval_lookup() local 263 struct crypto_alg *alg; crypto_alg_mod_lookup() local 311 crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) crypto_ctxsize() argument 336 crypto_shoot_alg(struct crypto_alg *alg) crypto_shoot_alg() argument 344 __crypto_alloc_tfm(struct crypto_alg *alg, u32 type, u32 mask) __crypto_alloc_tfm() argument 408 struct crypto_alg *alg; crypto_alloc_base() local 436 crypto_create_tfm_node(struct crypto_alg *alg, const struct crypto_type *frontend, int node) crypto_create_tfm_node() argument 525 struct crypto_alg *alg; crypto_alloc_tfm_node() local 563 struct crypto_alg *alg; crypto_destroy_tfm() local 581 struct crypto_alg *alg = crypto_alg_mod_lookup(name, type, mask); crypto_has_alg() local [all...] |
| H A D | lrw.c | 303 struct skcipher_alg *alg; in lrw_create() local [all...] |
| H A D | hmac.c | 169 struct crypto_alg *alg; in hmac_create() local [all...] |
| H A D | simd.c | 43 struct skcipher_alg alg; member 116 struct skcipher_alg *alg; in simd_skcipher_init() local 146 struct skcipher_alg *alg; in simd_skcipher_create_compat() local 283 struct aead_alg alg; global() member 364 struct aead_alg *alg; simd_aead_init() local 393 struct aead_alg *alg; simd_aead_create_compat() local [all...] |
| H A D | aead.c | 85 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() local 102 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() local 121 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 129 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 145 crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_aead_report() argument 162 crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_aead_report() argument 170 crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) crypto_aead_show() argument 219 aead_prepare_alg(struct aead_alg *alg) aead_prepare_alg() argument 237 crypto_register_aead(struct aead_alg *alg) crypto_register_aead() argument 250 crypto_unregister_aead(struct aead_alg *alg) crypto_unregister_aead() argument [all...] |
| H A D | scompress.c | 42 static int crypto_scomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() argument 54 static int crypto_scomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() argument 63 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show() argument 263 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp() argument 275 void crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp() argument
|
| /kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ss_hash_crainit() local 117 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_final() local 155 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_finup() local 180 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ss_hash_digest_fb() local 285 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ss_hash_digest() local 322 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ss_hash_run() local [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl.h | 147 } alg; member
|
| /kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
| H A D | sun8i-ce-hash.c | 24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit() local 117 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final() local 155 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup() local 180 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ce_hash_digest_fb() local 220 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ce_hash_digest() local 254 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); sun8i_ce_hash_run() local [all...] |
| /kernel/linux/linux-5.10/arch/s390/crypto/ |
| H A D | des_s390.c | 403 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg() argument 413 static int des_s390_register_skcipher(struct skcipher_alg *alg) in des_s390_register_skcipher() argument
|