Home
last modified time | relevance | path

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

12345

/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 …]
/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 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
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 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 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 Dcmac.c199 struct crypto_cipher *cipher; in cmac_init_tfm() local
215 struct crypto_cipher *cipher; in cmac_clone_tfm() local
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
H A Dskcipher.c580 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned() local
600 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in crypto_skcipher_setkey() local
981 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple() local
994 struct crypto_cipher *cipher; in skcipher_init_tfm_simple() 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()
H A 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
/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/net/sunrpc/auth_gss/
H A 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
/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()
H A 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()
/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()
126 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain) in test_skcipher()
/linux/drivers/crypto/bcm/
H A Dcipher.c1763 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/drivers/nvme/common/
H A Dkeyring.c137 enum nvme_tcp_tls_cipher cipher; member
178 enum nvme_tcp_tls_cipher cipher = nvme_tls_psk_prio[prio].cipher; in nvme_tls_psk_default() local
/linux/drivers/crypto/
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-responder.c22 u8 cipher; member
329 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta()
/linux/drivers/crypto/marvell/cesa/
H A 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/tools/testing/selftests/bpf/progs/
H A Dcrypto_bench.c14 char cipher[128] = {}; variable

12345