Home
last modified time | relevance | path

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

/linux-4.1.27/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.h95 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.h1216 struct crypto_cipher *wep_tx_tfm;
1217 struct crypto_cipher *wep_rx_tfm;
/linux-4.1.27/crypto/
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()
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()
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()
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()
Dccm.c30 struct crypto_cipher *cipher;
81 struct crypto_cipher *tfm = ctx->cipher; in crypto_ccm_setkey()
164 static void compute_mac(struct crypto_cipher *tfm, u8 *data, int n, in compute_mac()
203 static void get_data_to_compute(struct crypto_cipher *tfm, in get_data_to_compute()
251 struct crypto_cipher *cipher = ctx->cipher; in crypto_ccm_auth()
437 struct crypto_cipher *cipher; in crypto_ccm_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()
Ddrbg.c1634 struct crypto_cipher *tfm; in drbg_init_sym_kernel()
1648 struct crypto_cipher *tfm = in drbg_fini_sym_kernel()
1649 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel()
1659 struct crypto_cipher *tfm = in drbg_kcapi_sym()
1660 (struct crypto_cipher *)drbg->priv_data; in drbg_kcapi_sym()
Dansi_cprng.c54 struct crypto_cipher *tfm;
Dvmac.c624 struct crypto_cipher *cipher; in vmac_init_tfm()
Dtestmgr.c831 static int test_cipher(struct crypto_cipher *tfm, int enc, in test_cipher()
1534 struct crypto_cipher *tfm; in alg_test_cipher()
/linux-4.1.27/drivers/crypto/vmx/
Daes.c33 struct crypto_cipher *fallback;
41 struct crypto_cipher *fallback; in p8_aes_init()
59 crypto_cipher_get_flags((struct crypto_cipher *) tfm)); in p8_aes_init()
/linux-4.1.27/include/linux/
Dcrypto.h705 struct crypto_cipher { struct
1942 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1944 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
1947 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1967 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
1977 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
1986 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
2010 static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm) in crypto_cipher_crt()
2025 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
2030 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
[all …]
/linux-4.1.27/include/crypto/
Dvmac.h57 struct crypto_cipher *child;
Dalgapi.h277 static inline struct crypto_cipher *crypto_spawn_cipher( in crypto_spawn_cipher()
286 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
/linux-4.1.27/drivers/crypto/
Dgeode-aes.h68 struct crypto_cipher *cip;
/linux-4.1.27/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.1.27/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.1.27/drivers/crypto/ccp/
Dccp-crypto.h75 struct crypto_cipher *tfm_cipher;
Dccp-crypto-aes-cmac.c324 struct crypto_cipher *cipher_tfm; in ccp_aes_cmac_cra_init()
/linux-4.1.27/drivers/md/
Ddm-crypt.c267 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_init()
293 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_wipe()
307 static struct crypto_cipher *setup_essiv_cpu(struct crypt_config *cc, in setup_essiv_cpu()
311 struct crypto_cipher *essiv_tfm; in setup_essiv_cpu()
341 struct crypto_cipher *essiv_tfm; in crypt_iv_essiv_dtr()
361 struct crypto_cipher *essiv_tfm = NULL; in crypt_iv_essiv_ctr()
409 struct crypto_cipher *essiv_tfm = cc->iv_private; in crypt_iv_essiv_gen()
/linux-4.1.27/arch/s390/crypto/
Daes_s390.c46 struct crypto_cipher *cip;
/linux-4.1.27/include/net/
Dtcp.h1367 struct crypto_cipher *tfm;
/linux-4.1.27/drivers/net/wireless/
Dairo.c1219 struct crypto_cipher *tfm;
1293 struct crypto_cipher *tfm);
1300 struct crypto_cipher *tfm) in age_mic_context()
1632 struct crypto_cipher *tfm) in emmh32_setseed()