Home
last modified time | relevance | path

Searched defs:alg (Results 251 - 275 of 814) sorted by relevance

1...<<11121314151617181920>>...33

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
H A Dsm2_openssl.c58 static bool IsDigestAlgValid(uint32_t alg) in IsDigestAlgValid() argument
H A Decdsa_openssl.c52 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 Dcrypto_dsa_asy_key_generator_by_spec_test.cpp535 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 Dcrypto_dsa_asy_key_generator_test.cpp350 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 Ddas_standard_token_manager.c299 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 Ddas_version_util.c25 uint32_t alg; member
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c101 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 Dpressure_test.cpp683 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 Dhks_client_service_adapter_lite.c408 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 Dhks_core_service_key_operate_three_stage.c97 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 Dpkg_fuzz_test.h111 DigestAlgorithm::DigestAlgorithmPtr alg = in BuildFileDigest() local
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_check_boot_bin.c72 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 Dskcipher.c389 struct skcipher_alg *alg; in qce_skcipher_register_one() local
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dpcrypt.c220 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 Dxts.c342 struct skcipher_alg *alg; in xts_create() local
[all...]
H A Dapi.c35 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 Dlrw.c303 struct skcipher_alg *alg; in lrw_create() local
[all...]
H A Dhmac.c169 struct crypto_alg *alg; in hmac_create() local
[all...]
H A Dsimd.c43 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 Daead.c85 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 Dscompress.c42 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 Dsun8i-ss-hash.c24 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 Damlogic-gxl.h147 } alg; member
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c24 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 Ddes_s390.c403 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

Completed in 20 milliseconds

1...<<11121314151617181920>>...33