Home
last modified time | relevance | path

Searched defs:cipher (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c73 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_crypt() local
121 static int crypto4xx_setkey_aes(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes()
180 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cbc()
187 int crypto4xx_setkey_aes_cfb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cfb()
194 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ecb()
201 int crypto4xx_setkey_aes_ofb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ofb()
208 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher, in crypto4xx_setkey_rfc3686()
227 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_encrypt() local
242 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_decrypt() local
258 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_ctr_crypt() local
[all …]
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c40 const struct nitrox_cipher *cipher = flexi_cipher_table; in flexi_cipher_type() local
92 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, in nitrox_skcipher_setkey()
124 static int nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in nitrox_aes_setkey()
206 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_skcipher_crypt() local
257 static int nitrox_3des_setkey(struct crypto_skcipher *cipher, in nitrox_3des_setkey()
274 static int nitrox_aes_xts_setkey(struct crypto_skcipher *cipher, in nitrox_aes_xts_setkey()
301 static int nitrox_aes_ctr_rfc3686_setkey(struct crypto_skcipher *cipher, in nitrox_aes_ctr_rfc3686_setkey()
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_algs.c230 static int cvm_xts_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_xts_setkey()
287 static int cvm_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_setkey()
304 static int cvm_cbc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey()
310 static int cvm_ecb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey()
316 static int cvm_cfb_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey()
322 static int cvm_cbc_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey()
329 static int cvm_ecb_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
/Linux-v5.4/crypto/
Decb.c16 struct crypto_cipher *cipher, in crypto_ecb_crypt()
46 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt() local
55 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt() local
Dcipher.c78 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_encrypt_unaligned() local
92 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_decrypt_unaligned() local
105 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in crypto_init_cipher_ops() local
Dkeywrap.c126 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt() local
195 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt() local
Dpcbc.c66 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt() local
133 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt() local
Dblkcipher.c371 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey_unaligned() local
392 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey() local
442 struct blkcipher_alg *cipher = &alg->cra_blkcipher; in crypto_blkcipher_ctxsize() local
Dofb.c20 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt() local
Dctr.c101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local
228 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
Dablkcipher.c298 struct ablkcipher_alg *cipher = crypto_ablkcipher_alg(tfm); in setkey_unaligned() local
320 struct ablkcipher_alg *cipher = crypto_ablkcipher_alg(tfm); in setkey() local
Dskcipher.c801 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned() local
821 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey() local
1111 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple() local
1128 struct crypto_cipher *cipher; in skcipher_init_tfm_simple() local
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
Dg84.c80 g84_cipher_intr(struct nvkm_engine *cipher) in g84_cipher_intr()
109 g84_cipher_init(struct nvkm_engine *cipher) in g84_cipher_init()
/Linux-v5.4/net/sunrpc/auth_gss/
Dgss_krb5_seqnum.c46 struct crypto_sync_skcipher *cipher; in krb5_make_rc4_seq_num() local
115 struct crypto_sync_skcipher *cipher; in krb5_get_rc4_seq_num() local
Dgss_krb5_crypto.c677 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
740 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
860 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_decrypt() local
952 struct crypto_sync_skcipher *cipher, in krb5_rc4_setup_seq_key()
1018 struct crypto_sync_skcipher *cipher, in krb5_rc4_setup_enc_key()
Dgss_krb5_wrap.c240 struct crypto_sync_skcipher *cipher; in gss_wrap_kerberos_v1() local
328 struct crypto_sync_skcipher *cipher; in gss_unwrap_kerberos_v1() local
/Linux-v5.4/drivers/crypto/ux500/cryp/
Dcryp_core.c833 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_dma_crypt() local
891 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_crypt() local
951 static int aes_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in aes_ablkcipher_setkey()
986 static int des_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des_ablkcipher_setkey()
1005 static int des3_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des3_ablkcipher_setkey()
1026 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_encrypt() local
1044 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_decrypt() local
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c30 static int rk_aes_setkey(struct crypto_ablkcipher *cipher, in rk_aes_setkey()
46 static int rk_des_setkey(struct crypto_ablkcipher *cipher, in rk_des_setkey()
61 static int rk_tdes_setkey(struct crypto_ablkcipher *cipher, in rk_tdes_setkey()
201 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in rk_ablk_hw_init() local
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c1801 static int des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in des_setkey()
1815 static int threedes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in threedes_setkey()
1829 static int aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in aes_setkey()
1857 static int rc4_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in rc4_setkey()
1877 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in ablkcipher_setkey()
2819 static int aead_authenc_setkey(struct crypto_aead *cipher, in aead_authenc_setkey()
2923 static int aead_gcm_ccm_setkey(struct crypto_aead *cipher, in aead_gcm_ccm_setkey()
3010 static int aead_gcm_esp_setkey(struct crypto_aead *cipher, in aead_gcm_esp_setkey()
3038 static int rfc4543_gcm_esp_setkey(struct crypto_aead *cipher, in rfc4543_gcm_esp_setkey()
3067 static int aead_ccm_esp_setkey(struct crypto_aead *cipher, in aead_ccm_esp_setkey()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c601 mt7615_mac_get_cipher(int cipher) in mt7615_mac_get_cipher()
630 enum mt7615_cipher_type cipher, in mt7615_mac_wtbl_update_key()
668 enum mt7615_cipher_type cipher, int keyidx, in mt7615_mac_wtbl_update_pk()
707 enum mt7615_cipher_type cipher, in mt7615_mac_wtbl_update_cipher()
732 enum mt7615_cipher_type cipher; in mt7615_mac_wtbl_set_key() local
/Linux-v5.4/drivers/crypto/
Dtalitos.c1493 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_setkey()
1510 static int ablkcipher_des_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_des_setkey()
1517 static int ablkcipher_des3_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_des3_setkey()
1524 static int ablkcipher_aes_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_aes_setkey()
1555 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_done() local
1576 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in common_nonsnoop() local
1644 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_edesc_alloc() local
1655 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_encrypt() local
1680 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_decrypt() local
Dpicoxcell_crypto.c736 static int spacc_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des_setkey()
756 static int spacc_des3_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des3_setkey()
776 static int spacc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_aes_setkey()
825 static int spacc_kasumi_f8_setkey(struct crypto_ablkcipher *cipher, in spacc_kasumi_f8_setkey()
1047 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_encrypt() local
1056 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_decrypt() local
/Linux-v5.4/drivers/crypto/marvell/
Dcipher.c247 static int mv_cesa_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in mv_cesa_aes_setkey()
272 static int mv_cesa_des_setkey(struct crypto_skcipher *cipher, const u8 *key, in mv_cesa_des_setkey()
287 static int mv_cesa_des3_ede_setkey(struct crypto_skcipher *cipher, in mv_cesa_des3_ede_setkey()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c39 enum mt76x02_cipher_type cipher; in mt76x02_mac_shared_key_setup() local
62 enum mt76x02_cipher_type cipher; in mt76x02_mac_wcid_sync_pn() local
87 enum mt76x02_cipher_type cipher; in mt76x02_mac_wcid_set_key() local
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dmac.c533 enum mt76_cipher_type cipher; in mt76_mac_wcid_set_key() local
574 enum mt76_cipher_type cipher; in mt76_mac_shared_key_setup() local

1234