Searched refs:crypto_blkcipher (Results 1 - 50 of 50) sorted by relevance

/linux-4.1.27/include/linux/sunrpc/
H A Dgss_krb5.h74 u32 (*encrypt) (struct crypto_blkcipher *tfm,
77 u32 (*decrypt) (struct crypto_blkcipher *tfm,
101 struct crypto_blkcipher *enc;
102 struct crypto_blkcipher *seq;
103 struct crypto_blkcipher *acceptor_enc;
104 struct crypto_blkcipher *initiator_enc;
105 struct crypto_blkcipher *acceptor_enc_aux;
106 struct crypto_blkcipher *initiator_enc_aux;
265 krb5_encrypt(struct crypto_blkcipher *key,
269 krb5_decrypt(struct crypto_blkcipher *key,
273 gss_encrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *outbuf,
277 gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *inbuf,
282 struct crypto_blkcipher *key,
323 struct crypto_blkcipher *cipher,
328 struct crypto_blkcipher *cipher,
/linux-4.1.27/arch/x86/crypto/
H A Dfpu.c24 struct crypto_blkcipher *child;
31 struct crypto_blkcipher *child = ctx->child; crypto_fpu_setkey()
49 struct crypto_blkcipher *child = ctx->child; crypto_fpu_encrypt()
68 struct crypto_blkcipher *child = ctx->child; crypto_fpu_decrypt()
86 struct crypto_blkcipher *cipher; crypto_fpu_init_tfm()
H A Dsalsa20_glue.c53 struct crypto_blkcipher *tfm = desc->tfm; encrypt()
/linux-4.1.27/crypto/
H A DMakefile18 crypto_blkcipher-y := ablkcipher.o
19 crypto_blkcipher-y += blkcipher.o
20 obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
H A Decb.c74 struct crypto_blkcipher *tfm = desc->tfm; crypto_ecb_encrypt()
88 struct crypto_blkcipher *tfm = desc->tfm; crypto_ecb_decrypt()
H A Dcryptd.c61 struct crypto_blkcipher *child;
189 struct crypto_blkcipher *child = ctx->child; cryptd_blkcipher_setkey()
202 struct crypto_blkcipher *child, cryptd_blkcipher_crypt()
234 struct crypto_blkcipher *child = ctx->child; cryptd_blkcipher_encrypt()
243 struct crypto_blkcipher *child = ctx->child; cryptd_blkcipher_decrypt()
279 struct crypto_blkcipher *cipher; cryptd_blkcipher_init_tfm()
876 struct crypto_blkcipher *cryptd_ablkcipher_child(struct cryptd_ablkcipher *tfm) cryptd_ablkcipher_child()
H A Dcts.c54 struct crypto_blkcipher *child;
61 struct crypto_blkcipher *child = ctx->child; crypto_cts_setkey()
258 struct crypto_blkcipher *cipher; crypto_cts_init_tfm()
H A Dcbc.c95 struct crypto_blkcipher *tfm = desc->tfm; crypto_cbc_encrypt()
174 struct crypto_blkcipher *tfm = desc->tfm; crypto_cbc_decrypt()
H A Dpcbc.c102 struct crypto_blkcipher *tfm = desc->tfm; crypto_pcbc_encrypt()
182 struct crypto_blkcipher *tfm = desc->tfm; crypto_pcbc_decrypt()
H A Dsalsa20_generic.c182 struct crypto_blkcipher *tfm = desc->tfm; encrypt()
H A Dctr.c132 struct crypto_blkcipher *tfm = desc->tfm; crypto_ctr_crypt()
H A Dgcm.c47 struct crypto_blkcipher *null;
1241 struct crypto_blkcipher *null; crypto_rfc4543_init_tfm()
H A Dtcrypt.c426 struct crypto_blkcipher *tfm; test_cipher_speed()
447 get_driver_name(crypto_blkcipher, tfm), e); test_cipher_speed()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_krb5_seqnum.c46 struct crypto_blkcipher *cipher; krb5_make_rc4_seq_num()
76 struct crypto_blkcipher *key, krb5_make_seq_num()
104 struct crypto_blkcipher *cipher; krb5_get_rc4_seq_num()
145 struct crypto_blkcipher *key = kctx->seq; krb5_get_seq_num()
H A Dgss_krb5_crypto.c54 struct crypto_blkcipher *tfm, krb5_encrypt()
88 struct crypto_blkcipher *tfm, krb5_decrypt()
462 gss_encrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, gss_encrypt_xdr_buf()
538 gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, gss_decrypt_xdr_buf()
597 gss_krb5_cts_crypt(struct crypto_blkcipher *cipher, struct xdr_buf *buf, gss_krb5_cts_crypt()
650 struct crypto_blkcipher *cipher, *aux_cipher; gss_krb5_aes_encrypt()
766 struct crypto_blkcipher *cipher, *aux_cipher; gss_krb5_aes_decrypt()
853 krb5_rc4_setup_seq_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, krb5_rc4_setup_seq_key()
919 krb5_rc4_setup_enc_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, krb5_rc4_setup_enc_key()
H A Dgss_krb5_mech.c220 struct krb5_ctx *ctx, struct crypto_blkcipher **res) get_key()
347 static struct crypto_blkcipher * context_v2_alloc_cipher()
350 struct crypto_blkcipher *cp; context_v2_alloc_cipher()
H A Dgss_krb5_wrap.c242 struct crypto_blkcipher *cipher; gss_wrap_kerberos_v1()
330 struct crypto_blkcipher *cipher; gss_unwrap_kerberos_v1()
H A Dgss_krb5_keys.c150 struct crypto_blkcipher *cipher; krb5_derive_key()
/linux-4.1.27/drivers/crypto/vmx/
H A Daes_cbc.c34 struct crypto_blkcipher *fallback;
42 struct crypto_blkcipher *fallback; p8_aes_cbc_init()
60 crypto_blkcipher_get_flags((struct crypto_blkcipher *) tfm)); p8_aes_cbc_init()
H A Daes_ctr.c33 struct crypto_blkcipher *fallback;
40 struct crypto_blkcipher *fallback; p8_aes_ctr_init()
58 crypto_blkcipher_get_flags((struct crypto_blkcipher *) tfm)); p8_aes_ctr_init()
/linux-4.1.27/drivers/block/
H A Dcryptoloop.c49 struct crypto_blkcipher *tfm; cryptoloop_init()
117 struct crypto_blkcipher *tfm = lo->key_data; cryptoloop_transfer()
178 struct crypto_blkcipher *tfm = lo->key_data; cryptoloop_release()
/linux-4.1.27/drivers/crypto/
H A Dgeode-aes.h67 struct crypto_blkcipher *blk;
H A Dgeode-aes.c187 struct crypto_blkcipher *tfm; fallback_blk_dec()
203 struct crypto_blkcipher *tfm; fallback_blk_enc()
H A Dpadlock-aes.c99 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) blk_aes_ctx()
/linux-4.1.27/include/crypto/
H A Dcryptd.h32 struct crypto_blkcipher *cryptd_ablkcipher_child(struct cryptd_ablkcipher *tfm);
H A Dalgapi.h258 static inline struct crypto_blkcipher *crypto_spawn_blkcipher( crypto_spawn_blkcipher()
267 static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx()
272 static inline void *crypto_blkcipher_ctx_aligned(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx_aligned()
/linux-4.1.27/net/mac802154/
H A Dllsec.h33 struct crypto_blkcipher *tfm0;
/linux-4.1.27/net/ceph/
H A Dcrypto.c86 static struct crypto_blkcipher *ceph_crypto_alloc_cipher(void) ceph_crypto_alloc_cipher()
169 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt()
229 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt2()
291 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt()
356 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt2()
/linux-4.1.27/arch/s390/crypto/
H A Daes_s390.c45 struct crypto_blkcipher *blk;
64 struct crypto_blkcipher *fallback;
256 struct crypto_blkcipher *tfm; fallback_blk_dec()
273 struct crypto_blkcipher *tfm; fallback_blk_enc()
555 struct crypto_blkcipher *tfm; xts_fallback_decrypt()
572 struct crypto_blkcipher *tfm; xts_fallback_encrypt()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c80 unsigned int ll_crypto_tfm_alg_min_keysize(struct crypto_blkcipher *tfm) ll_crypto_tfm_alg_min_keysize()
294 struct crypto_blkcipher *tfm; capa_encrypt_id()
347 struct crypto_blkcipher *tfm; capa_decrypt_id()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx-aes-ccm.c506 desc.tfm = (struct crypto_blkcipher *)req->base.tfm; ccm4309_aes_nx_encrypt()
517 desc.tfm = (struct crypto_blkcipher *)req->base.tfm; ccm_aes_nx_encrypt()
538 desc.tfm = (struct crypto_blkcipher *)req->base.tfm; ccm4309_aes_nx_decrypt()
549 desc.tfm = (struct crypto_blkcipher *)req->base.tfm; ccm_aes_nx_decrypt()
H A Dnx-aes-gcm.c379 desc.tfm = (struct crypto_blkcipher *) req->base.tfm; gcm_aes_nx_crypt()
/linux-4.1.27/include/linux/
H A Dcrypto.h139 struct crypto_blkcipher;
205 struct crypto_blkcipher *tfm;
701 struct crypto_blkcipher { struct
1620 static inline struct crypto_blkcipher *__crypto_blkcipher_cast( __crypto_blkcipher_cast()
1623 return (struct crypto_blkcipher *)tfm; __crypto_blkcipher_cast()
1626 static inline struct crypto_blkcipher *crypto_blkcipher_cast( crypto_blkcipher_cast()
1641 * crypto_blkcipher is the cipher handle that is required for any subsequent
1647 static inline struct crypto_blkcipher *crypto_alloc_blkcipher( crypto_alloc_blkcipher()
1658 struct crypto_blkcipher *tfm) crypto_blkcipher_tfm()
1667 static inline void crypto_free_blkcipher(struct crypto_blkcipher *tfm) crypto_free_blkcipher()
1697 static inline const char *crypto_blkcipher_name(struct crypto_blkcipher *tfm) crypto_blkcipher_name()
1703 struct crypto_blkcipher *tfm) crypto_blkcipher_crt()
1709 struct crypto_blkcipher *tfm) crypto_blkcipher_alg()
1723 static inline unsigned int crypto_blkcipher_ivsize(struct crypto_blkcipher *tfm) crypto_blkcipher_ivsize()
1739 struct crypto_blkcipher *tfm) crypto_blkcipher_blocksize()
1745 struct crypto_blkcipher *tfm) crypto_blkcipher_alignmask()
1750 static inline u32 crypto_blkcipher_get_flags(struct crypto_blkcipher *tfm) crypto_blkcipher_get_flags()
1755 static inline void crypto_blkcipher_set_flags(struct crypto_blkcipher *tfm, crypto_blkcipher_set_flags()
1761 static inline void crypto_blkcipher_clear_flags(struct crypto_blkcipher *tfm, crypto_blkcipher_clear_flags()
1783 static inline int crypto_blkcipher_setkey(struct crypto_blkcipher *tfm, crypto_blkcipher_setkey()
1903 static inline void crypto_blkcipher_set_iv(struct crypto_blkcipher *tfm, crypto_blkcipher_set_iv()
1919 static inline void crypto_blkcipher_get_iv(struct crypto_blkcipher *tfm, crypto_blkcipher_get_iv()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c31 struct crypto_blkcipher *tx_tfm;
32 struct crypto_blkcipher *rx_tfm;
H A Drtllib_crypt_tkip.c50 struct crypto_blkcipher *rx_tfm_arc4;
52 struct crypto_blkcipher *tx_tfm_arc4;
662 struct crypto_blkcipher *tfm2 = tkey->tx_tfm_arc4; rtllib_tkip_set_key()
664 struct crypto_blkcipher *tfm4 = tkey->rx_tfm_arc4; rtllib_tkip_set_key()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_wep.c35 struct crypto_blkcipher *tx_tfm;
36 struct crypto_blkcipher *rx_tfm;
H A Dieee80211_crypt_tkip.c55 struct crypto_blkcipher *rx_tfm_arc4;
57 struct crypto_blkcipher *tx_tfm_arc4;
660 struct crypto_blkcipher *tfm2 = tkey->tx_tfm_arc4; ieee80211_tkip_set_key()
662 struct crypto_blkcipher *tfm4 = tkey->rx_tfm_arc4; ieee80211_tkip_set_key()
/linux-4.1.27/net/wireless/
H A Dlib80211_crypt_wep.c38 struct crypto_blkcipher *tx_tfm;
39 struct crypto_blkcipher *rx_tfm;
H A Dlib80211_crypt_tkip.c66 struct crypto_blkcipher *rx_tfm_arc4;
68 struct crypto_blkcipher *tx_tfm_arc4;
649 struct crypto_blkcipher *tfm2 = tkey->tx_tfm_arc4; lib80211_tkip_set_key()
651 struct crypto_blkcipher *tfm4 = tkey->rx_tfm_arc4; lib80211_tkip_set_key()
/linux-4.1.27/net/bluetooth/
H A Dsmp.c84 struct crypto_blkcipher *tfm_aes;
123 struct crypto_blkcipher *tfm_aes;
367 static int smp_e(struct crypto_blkcipher *tfm, const u8 *k, u8 *r) smp_e()
406 static int smp_c1(struct crypto_blkcipher *tfm_aes, const u8 k[16], smp_c1()
447 static int smp_s1(struct crypto_blkcipher *tfm_aes, const u8 k[16], smp_s1()
463 static int smp_ah(struct crypto_blkcipher *tfm, const u8 irk[16], smp_ah()
3098 struct crypto_blkcipher *tfm_aes; smp_add_cid()
3325 static int __init test_ah(struct crypto_blkcipher *tfm_aes) test_ah()
3345 static int __init test_c1(struct crypto_blkcipher *tfm_aes) test_c1()
3375 static int __init test_s1(struct crypto_blkcipher *tfm_aes) test_s1()
3571 static int __init run_selftests(struct crypto_blkcipher *tfm_aes, run_selftests()
3649 struct crypto_blkcipher *tfm_aes; bt_selftest_smp()
/linux-4.1.27/fs/cifs/
H A Dsmbencrypt.c73 struct crypto_blkcipher *tfm_des; smbhash()
H A Dcifsencrypt.c792 struct crypto_blkcipher *tfm_arc4; calc_seckey()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dcrypto.c198 static int wusb_ccm_mac(struct crypto_blkcipher *tfm_cbc, wusb_ccm_mac()
304 struct crypto_blkcipher *tfm_cbc; wusb_prf()
/linux-4.1.27/fs/ecryptfs/
H A Decryptfs_kernel.h313 struct crypto_blkcipher *key_tfm;
663 int ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_blkcipher **tfm,
H A Dcrypto.c1595 ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm, ecryptfs_process_key_cipher()
1751 int ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_blkcipher **tfm, ecryptfs_get_tfm_and_mutex_for_cipher_name()
/linux-4.1.27/net/rxrpc/
H A Drxkad.c56 static struct crypto_blkcipher *rxkad_ci;
64 struct crypto_blkcipher *ci; rxkad_init_connection_security()
H A Dar-internal.h255 struct crypto_blkcipher *cipher; /* encryption handle */
H A Dar-key.c827 struct crypto_blkcipher *ci; rxrpc_preparse_s()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_mppe.c97 struct crypto_blkcipher *arc4;
/linux-4.1.27/security/keys/encrypted-keys/
H A Dencrypted.c88 struct crypto_blkcipher *tfm; aes_get_sizes()

Completed in 548 milliseconds