Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
361 static int nitrox_aes_ctr_rfc3686_setkey(struct crypto_skcipher *cipher, in nitrox_aes_ctr_rfc3686_setkey()
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/
Dcptvf_algs.c232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_xts_setkey()
288 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_setkey()
302 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey()
308 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey()
314 static int cvm_cfb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey()
320 static int cvm_cbc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey()
327 static int cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
Dcbc.c24 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment() local
51 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace() local
99 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment() local
129 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace() 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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
Daspeed-hace-crypto.c82 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_crypto_do_request() local
366 struct crypto_skcipher *cipher; in aspeed_hace_skcipher_trigger() local
409 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_des_crypt() local
428 static int aspeed_des_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_des_setkey()
587 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_aes_crypt() local
622 static int aspeed_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_aes_setkey()
Daspeed-acry.c148 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_do_fallback() local
166 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_need_fallback() local
186 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_do_request() local
350 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_rsa_trigger() local
415 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_rsa_enc() local
427 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req); in aspeed_acry_rsa_dec() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
Dg84.c80 g84_cipher_intr(struct nvkm_engine *cipher) in g84_cipher_intr()
108 g84_cipher_init(struct nvkm_engine *cipher) in g84_cipher_init()
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c108 static int rk_aes_setkey(struct crypto_skcipher *cipher, in rk_aes_setkey()
123 static int rk_des_setkey(struct crypto_skcipher *cipher, in rk_des_setkey()
139 static int rk_tdes_setkey(struct crypto_skcipher *cipher, in rk_tdes_setkey()
254 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in rk_cipher_hw_init() local
/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/
Dcryp_core.c826 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in ablk_dma_crypt() local
884 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in ablk_crypt() local
942 static int aes_skcipher_setkey(struct crypto_skcipher *cipher, in aes_skcipher_setkey()
975 static int des_skcipher_setkey(struct crypto_skcipher *cipher, in des_skcipher_setkey()
994 static int des3_skcipher_setkey(struct crypto_skcipher *cipher, in des3_skcipher_setkey()
1015 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in cryp_blk_encrypt() local
1033 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq); in cryp_blk_decrypt() local
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c592 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
787 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
929 u32 krb5_etm_checksum(struct crypto_sync_skcipher *cipher, in krb5_etm_checksum()
1015 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_encrypt() local
1103 struct crypto_sync_skcipher *cipher, *aux_cipher; in krb5_etm_decrypt() local
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
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()
Dkeembay-ocs-aes-core.c51 enum ocs_cipher cipher; member
146 static int check_key(const u8 *in_key, size_t key_len, enum ocs_cipher cipher) in check_key()
166 enum ocs_cipher cipher) in save_key()
183 size_t key_len, enum ocs_cipher cipher) in kmb_ocs_sk_set_key()
205 size_t key_len, enum ocs_cipher cipher) in kmb_ocs_aead_set_key()
309 enum ocs_cipher cipher, in kmb_ocs_sk_common()
636 enum ocs_cipher cipher, in kmb_ocs_aead_common()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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

123456789