/linux/drivers/crypto/amcc/ |
H A 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_ecb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ecb() 191 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher, in crypto4xx_setkey_rfc3686() 210 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_encrypt() local 225 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_rfc3686_decrypt() local 241 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_ctr_crypt() local 274 struct crypto_skcipher *cipher, in crypto4xx_sk_setup_fallback() 285 int crypto4xx_setkey_aes_ctr(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ctr() [all …]
|
H A D | crypto4xx_core.h | 125 struct crypto_sync_skcipher *cipher; member 137 struct skcipher_alg cipher; member
|
/linux/drivers/crypto/cavium/nitrox/ |
H A 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/crypto/ |
H A D | ecb.c | 16 static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src, in crypto_ecb_crypt() 38 struct crypto_cipher *cipher = *ctx; in crypto_ecb_encrypt2() local 49 struct crypto_cipher *cipher = *ctx; in crypto_ecb_decrypt2() local 60 struct crypto_cipher *cipher = *ctx; in lskcipher_setkey_simple2() local 73 struct crypto_cipher *cipher; in lskcipher_init_tfm_simple2() local
|
H A D | lskcipher.c | 36 struct lskcipher_alg *cipher = crypto_lskcipher_alg(tfm); in lskcipher_setkey_unaligned() local 57 struct lskcipher_alg *cipher = crypto_lskcipher_alg(tfm); in crypto_lskcipher_setkey() local 428 struct crypto_lskcipher *cipher = lskcipher_cipher_simple(tfm); in lskcipher_setkey_simple() local 441 struct crypto_lskcipher *cipher; in lskcipher_init_tfm_simple() local
|
H A D | cbc.c | 58 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_encrypt() local 127 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_decrypt() local
|
H A 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
|
H A D | cmac.c | 199 struct crypto_cipher *cipher; in cmac_init_tfm() local 215 struct crypto_cipher *cipher; in cmac_clone_tfm() local
|
H A D | skcipher.c | 417 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); skcipher_setkey_unaligned() local 437 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); crypto_skcipher_setkey() local 818 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); skcipher_setkey_simple() local 831 struct crypto_cipher *cipher; skcipher_init_tfm_simple() local [all...] |
H A 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 [all...] |
H A D | cipher.c | 93 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher()
|
H A D | xctr.c | 103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_xctr_crypt() local
|
/linux/drivers/crypto/cavium/cpt/ |
H A 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_cbc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_des3_setkey() 321 static int cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_des3_setkey()
|
/linux/drivers/crypto/aspeed/ |
H A 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() 539 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_aes_crypt() local 574 static int aspeed_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_aes_setkey()
|
/linux/drivers/crypto/rockchip/ |
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/cipher/ |
H A 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/drivers/crypto/intel/keembay/ |
H A 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/tools/testing/crypto/chacha20-s390/ |
H A D | test-cipher.c | 51 static int test_lib_chacha(u8 *revert, u8 *cipher, u8 *plain) in test_lib_chacha() argument 126 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain) in test_skcipher() argument [all...] |
/linux/drivers/nvme/common/ |
H A D | keyring.c | 200 enum nvme_tcp_tls_cipher cipher; member 241 enum nvme_tcp_tls_cipher cipher = nvme_tls_psk_prio[prio].cipher; in nvme_tls_psk_default() local
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | crypto_bench.c | 14 char cipher[128] = {}; variable
|
/linux/net/tls/ |
H A D | tls_main.c | 61 #define CHECK_CIPHER_DESC(cipher,ci) \ argument 78 #define CIPHER_DESC(cipher,ci,algname,_offloadable) [cipher - TLS_CIPHER_MIN] = { \ argument 90 #define CIPHER_DESC_NONCE0(cipher,ci,algname,_offloadable) [cipher - TLS_CIPHER_MIN] = { \ argument
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 749 static int aead_hmac_init(struct crypto_aead *cipher, in aead_hmac_init() 827 static int otx_cpt_aead_cbc_aes_sha_setkey(struct crypto_aead *cipher, in otx_cpt_aead_cbc_aes_sha_setkey() 844 static int otx_cpt_aead_ecb_null_sha_setkey(struct crypto_aead *cipher, in otx_cpt_aead_ecb_null_sha_setkey() 851 static int otx_cpt_aead_gcm_aes_setkey(struct crypto_aead *cipher, in otx_cpt_aead_gcm_aes_setkey()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mac.c | 61 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/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mac.c | 533 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/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 837 static int aead_hmac_init(struct crypto_aead *cipher, in aead_hmac_init() 916 static int otx2_cpt_aead_cbc_aes_sha_setkey(struct crypto_aead *cipher, in otx2_cpt_aead_cbc_aes_sha_setkey() 926 static int otx2_cpt_aead_ecb_null_sha_setkey(struct crypto_aead *cipher, in otx2_cpt_aead_ecb_null_sha_setkey() 933 static int otx2_cpt_aead_gcm_aes_setkey(struct crypto_aead *cipher, in otx2_cpt_aead_gcm_aes_setkey()
|