Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v6.1/include/crypto/
Dskcipher.h109 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key,
113 int (*init)(struct crypto_skcipher *tfm);
114 void (*exit)(struct crypto_skcipher *tfm);
130 #define SYNC_SKCIPHER_REQUEST_ON_STACK(name, tfm) \ argument
134 (typeof(tfm))1))) \
169 struct crypto_tfm *tfm) in __crypto_skcipher_cast() argument
171 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast()
195 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() argument
197 return &tfm->base; in crypto_skcipher_tfm()
206 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher() argument
[all …]
Dhash.h142 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
144 int (*init_tfm)(struct crypto_ahash *tfm);
145 void (*exit_tfm)(struct crypto_ahash *tfm);
151 struct crypto_shash *tfm; member
209 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
211 int (*init_tfm)(struct crypto_shash *tfm);
212 void (*exit_tfm)(struct crypto_shash *tfm);
232 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
256 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
[all …]
Dakcipher.h97 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
99 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
101 unsigned int (*max_size)(struct crypto_akcipher *tfm);
102 int (*init)(struct crypto_akcipher *tfm);
103 void (*exit)(struct crypto_akcipher *tfm);
134 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() argument
136 return &tfm->base; in crypto_akcipher_tfm()
145 struct crypto_tfm *tfm) in __crypto_akcipher_tfm() argument
147 return container_of(tfm, struct crypto_akcipher, base); in __crypto_akcipher_tfm()
151 struct crypto_akcipher *tfm) in crypto_akcipher_alg() argument
[all …]
Daead.h139 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
141 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
144 int (*init)(struct crypto_aead *tfm);
145 void (*exit)(struct crypto_aead *tfm);
161 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() argument
163 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast()
182 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() argument
184 return &tfm->base; in crypto_aead_tfm()
193 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() argument
195 crypto_destroy_tfm(tfm, crypto_aead_tfm(tfm)); in crypto_free_aead()
[all …]
Dkpp.h72 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
77 unsigned int (*max_size)(struct crypto_kpp *tfm);
79 int (*init)(struct crypto_kpp *tfm);
80 void (*exit)(struct crypto_kpp *tfm);
109 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() argument
111 return &tfm->base; in crypto_kpp_tfm()
119 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() argument
121 return container_of(tfm, struct crypto_kpp, base); in __crypto_kpp_tfm()
124 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() argument
126 return __crypto_kpp_alg(crypto_kpp_tfm(tfm)->__crt_alg); in crypto_kpp_alg()
[all …]
Drng.h42 int (*generate)(struct crypto_rng *tfm,
45 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
46 void (*set_ent)(struct crypto_rng *tfm, const u8 *data,
92 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() argument
94 return &tfm->base; in crypto_rng_tfm()
105 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() argument
107 return container_of(crypto_rng_tfm(tfm)->__crt_alg, in crypto_rng_alg()
117 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() argument
119 crypto_destroy_tfm(tfm, crypto_rng_tfm(tfm)); in crypto_free_rng()
136 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() argument
[all …]
Dacompress.h80 int (*init)(struct crypto_acomp *tfm);
81 void (*exit)(struct crypto_acomp *tfm);
128 static inline struct crypto_tfm *crypto_acomp_tfm(struct crypto_acomp *tfm) in crypto_acomp_tfm() argument
130 return &tfm->base; in crypto_acomp_tfm()
138 static inline struct crypto_acomp *__crypto_acomp_tfm(struct crypto_tfm *tfm) in __crypto_acomp_tfm() argument
140 return container_of(tfm, struct crypto_acomp, base); in __crypto_acomp_tfm()
143 static inline struct acomp_alg *crypto_acomp_alg(struct crypto_acomp *tfm) in crypto_acomp_alg() argument
145 return __crypto_acomp_alg(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_acomp_alg()
148 static inline unsigned int crypto_acomp_reqsize(struct crypto_acomp *tfm) in crypto_acomp_reqsize() argument
150 return tfm->reqsize; in crypto_acomp_reqsize()
[all …]
Dcryptd.h29 struct crypto_skcipher *cryptd_skcipher_child(struct cryptd_skcipher *tfm);
31 bool cryptd_skcipher_queued(struct cryptd_skcipher *tfm);
32 void cryptd_free_skcipher(struct cryptd_skcipher *tfm);
39 struct crypto_ahash *tfm) in __cryptd_ahash_cast() argument
41 return (struct cryptd_ahash *)tfm; in __cryptd_ahash_cast()
47 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm);
50 bool cryptd_ahash_queued(struct cryptd_ahash *tfm);
51 void cryptd_free_ahash(struct cryptd_ahash *tfm);
58 struct crypto_aead *tfm) in __cryptd_aead_cast() argument
60 return (struct cryptd_aead *)tfm; in __cryptd_aead_cast()
[all …]
/Linux-v6.1/include/crypto/internal/
Dscompress.h29 void *(*alloc_ctx)(struct crypto_scomp *tfm);
30 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx);
31 int (*compress)(struct crypto_scomp *tfm, const u8 *src,
34 int (*decompress)(struct crypto_scomp *tfm, const u8 *src,
45 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() argument
47 return container_of(tfm, struct crypto_scomp, base); in __crypto_scomp_tfm()
50 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() argument
52 return &tfm->base; in crypto_scomp_tfm()
55 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() argument
57 crypto_destroy_tfm(tfm, crypto_scomp_tfm(tfm)); in crypto_free_scomp()
[all …]
Dcipher.h37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() argument
39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() argument
68 return &tfm->base; in crypto_cipher_tfm()
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() argument
77 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher()
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() argument
111 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize()
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() argument
116 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask()
[all …]
Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() argument
33 if (crypto_tfm_get_flags(tfm) & CRYPTO_TFM_REQ_FORBID_WEAK_KEYS) in crypto_des_verify_key()
91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key() argument
95 crypto_tfm_get_flags(tfm) & in crypto_des3_ede_verify_key()
99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key() argument
102 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key()
105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key() argument
108 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() argument
116 return crypto_des_verify_key(crypto_aead_tfm(tfm), key); in verify_aead_des_key()
[all …]
/Linux-v6.1/security/integrity/ima/
Dima_crypto.c61 struct crypto_shash *tfm; member
93 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() local
100 return tfm; in ima_alloc_tfm()
103 if (ima_algo_array[i].tfm && ima_algo_array[i].algo == algo) in ima_alloc_tfm()
104 return ima_algo_array[i].tfm; in ima_alloc_tfm()
106 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm()
107 if (IS_ERR(tfm)) { in ima_alloc_tfm()
108 rc = PTR_ERR(tfm); in ima_alloc_tfm()
112 return tfm; in ima_alloc_tfm()
162 ima_algo_array[i].tfm = ima_shash_tfm; in ima_init_crypto()
[all …]
/Linux-v6.1/include/linux/
Dcrypto.h192 struct crypto_tfm *tfm; member
254 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
256 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
257 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
272 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
274 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
500 int (*cra_init)(struct crypto_tfm *tfm);
501 void (*cra_exit)(struct crypto_tfm *tfm);
644 void (*exit)(struct crypto_tfm *tfm);
660 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
[all …]
/Linux-v6.1/crypto/
Dshash.c23 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() argument
42 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() argument
45 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_setkey_unaligned()
46 unsigned long alignmask = crypto_shash_alignmask(tfm); in shash_setkey_unaligned()
58 err = shash->setkey(tfm, alignbuffer, keylen); in shash_setkey_unaligned()
63 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() argument
66 crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in shash_set_needkey()
69 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() argument
72 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_setkey()
73 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_setkey()
[all …]
Dcfb.c31 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize() argument
33 return crypto_cipher_blocksize(skcipher_cipher_simple(tfm)); in crypto_cfb_bsize()
36 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one() argument
39 crypto_cipher_encrypt_one(skcipher_cipher_simple(tfm), dst, src); in crypto_cfb_encrypt_one()
44 struct crypto_skcipher *tfm) in crypto_cfb_final() argument
46 const unsigned long alignmask = crypto_skcipher_alignmask(tfm); in crypto_cfb_final()
54 crypto_cfb_encrypt_one(tfm, iv, stream); in crypto_cfb_final()
59 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment() argument
61 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_segment()
68 crypto_cfb_encrypt_one(tfm, iv, dst); in crypto_cfb_encrypt_segment()
[all …]
Dcipher.c20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() argument
23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned()
24 unsigned long alignmask = crypto_cipher_alignmask(tfm); in setkey_unaligned()
36 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned()
43 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() argument
46 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey()
47 unsigned long alignmask = crypto_cipher_alignmask(tfm); in crypto_cipher_setkey()
53 return setkey_unaligned(tfm, key, keylen); in crypto_cipher_setkey()
55 return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); in crypto_cipher_setkey()
59 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() argument
[all …]
Dcryptd.c140 refcnt = crypto_tfm_ctx(request->tfm); in cryptd_enqueue_request()
186 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() argument
188 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
241 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_complete() local
242 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_complete()
251 crypto_free_skcipher(tfm); in cryptd_skcipher_complete()
259 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_encrypt() local
260 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_encrypt()
287 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_decrypt() local
288 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_decrypt()
[all …]
Dapi.c349 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops() argument
351 const struct crypto_type *type_obj = tfm->__crt_alg->cra_type; in crypto_init_ops()
354 return type_obj->init(tfm, type, mask); in crypto_init_ops()
358 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() argument
360 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()
362 if (type && tfm->exit) in crypto_exit_ops()
363 tfm->exit(tfm); in crypto_exit_ops()
402 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm() local
406 tfm_size = sizeof(*tfm) + crypto_ctxsize(alg, type, mask); in __crypto_alloc_tfm()
407 tfm = kzalloc(tfm_size, GFP_KERNEL); in __crypto_alloc_tfm()
[all …]
Dsimd.c50 static int simd_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in simd_skcipher_setkey() argument
53 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_setkey()
57 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & in simd_skcipher_setkey()
64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_encrypt() local
65 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_encrypt()
85 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_decrypt() local
86 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_decrypt()
104 static void simd_skcipher_exit(struct crypto_skcipher *tfm) in simd_skcipher_exit() argument
106 struct simd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in simd_skcipher_exit()
111 static int simd_skcipher_init(struct crypto_skcipher *tfm) in simd_skcipher_init() argument
[all …]
/Linux-v6.1/net/mac80211/
Daes_cmac.c25 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac() argument
28 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac()
32 desc->tfm = tfm; in ieee80211_aes_cmac()
49 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac_256() argument
52 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac_256()
55 desc->tfm = tfm; in ieee80211_aes_cmac_256()
74 struct crypto_shash *tfm; in ieee80211_aes_cmac_key_setup() local
76 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup()
77 if (!IS_ERR(tfm)) { in ieee80211_aes_cmac_key_setup()
78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
[all …]
Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument
21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt()
24 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_encrypt()
40 aead_request_set_tfm(aead_req, tfm); in aead_encrypt()
50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument
53 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt()
56 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_decrypt()
75 aead_request_set_tfm(aead_req, tfm); in aead_decrypt()
89 struct crypto_aead *tfm; in aead_key_setup_encrypt() local
92 tfm = crypto_alloc_aead(alg, 0, CRYPTO_ALG_ASYNC); in aead_key_setup_encrypt()
[all …]
/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel_cipher.c374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local
375 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey()
405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local
406 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_setkey()
682 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req()
920 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result()
1001 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local
1012 req->cryptlen + crypto_aead_authsize(tfm), in safexcel_aead_handle_result()
1022 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_send_inv()
1040 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_skcipher_send()
[all …]
/Linux-v6.1/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local
18 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_opti_poll()
20 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_opti_poll()
38 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_opti_poll()
150 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local
151 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cipher_poll_fallback()
154 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll_fallback()
178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local
179 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_cipher_poll()
184 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_cipher_poll()
[all …]
/Linux-v6.1/crypto/asymmetric_keys/
Dpublic_key.c154 struct crypto_akcipher *tfm; in software_key_query() local
165 tfm = crypto_alloc_akcipher(alg_name, 0, 0); in software_key_query()
166 if (IS_ERR(tfm)) in software_key_query()
167 return PTR_ERR(tfm); in software_key_query()
181 ret = crypto_akcipher_set_priv_key(tfm, key, pkey->keylen); in software_key_query()
183 ret = crypto_akcipher_set_pub_key(tfm, key, pkey->keylen); in software_key_query()
187 len = crypto_akcipher_maxsize(tfm); in software_key_query()
203 crypto_free_akcipher(tfm); in software_key_query()
216 struct crypto_akcipher *tfm; in software_key_eds_op() local
230 tfm = crypto_alloc_akcipher(alg_name, 0, 0); in software_key_eds_op()
[all …]
/Linux-v6.1/drivers/crypto/cavium/zip/
Dzip_crypto.h60 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm);
61 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm);
62 void zip_free_comp_ctx(struct crypto_tfm *tfm);
63 int zip_comp_compress(struct crypto_tfm *tfm,
66 int zip_comp_decompress(struct crypto_tfm *tfm,
70 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm);
71 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm);
72 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *zip_ctx);
73 int zip_scomp_compress(struct crypto_scomp *tfm,
76 int zip_scomp_decompress(struct crypto_scomp *tfm,

12345678910>>...18