Home
last modified time | relevance | path

Searched refs:crypto_cipher (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/net/mac80211/
Daes_cmac.h14 struct crypto_cipher *ieee80211_aes_cmac_key_setup(const u8 key[],
16 void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad,
18 void ieee80211_aes_cmac_256(struct crypto_cipher *tfm, const u8 *aad,
20 void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm);
Daes_cmac.c38 static void aes_cmac_vector(struct crypto_cipher *tfm, size_t num_elem, in aes_cmac_vector()
95 void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad, in ieee80211_aes_cmac()
113 void ieee80211_aes_cmac_256(struct crypto_cipher *tfm, const u8 *aad, in ieee80211_aes_cmac_256()
131 struct crypto_cipher *ieee80211_aes_cmac_key_setup(const u8 key[], in ieee80211_aes_cmac_key_setup()
134 struct crypto_cipher *tfm; in ieee80211_aes_cmac_key_setup()
144 void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm) in ieee80211_aes_cmac_key_free()
Dtkip.h18 int ieee80211_tkip_encrypt_data(struct crypto_cipher *tfm,
29 int ieee80211_tkip_decrypt_data(struct crypto_cipher *tfm,
Dwep.h21 int ieee80211_wep_encrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
26 int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
Dkey.h92 struct crypto_cipher *tfm;
Dwep.c134 int ieee80211_wep_encrypt_data(struct crypto_cipher *tfm, u8 *rc4key, in ieee80211_wep_encrypt_data()
195 int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key, in ieee80211_wep_decrypt_data()
Dtkip.c225 int ieee80211_tkip_encrypt_data(struct crypto_cipher *tfm, in ieee80211_tkip_encrypt_data()
242 int ieee80211_tkip_decrypt_data(struct crypto_cipher *tfm, in ieee80211_tkip_decrypt_data()
Dieee80211_i.h1209 struct crypto_cipher *wep_tx_tfm;
1210 struct crypto_cipher *wep_rx_tfm;
/linux-4.4.14/crypto/
Dpcbc.c26 struct crypto_cipher *child;
33 struct crypto_cipher *child = ctx->child; in crypto_pcbc_setkey()
47 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment()
72 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace()
104 struct crypto_cipher *child = ctx->child; in crypto_pcbc_encrypt()
125 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment()
152 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace()
184 struct crypto_cipher *child = ctx->child; in crypto_pcbc_decrypt()
208 struct crypto_cipher *cipher; in crypto_pcbc_init_tfm()
Dcbc.c23 struct crypto_cipher *child;
30 struct crypto_cipher *child = ctx->child; in crypto_cbc_setkey()
44 struct crypto_cipher *tfm) in crypto_cbc_encrypt_segment()
68 struct crypto_cipher *tfm) in crypto_cbc_encrypt_inplace()
97 struct crypto_cipher *child = ctx->child; in crypto_cbc_encrypt()
116 struct crypto_cipher *tfm) in crypto_cbc_decrypt_segment()
142 struct crypto_cipher *tfm) in crypto_cbc_decrypt_inplace()
176 struct crypto_cipher *child = ctx->child; in crypto_cbc_decrypt()
198 struct crypto_cipher *cipher; in crypto_cbc_init_tfm()
Decb.c22 struct crypto_cipher *child;
29 struct crypto_cipher *child = ctx->child; in crypto_ecb_setkey()
43 struct crypto_cipher *tfm, in crypto_ecb_crypt()
76 struct crypto_cipher *child = ctx->child; in crypto_ecb_encrypt()
90 struct crypto_cipher *child = ctx->child; in crypto_ecb_decrypt()
102 struct crypto_cipher *cipher; in crypto_ecb_init_tfm()
Dkeywrap.c91 struct crypto_cipher *child;
141 struct crypto_cipher *child = ctx->child; in crypto_kw_decrypt()
226 struct crypto_cipher *child = ctx->child; in crypto_kw_encrypt()
309 struct crypto_cipher *child = ctx->child; in crypto_kw_setkey()
326 struct crypto_cipher *cipher; in crypto_kw_init_tfm()
Dctr.c25 struct crypto_cipher *child;
42 struct crypto_cipher *child = ctx->child; in crypto_ctr_setkey()
56 struct crypto_cipher *tfm) in crypto_ctr_crypt_final()
75 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment()
101 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace()
134 struct crypto_cipher *child = ctx->child; in crypto_ctr_crypt()
163 struct crypto_cipher *cipher; in crypto_ctr_init_tfm()
Dxcbc.c41 struct crypto_cipher *child;
102 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update()
148 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final()
179 struct crypto_cipher *cipher; in xcbc_init_tfm()
Dcmac.c34 struct crypto_cipher *child;
128 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update()
174 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final()
205 struct crypto_cipher *cipher; in cmac_init_tfm()
Dxts.c29 struct crypto_cipher *child;
30 struct crypto_cipher *tweak;
37 struct crypto_cipher *child = ctx->tweak; in setkey()
243 struct crypto_cipher *cipher; in init_tfm()
Dlrw.c33 struct crypto_cipher *child;
83 struct crypto_cipher *child = ctx->child; in setkey()
298 struct crypto_cipher *cipher; in init_tfm()
Dccm.c30 struct crypto_cipher *cipher;
87 struct crypto_cipher *tfm = ctx->cipher; in crypto_ccm_setkey()
170 static void compute_mac(struct crypto_cipher *tfm, u8 *data, int n, in compute_mac()
209 static void get_data_to_compute(struct crypto_cipher *tfm, in get_data_to_compute()
257 struct crypto_cipher *cipher = ctx->cipher; in crypto_ccm_auth()
456 struct crypto_cipher *cipher; in crypto_ccm_init_tfm()
Ddrbg.c1686 struct crypto_cipher *tfm; in drbg_init_sym_kernel()
1701 struct crypto_cipher *tfm = in drbg_fini_sym_kernel()
1702 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel()
1712 struct crypto_cipher *tfm = in drbg_kcapi_sym()
1713 (struct crypto_cipher *)drbg->priv_data; in drbg_kcapi_sym()
Dansi_cprng.c52 struct crypto_cipher *tfm;
Dvmac.c624 struct crypto_cipher *cipher; in vmac_init_tfm()
Dtestmgr.c850 static int test_cipher(struct crypto_cipher *tfm, int enc, in test_cipher()
1566 struct crypto_cipher *tfm; in alg_test_cipher()
/linux-4.4.14/include/linux/
Dcrypto.h576 struct crypto_cipher { struct
1415 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1417 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
1420 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1440 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
1450 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
1459 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
1483 static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm) in crypto_cipher_crt()
1498 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
1503 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
[all …]
/linux-4.4.14/drivers/crypto/vmx/
Daes.c33 struct crypto_cipher *fallback;
41 struct crypto_cipher *fallback; in p8_aes_init()
61 crypto_cipher *) in p8_aes_init()
/linux-4.4.14/include/crypto/
Dvmac.h57 struct crypto_cipher *child;
Dalgapi.h264 static inline struct crypto_cipher *crypto_spawn_cipher( in crypto_spawn_cipher()
273 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
/linux-4.4.14/drivers/crypto/
Dgeode-aes.h68 struct crypto_cipher *cip;
/linux-4.4.14/net/wireless/
Dlib80211_crypt_ccmp.c55 struct crypto_cipher *tfm;
63 static inline void lib80211_ccmp_aes_encrypt(struct crypto_cipher *tfm, in lib80211_ccmp_aes_encrypt()
111 static void ccmp_init_blocks(struct crypto_cipher *tfm, in ccmp_init_blocks()
384 struct crypto_cipher *tfm = data->tfm; in lib80211_ccmp_set_key()
/linux-4.4.14/drivers/usb/wusbcore/
Dcrypto.c199 struct crypto_cipher *tfm_aes, void *mic, in wusb_ccm_mac()
305 struct crypto_cipher *tfm_aes; in wusb_prf()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto.h75 struct crypto_cipher *tfm_cipher;
Dccp-crypto-aes-cmac.c342 struct crypto_cipher *cipher_tfm; in ccp_aes_cmac_cra_init()
/linux-4.4.14/drivers/md/
Ddm-crypt.c268 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_init()
294 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_wipe()
308 static struct crypto_cipher *setup_essiv_cpu(struct crypt_config *cc, in setup_essiv_cpu()
312 struct crypto_cipher *essiv_tfm; in setup_essiv_cpu()
342 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_dtr()
362 struct crypto_cipher *essiv_tfm = NULL; in crypt_iv_essiv_ctr()
410 struct crypto_cipher *essiv_tfm = cc->iv_private; in crypt_iv_essiv_gen()
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c47 struct crypto_cipher *cip;
/linux-4.4.14/include/net/
Dtcp.h1443 struct crypto_cipher *tfm;
/linux-4.4.14/drivers/net/wireless/
Dairo.c1219 struct crypto_cipher *tfm;
1294 struct crypto_cipher *tfm);
1301 struct crypto_cipher *tfm) in age_mic_context()
1633 struct crypto_cipher *tfm) in emmh32_setseed()