Home
last modified time | relevance | path

Searched refs:crypto_cipher (Results 1 – 25 of 25) sorted by relevance

/linux/include/crypto/internal/
A Dcipher.h16 struct crypto_cipher { struct
39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags()
152 int crypto_cipher_setkey(struct crypto_cipher *tfm,
164 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
176 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
179 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher);
[all …]
A Dskcipher.h262 struct crypto_cipher *cipher; /* underlying block cipher */
264 static inline struct crypto_cipher *
/linux/crypto/
A Dcipher.c20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned()
42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey()
58 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one()
79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one()
86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
93 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher()
97 struct crypto_cipher *ncipher; in crypto_clone_cipher()
A Decb.c16 static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src, in crypto_ecb_crypt()
37 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_ecb_encrypt2()
38 struct crypto_cipher *cipher = *ctx; in crypto_ecb_encrypt2()
48 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_ecb_decrypt2()
49 struct crypto_cipher *cipher = *ctx; in crypto_ecb_decrypt2()
59 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_setkey_simple2()
60 struct crypto_cipher *cipher = *ctx; in lskcipher_setkey_simple2()
71 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_init_tfm_simple2()
73 struct crypto_cipher *cipher; in lskcipher_init_tfm_simple2()
86 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_exit_tfm_simple2()
[all …]
A Dpcbc.c22 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment()
44 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace()
67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt()
89 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment()
111 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace()
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()
A Dxctr.c35 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_final()
50 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_segment()
75 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_inplace()
103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_xctr_crypt()
A Dcmac.c30 struct crypto_cipher *child;
121 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update()
166 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final()
199 struct crypto_cipher *cipher; in cmac_init_tfm()
215 struct crypto_cipher *cipher; in cmac_clone_tfm()
A Dxcbc.c29 struct crypto_cipher *child;
89 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update()
134 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final()
164 struct crypto_cipher *cipher; in xcbc_init_tfm()
A Dctr.c29 struct crypto_cipher *tfm) in crypto_ctr_crypt_final()
47 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment()
73 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace()
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
A Dkeywrap.c127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt()
196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt()
A Dxts.c26 struct crypto_cipher *tweak;
46 struct crypto_cipher *tweak; in xts_setkey()
301 struct crypto_cipher *tweak; in xts_init_tfm()
A Dccm.c54 struct crypto_cipher *child;
801 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update()
826 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final()
838 struct crypto_cipher *cipher; in cbcmac_init_tfm()
A Ddrbg.c1723 struct crypto_cipher *tfm = in drbg_fini_sym_kernel()
1724 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel()
1745 struct crypto_cipher *tfm; in drbg_init_sym_kernel()
1805 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_symsetkey()
1813 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_sym()
A Dhctr2.c44 struct crypto_cipher *blockcipher;
340 struct crypto_cipher *blockcipher; in hctr2_init_tfm()
A Dessiv.c55 struct crypto_cipher *essiv_cipher;
273 struct crypto_cipher *essiv_cipher; in essiv_init_tfm()
A Dadiantum.c72 struct crypto_cipher *blockcipher;
433 struct crypto_cipher *blockcipher; in adiantum_init_tfm()
A Dansi_cprng.c47 struct crypto_cipher *tfm;
A Dvmac.c53 struct crypto_cipher *cipher;
602 struct crypto_cipher *cipher; in vmac_init_tfm()
A Dskcipher.c981 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple()
994 struct crypto_cipher *cipher; in skcipher_init_tfm_simple()
A Dtestmgr.c2748 static int test_cipher(struct crypto_cipher *tfm, int enc, in test_cipher()
3697 struct crypto_cipher *tfm; in alg_test_cipher()
/linux/tools/testing/selftests/bpf/benchs/
A Dbench_bpf_crypto.c17 char *crypto_cipher; member
20 .crypto_cipher = "ecb(aes)",
49 args.crypto_cipher = strdup(arg); in crypto_parse_arg()
50 if (!strlen(args.crypto_cipher) || in crypto_parse_arg()
51 strlen(args.crypto_cipher) > MAX_CIPHER_LEN) { in crypto_parse_arg()
99 snprintf(ctx.skel->bss->cipher, 128, "%s", args.crypto_cipher); in crypto_setup()
/linux/arch/powerpc/crypto/
A Daes.c23 struct crypto_cipher *fallback;
31 struct crypto_cipher *fallback; in p8_aes_init()
44 crypto_cipher *) in p8_aes_init()
/linux/drivers/crypto/
A Dgeode-aes.h53 struct crypto_cipher *cip;
/linux/arch/s390/crypto/
A Daes_s390.c49 struct crypto_cipher *cip;
/linux/drivers/crypto/intel/qat/qat_common/
A Dqat_algs.c92 struct crypto_cipher *tweak;

Completed in 59 milliseconds