Home
last modified time | relevance | path

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

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