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

12

/linux-master/include/crypto/internal/
H A Dcipher.h16 struct crypto_cipher { struct
37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm)
39 return (struct crypto_cipher *)tfm;
50 * crypto_cipher is the cipher handle that is required for any subsequent API
56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name,
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm)
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm)
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm)
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm)
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tf
[all...]
H A Dskcipher.h262 struct crypto_cipher *cipher; /* underlying block cipher */
264 static inline struct crypto_cipher *
/linux-master/crypto/
H A Dcipher.c20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key,
42 int crypto_cipher_setkey(struct crypto_cipher *tfm,
58 static inline void cipher_crypt_one(struct crypto_cipher *tfm,
79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
93 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher)
97 struct crypto_cipher *ncipher;
H A Decb.c16 static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src,
37 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
38 struct crypto_cipher *cipher = *ctx;
48 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
49 struct crypto_cipher *cipher = *ctx;
59 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
60 struct crypto_cipher *cipher = *ctx;
71 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
73 struct crypto_cipher *cipher;
86 struct crypto_cipher **ct
[all...]
H A Dpcbc.c22 struct crypto_cipher *tfm)
44 struct crypto_cipher *tfm)
67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
89 struct crypto_cipher *tfm)
111 struct crypto_cipher *tfm)
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
H A Dxctr.c35 struct crypto_cipher *tfm, u32 byte_ctr)
50 struct crypto_cipher *tfm, u32 byte_ctr)
75 struct crypto_cipher *tfm, u32 byte_ctr)
103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
H A Dxcbc.c29 struct crypto_cipher *child;
89 struct crypto_cipher *tfm = tctx->child;
134 struct crypto_cipher *tfm = tctx->child;
164 struct crypto_cipher *cipher;
H A Dcmac.c30 struct crypto_cipher *child;
121 struct crypto_cipher *tfm = tctx->child;
166 struct crypto_cipher *tfm = tctx->child;
199 struct crypto_cipher *cipher;
215 struct crypto_cipher *cipher;
H A Dkeywrap.c127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
H A Dctr.c29 struct crypto_cipher *tfm)
47 struct crypto_cipher *tfm)
73 struct crypto_cipher *tfm)
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
H A Dxts.c26 struct crypto_cipher *tweak;
46 struct crypto_cipher *tweak;
301 struct crypto_cipher *tweak;
H A Dccm.c54 struct crypto_cipher *child;
801 struct crypto_cipher *tfm = tctx->child;
826 struct crypto_cipher *tfm = tctx->child;
838 struct crypto_cipher *cipher;
H A Ddrbg.c1723 struct crypto_cipher *tfm =
1724 (struct crypto_cipher *)drbg->priv_data;
1745 struct crypto_cipher *tfm;
1805 struct crypto_cipher *tfm = drbg->priv_data;
1813 struct crypto_cipher *tfm = drbg->priv_data;
H A Dessiv.c55 struct crypto_cipher *essiv_cipher;
273 struct crypto_cipher *essiv_cipher;
H A Dhctr2.c44 struct crypto_cipher *blockcipher;
340 struct crypto_cipher *blockcipher;
H A Dadiantum.c72 struct crypto_cipher *blockcipher;
433 struct crypto_cipher *blockcipher;
H A Dansi_cprng.c47 struct crypto_cipher *tfm;
H A Dvmac.c53 struct crypto_cipher *cipher;
602 struct crypto_cipher *cipher;
H A Dskcipher.c981 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
994 struct crypto_cipher *cipher;
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_crypto.c17 char *crypto_cipher; member in struct:crypto_args
20 .crypto_cipher = "ecb(aes)",
49 args.crypto_cipher = strdup(arg);
50 if (!strlen(args.crypto_cipher) ||
51 strlen(args.crypto_cipher) > MAX_CIPHER_LEN) {
99 snprintf(ctx.skel->bss->cipher, 128, "%s", args.crypto_cipher);
/linux-master/drivers/crypto/
H A Dgeode-aes.h53 struct crypto_cipher *cip;
/linux-master/arch/powerpc/crypto/
H A Daes.c23 struct crypto_cipher *fallback;
31 struct crypto_cipher *fallback;
44 crypto_cipher *)
/linux-master/arch/arm/crypto/
H A Daes-neonbs-glue.c59 struct crypto_cipher *cts_tfm;
60 struct crypto_cipher *tweak_tfm;
/linux-master/arch/s390/crypto/
H A Daes_s390.c49 struct crypto_cipher *cip;
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c92 struct crypto_cipher *tweak;

Completed in 215 milliseconds

12