Home
last modified time | relevance | path

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

1234

/linux/drivers/crypto/amcc/
H A 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_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 Dcrypto4xx_core.h125 struct crypto_sync_skcipher *cipher; member
137 struct skcipher_alg cipher; member
/linux/drivers/crypto/cavium/nitrox/
H A 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()
/linux/crypto/
H A Decb.c16 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 Dlskcipher.c36 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 Dcbc.c58 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_encrypt() local
127 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_decrypt() local
H A 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
H A Dcmac.c199 struct crypto_cipher *cipher; in cmac_init_tfm() local
215 struct crypto_cipher *cipher; in cmac_clone_tfm() local
H A Dskcipher.c417 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 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
[all...]
H A Dcipher.c93 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher()
H A Dxctr.c103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_xctr_crypt() local
/linux/drivers/crypto/cavium/cpt/
H A 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_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 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()
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 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
/linux/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
H A 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()
/linux/drivers/crypto/intel/keembay/
H A 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/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c51 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 Dkeyring.c200 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 Dcrypto_bench.c14 char cipher[128] = {}; variable
/linux/net/tls/
H A Dtls_main.c61 #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 Dotx_cptvf_algs.c749 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 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/drivers/net/wireless/mediatek/mt7601u/
H A 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/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c837 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()

1234