Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
177 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cbc()
184 int crypto4xx_setkey_aes_cfb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cfb()
191 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ecb()
198 int crypto4xx_setkey_aes_ofb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ofb()
205 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher, in crypto4xx_setkey_rfc3686()
224 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_encrypt() local
239 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_decrypt() local
255 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_ctr_crypt() local
[all …]
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c41 const struct nitrox_cipher *cipher = flexi_cipher_table; in flexi_cipher_type() local
83 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_cbc_cipher_callback() local
165 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, in nitrox_skcipher_setkey()
197 static int nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in nitrox_aes_setkey()
249 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_skcipher_crypt() local
293 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_cbc_decrypt() local
320 static int nitrox_3des_setkey(struct crypto_skcipher *cipher, in nitrox_3des_setkey()
337 static int nitrox_aes_xts_setkey(struct crypto_skcipher *cipher, in nitrox_aes_xts_setkey()
362 static int nitrox_aes_ctr_rfc3686_setkey(struct crypto_skcipher *cipher, in nitrox_aes_ctr_rfc3686_setkey()
/linux-6.1.9/drivers/crypto/cavium/cpt/
Dcptvf_algs.c232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_xts_setkey()
289 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_setkey()
304 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey()
310 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey()
316 static int cvm_cfb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey()
322 static int cvm_cbc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey()
329 static int cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
/linux-6.1.9/crypto/
Decb.c17 struct crypto_cipher *cipher, in crypto_ecb_crypt()
47 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt() local
56 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt() local
Dcbc.c25 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment() local
52 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace() local
100 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment() local
130 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace() local
Dkeywrap.c127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt() local
196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt() local
Dpcbc.c67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt() local
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt() local
Dskcipher.c577 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned() local
597 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in crypto_skcipher_setkey() local
877 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple() local
890 struct crypto_cipher *cipher; in skcipher_init_tfm_simple() local
Dctr.c102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local
223 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
Dofb.c21 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt() local
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-crypto.c71 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_crypto_do_request() local
355 struct crypto_skcipher *cipher; in aspeed_hace_skcipher_trigger() local
398 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_des_crypt() local
417 static int aspeed_des_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_des_setkey()
576 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_aes_crypt() local
611 static int aspeed_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_aes_setkey()
/linux-6.1.9/drivers/crypto/ux500/cryp/
Dcryp_core.c827 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in ablk_dma_crypt() local
885 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in ablk_crypt() local
943 static int aes_skcipher_setkey(struct crypto_skcipher *cipher, in aes_skcipher_setkey()
976 static int des_skcipher_setkey(struct crypto_skcipher *cipher, in des_skcipher_setkey()
995 static int des3_skcipher_setkey(struct crypto_skcipher *cipher, in des3_skcipher_setkey()
1016 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in cryp_blk_encrypt() local
1034 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in cryp_blk_decrypt() local
/linux-6.1.9/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-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c54 enum ocs_cipher cipher; member
149 static int check_key(const u8 *in_key, size_t key_len, enum ocs_cipher cipher) in check_key()
169 enum ocs_cipher cipher) in save_key()
186 size_t key_len, enum ocs_cipher cipher) in kmb_ocs_sk_set_key()
208 size_t key_len, enum ocs_cipher cipher) in kmb_ocs_aead_set_key()
312 enum ocs_cipher cipher, in kmb_ocs_sk_common()
639 enum ocs_cipher cipher, in kmb_ocs_aead_common()
Docs-aes.c478 enum ocs_cipher cipher) in ocs_aes_set_key()
525 enum ocs_cipher cipher, in set_ocs_aes_command()
561 enum ocs_cipher cipher, in ocs_aes_init()
604 enum ocs_cipher cipher, enum ocs_mode mode, in ocs_aes_validate_inputs()
798 enum ocs_cipher cipher, in ocs_aes_op()
926 enum ocs_cipher cipher, in ocs_aes_gcm_op()
1308 enum ocs_cipher cipher, in ocs_aes_ccm_op()
/linux-6.1.9/tools/testing/crypto/chacha20-s390/
Dtest-cipher.c51 static int test_lib_chacha(u8 *revert, u8 *cipher, u8 *plain) in test_lib_chacha()
126 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain) in test_skcipher()
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c85 static int rk_aes_setkey(struct crypto_skcipher *cipher, in rk_aes_setkey()
100 static int rk_des_setkey(struct crypto_skcipher *cipher, in rk_des_setkey()
116 static int rk_tdes_setkey(struct crypto_skcipher *cipher, in rk_tdes_setkey()
267 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in rk_ablk_hw_init() local
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c1764 static int des_setkey(struct crypto_skcipher *cipher, const u8 *key, in des_setkey()
1778 static int threedes_setkey(struct crypto_skcipher *cipher, const u8 *key, in threedes_setkey()
1792 static int aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aes_setkey()
1819 static int skcipher_setkey(struct crypto_skcipher *cipher, const u8 *key, in skcipher_setkey()
2756 static int aead_authenc_setkey(struct crypto_aead *cipher, in aead_authenc_setkey()
2851 static int aead_gcm_ccm_setkey(struct crypto_aead *cipher, in aead_gcm_ccm_setkey()
2933 static int aead_gcm_esp_setkey(struct crypto_aead *cipher, in aead_gcm_esp_setkey()
2965 static int rfc4543_gcm_esp_setkey(struct crypto_aead *cipher, in rfc4543_gcm_esp_setkey()
2998 static int aead_ccm_esp_setkey(struct crypto_aead *cipher, in aead_ccm_esp_setkey()
3018 static int aead_setauthsize(struct crypto_aead *cipher, unsigned int authsize) in aead_setauthsize()
/linux-6.1.9/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c543 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
606 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_encrypt() local
726 struct crypto_sync_skcipher *cipher, *aux_cipher; in gss_krb5_aes_decrypt() local
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-responder.c19 u8 cipher; member
311 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta()
/linux-6.1.9/drivers/crypto/
Dtalitos.c1491 static int skcipher_setkey(struct crypto_skcipher *cipher, in skcipher_setkey()
1508 static int skcipher_des_setkey(struct crypto_skcipher *cipher, in skcipher_des_setkey()
1515 static int skcipher_des3_setkey(struct crypto_skcipher *cipher, in skcipher_des3_setkey()
1522 static int skcipher_aes_setkey(struct crypto_skcipher *cipher, in skcipher_aes_setkey()
1551 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in skcipher_done() local
1572 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in common_nonsnoop() local
1642 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in skcipher_edesc_alloc() local
1653 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in skcipher_encrypt() local
1678 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in skcipher_decrypt() local
/linux-6.1.9/drivers/crypto/marvell/cesa/
Dcipher.c260 static int mv_cesa_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in mv_cesa_aes_setkey()
282 static int mv_cesa_des_setkey(struct crypto_skcipher *cipher, const u8 *key, in mv_cesa_des_setkey()
297 static int mv_cesa_des3_ede_setkey(struct crypto_skcipher *cipher, in mv_cesa_des3_ede_setkey()
/linux-6.1.9/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
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c61 enum mt76x02_cipher_type cipher; in mt76x02_mac_shared_key_setup() local
84 enum mt76x02_cipher_type cipher; in mt76x02_mac_wcid_sync_pn() local
109 enum mt76x02_cipher_type cipher; in mt76x02_mac_wcid_set_key() local
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c740 static int aead_hmac_init(struct crypto_aead *cipher) in aead_hmac_init()
836 static int otx_cpt_aead_cbc_aes_sha_setkey(struct crypto_aead *cipher, in otx_cpt_aead_cbc_aes_sha_setkey()
895 static int otx_cpt_aead_ecb_null_sha_setkey(struct crypto_aead *cipher, in otx_cpt_aead_ecb_null_sha_setkey()
931 static int otx_cpt_aead_gcm_aes_setkey(struct crypto_aead *cipher, in otx_cpt_aead_gcm_aes_setkey()

1234