/drivers/net/netdevsim/ |
D | ipsec.c | 90 char *alg_name = NULL; in nsim_ipsec_parse_proto_keys() local 106 alg_name = xs->aead->alg_name; in nsim_ipsec_parse_proto_keys() 108 if (strcmp(alg_name, aes_gcm_name)) { in nsim_ipsec_parse_proto_keys()
|
/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 34 #define COMP_NAME_TO_TYPE(alg_name) \ argument 35 (!strcmp((alg_name), "zlib-deflate") ? HZIP_ALG_TYPE_ZLIB : \ 36 !strcmp((alg_name), "gzip") ? HZIP_ALG_TYPE_GZIP : 0) \ 359 const char *alg_name = crypto_tfm_alg_name(&tfm->base); in hisi_zip_acomp_init() local 363 ret = hisi_zip_ctx_init(ctx, COMP_NAME_TO_TYPE(alg_name)); in hisi_zip_acomp_init()
|
/drivers/crypto/qce/ |
D | sha.c | 356 const char *alg_name; in qce_ahash_hmac_setkey() local 367 alg_name = "sha1-qce"; in qce_ahash_hmac_setkey() 369 alg_name = "sha256-qce"; in qce_ahash_hmac_setkey() 373 ahash_tfm = crypto_alloc_ahash(alg_name, 0, 0); in qce_ahash_hmac_setkey()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 216 char *alg_name = NULL; in ixgbevf_ipsec_parse_proto_keys() local 232 alg_name = xs->aead->alg_name; in ixgbevf_ipsec_parse_proto_keys() 234 if (strcmp(alg_name, aes_gcm_name)) { in ixgbevf_ipsec_parse_proto_keys()
|
/drivers/md/ |
D | dm-verity-target.c | 703 v->alg_name in verity_status() 802 kfree(v->alg_name); in verity_dtr() 1051 v->alg_name = kstrdup(argv[7], GFP_KERNEL); in verity_ctr() 1052 if (!v->alg_name) { in verity_ctr() 1058 v->tfm = crypto_alloc_ahash(v->alg_name, 0, 0); in verity_ctr() 1071 DMINFO("%s using implementation \"%s\"", v->alg_name, in verity_ctr()
|
D | dm-verity.h | 38 char *alg_name; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 432 char *alg_name = NULL; in ixgbe_ipsec_parse_proto_keys() local 448 alg_name = xs->aead->alg_name; in ixgbe_ipsec_parse_proto_keys() 450 if (strcmp(alg_name, aes_gcm_name)) { in ixgbe_ipsec_parse_proto_keys() 940 memcpy(xs->aead->alg_name, aes_gcm_name, sizeof(aes_gcm_name)); in ixgbe_ipsec_vf_add_sa()
|
/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 278 const char *alg_name = crypto_tfm_alg_name(tfm); in rk_cra_hash_init() local 293 tctx->fallback_tfm = crypto_alloc_ahash(alg_name, 0, in rk_cra_hash_init()
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1764 char *alg_name; in r871x_wx_set_enc_ext() local 1770 alg_name = "none"; in r871x_wx_set_enc_ext() 1773 alg_name = "WEP"; in r871x_wx_set_enc_ext() 1776 alg_name = "TKIP"; in r871x_wx_set_enc_ext() 1779 alg_name = "CCMP"; in r871x_wx_set_enc_ext() 1791 strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); in r871x_wx_set_enc_ext()
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 1064 char *alg_name; in cfg80211_rtw_add_key() local 1092 alg_name = "none"; in cfg80211_rtw_add_key() 1096 alg_name = "WEP"; in cfg80211_rtw_add_key() 1099 alg_name = "TKIP"; in cfg80211_rtw_add_key() 1102 alg_name = "CCMP"; in cfg80211_rtw_add_key() 1105 alg_name = "BIP"; in cfg80211_rtw_add_key() 1112 strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); in cfg80211_rtw_add_key()
|
D | ioctl_linux.c | 2131 char *alg_name; in rtw_wx_set_enc_ext() local 2151 alg_name = "none"; in rtw_wx_set_enc_ext() 2154 alg_name = "WEP"; in rtw_wx_set_enc_ext() 2157 alg_name = "TKIP"; in rtw_wx_set_enc_ext() 2160 alg_name = "CCMP"; in rtw_wx_set_enc_ext() 2163 alg_name = "BIP"; in rtw_wx_set_enc_ext() 2170 strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); in rtw_wx_set_enc_ext()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 1857 char *alg_name; in rtw_wx_set_enc_ext() local 1878 alg_name = "none"; in rtw_wx_set_enc_ext() 1881 alg_name = "WEP"; in rtw_wx_set_enc_ext() 1884 alg_name = "TKIP"; in rtw_wx_set_enc_ext() 1887 alg_name = "CCMP"; in rtw_wx_set_enc_ext() 1894 strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); in rtw_wx_set_enc_ext()
|
/drivers/crypto/ |
D | img-hash.c | 672 static int img_hash_cra_init(struct crypto_tfm *tfm, const char *alg_name) in img_hash_cra_init() argument 677 ctx->fallback = crypto_alloc_ahash(alg_name, 0, in img_hash_cra_init()
|
D | s5p-sss.c | 1680 const char *alg_name = crypto_tfm_alg_name(tfm); in s5p_hash_cra_init_alg() local 1684 tctx->fallback = crypto_alloc_shash(alg_name, 0, in s5p_hash_cra_init_alg() 1687 pr_err("fallback alloc fails for '%s'\n", alg_name); in s5p_hash_cra_init_alg()
|
D | omap-sham.c | 1352 const char *alg_name = crypto_tfm_alg_name(tfm); in omap_sham_cra_init_alg() local 1355 tctx->fallback = crypto_alloc_shash(alg_name, 0, in omap_sham_cra_init_alg() 1359 "could not be loaded.\n", alg_name); in omap_sham_cra_init_alg()
|
/drivers/crypto/bcm/ |
D | cipher.c | 1972 const char *alg_name; in ahash_enqueue() local 1994 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_enqueue() 1996 rctx->is_final ? "" : "non-", alg_name); in ahash_enqueue() 1997 err = do_shash((unsigned char *)alg_name, req->result, in ahash_enqueue() 2084 const char *alg_name; in ahash_init() local 2095 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_init() 2096 hash = crypto_alloc_shash(alg_name, 0, 0); in ahash_init()
|