/Linux-v6.6/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 73 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-v6.6/drivers/crypto/cavium/nitrox/ |
D | nitrox_skcipher.c | 41 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()
|
/Linux-v6.6/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 232 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()
|
/Linux-v6.6/crypto/ |
D | ecb.c | 17 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
|
D | cbc.c | 25 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
|
D | keywrap.c | 127 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
|
D | pcbc.c | 67 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
|
D | cmac.c | 206 struct crypto_cipher *cipher; in cmac_init_tfm() local 222 struct crypto_cipher *cipher; in cmac_clone_tfm() local
|
D | skcipher.c | 595 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned() local 615 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in crypto_skcipher_setkey() local 928 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple() local 941 struct crypto_cipher *cipher; in skcipher_init_tfm_simple() local
|
D | ctr.c | 102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local 223 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
|
D | ofb.c | 21 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt() local
|
D | cipher.c | 94 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher()
|
/Linux-v6.6/drivers/crypto/aspeed/ |
D | aspeed-hace-crypto.c | 82 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()
|
D | aspeed-acry.c | 148 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
|
/Linux-v6.6/drivers/crypto/rockchip/ |
D | rk3288_crypto_skcipher.c | 108 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
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/cipher/ |
D | g84.c | 80 g84_cipher_intr(struct nvkm_engine *cipher) in g84_cipher_intr() 108 g84_cipher_init(struct nvkm_engine *cipher) in g84_cipher_init()
|
/Linux-v6.6/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 592 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
|
/Linux-v6.6/drivers/crypto/intel/keembay/ |
D | keembay-ocs-aes-core.c | 51 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()
|
D | ocs-aes.c | 478 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-v6.6/tools/testing/crypto/chacha20-s390/ |
D | test-cipher.c | 51 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-v6.6/drivers/crypto/bcm/ |
D | cipher.c | 1763 static int des_setkey(struct crypto_skcipher *cipher, const u8 *key, in des_setkey() 1777 static int threedes_setkey(struct crypto_skcipher *cipher, const u8 *key, in threedes_setkey() 1791 static int aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aes_setkey() 1818 static int skcipher_setkey(struct crypto_skcipher *cipher, const u8 *key, in skcipher_setkey() 2719 static int aead_authenc_setkey(struct crypto_aead *cipher, in aead_authenc_setkey() 2814 static int aead_gcm_ccm_setkey(struct crypto_aead *cipher, in aead_gcm_ccm_setkey() 2896 static int aead_gcm_esp_setkey(struct crypto_aead *cipher, in aead_gcm_esp_setkey() 2928 static int rfc4543_gcm_esp_setkey(struct crypto_aead *cipher, in rfc4543_gcm_esp_setkey() 2961 static int aead_ccm_esp_setkey(struct crypto_aead *cipher, in aead_ccm_esp_setkey() 2981 static int aead_setauthsize(struct crypto_aead *cipher, unsigned int authsize) in aead_setauthsize()
|
/Linux-v6.6/drivers/crypto/ |
D | talitos.c | 1491 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-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-responder.c | 19 u8 cipher; member 312 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta()
|
/Linux-v6.6/drivers/crypto/marvell/cesa/ |
D | cipher.c | 260 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-v6.6/net/tls/ |
D | tls_main.c | 61 #define CHECK_CIPHER_DESC(cipher,ci) \ argument 77 #define CIPHER_DESC(cipher,ci,algname,_offloadable) [cipher - TLS_CIPHER_MIN] = { \ argument 89 #define CIPHER_DESC_NONCE0(cipher,ci,algname,_offloadable) [cipher - TLS_CIPHER_MIN] = { \ argument
|