Searched defs:tfm (Results 251 - 275 of 393) sorted by last modified time

<<111213141516

/linux-master/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local
227 static int sec_alg_skcipher_setkey(struct crypto_skcipher *tfm, argument
253 static int sec_alg_skcipher_setkey_aes_ecb(struct crypto_skcipher *tfm, argument
275 static int sec_alg_skcipher_setkey_aes_cbc(struct crypto_skcipher *tfm, argument
297 static int sec_alg_skcipher_setkey_aes_ctr(struct crypto_skcipher *tfm, argument
319 sec_alg_skcipher_setkey_aes_xts(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
343 sec_alg_skcipher_setkey_des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
350 sec_alg_skcipher_setkey_des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
357 sec_alg_skcipher_setkey_3des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
365 sec_alg_skcipher_setkey_3des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local
872 sec_alg_skcipher_init(struct crypto_skcipher *tfm) argument
890 sec_alg_skcipher_exit(struct crypto_skcipher *tfm) argument
903 sec_alg_skcipher_init_with_queue(struct crypto_skcipher *tfm) argument
923 sec_alg_skcipher_exit_with_queue(struct crypto_skcipher *tfm) argument
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-main.c75 struct crypto_tfm *tfm; member in struct:ccp_crypto_cmd
[all...]
H A Dccp-crypto-sha.c30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
184 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
272 static int ccp_sha_setkey(struct crypto_ahash *tfm, cons argument
314 ccp_sha_cra_init(struct crypto_tfm *tfm) argument
327 ccp_sha_cra_exit(struct crypto_tfm *tfm) argument
331 ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) argument
349 ccp_hmac_sha_cra_exit(struct crypto_tfm *tfm) argument
[all...]
H A Dccp-crypto-rsa.c57 static unsigned int ccp_rsa_maxsize(struct crypto_akcipher *tfm) argument
66 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
126 static int ccp_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument
181 static int ccp_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, argument
187 static int ccp_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, argument
193 ccp_rsa_init_tfm(struct crypto_akcipher *tfm) argument
203 ccp_rsa_exit_tfm(struct crypto_akcipher *tfm) argument
[all...]
H A Dccp-crypto-des3.c37 static int ccp_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
116 static int ccp_des3_init_tfm(struct crypto_skcipher *tfm) argument
H A Dccp-crypto-aes-galois.c29 static int ccp_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, argument
57 static int ccp_aes_gcm_setauthsize(struct crypto_aead *tfm, argument
78 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
149 static int ccp_aes_gcm_cra_init(struct crypto_aead *tfm) argument
161 static void ccp_aes_gcm_cra_exit(struct crypto_tfm *tfm) argument
[all...]
H A Dccp-crypto-aes-xts.c75 static int ccp_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
107 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
197 static int ccp_aes_xts_init_tfm(struct crypto_skcipher *tfm) argument
220 static void ccp_aes_xts_exit_tfm(struct crypto_skcipher *tfm) argument
[all...]
H A Dccp-crypto-aes-cmac.c27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
256 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, argument
335 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) argument
[all...]
/linux-master/drivers/crypto/caam/
H A Dcaamprng.c76 static int caam_prng_generate(struct crypto_rng *tfm, argument
138 static void caam_prng_exit(struct crypto_tfm *tfm) {} argument
140 static int caam_prng_init(struct crypto_tfm *tfm) argument
145 static int caam_prng_seed(struct crypto_rng *tfm, argument
/linux-master/crypto/
H A Daria_generic.c174 int aria_set_key(struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len) argument
266 static void __aria_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
273 static void __aria_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
H A Dtwofish_common.c686 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) argument
H A Dtwofish_generic.c95 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
130 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
H A Dtea.c42 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, argument
57 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
85 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
115 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, argument
130 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
151 xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
174 xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
195 xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
[all...]
/linux-master/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c54 static int ghash_setkey(struct crypto_shash *tfm, argument
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
213 struct crypto_ahash *tfm local
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
272 ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
284 ghash_async_init_tfm(struct crypto_tfm *tfm) argument
302 ghash_async_exit_tfm(struct crypto_tfm *tfm) argument
[all...]
H A Dblowfish_glue.c43 static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
48 static void blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument
53 static int blowfish_setkey_skcipher(struct crypto_skcipher *tfm, argument
H A Daria_aesni_avx2_glue.c68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
82 static int aria_avx2_set_key(struct crypto_skcipher *tfm, const u8 *key, argument
91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
159 static int aria_avx2_init_tfm(struct crypto_skcipher *tfm) argument
[all...]
H A Daria_aesni_avx_glue.c66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
80 static int aria_avx_set_key(struct crypto_skcipher *tfm, const u8 *key, argument
89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
146 static int aria_avx_init_tfm(struct crypto_skcipher *tfm) argument
[all...]
H A Daria_gfni_avx512_glue.c55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
69 static int aria_avx512_set_key(struct crypto_skcipher *tfm, const u8 *key, argument
78 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
158 static int aria_avx512_init_tfm(struct crypto_skcipher *tfm) argument
[all...]
/linux-master/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c43 static int gcm_setkey(struct crypto_aead *tfm, const u8 *key, argument
61 static int gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
H A Dghash-ce-glue.c189 static int ghash_setkey(struct crypto_shash *tfm, argument
232 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
264 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
480 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
495 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
[all...]
H A Dsm4-ce-ccm-glue.c30 static int ccm_setkey(struct crypto_aead *tfm, const u8 *key, argument
46 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
/linux-master/arch/arm/crypto/
H A Dghash-ce-glue.c173 static int ghash_setkey(struct crypto_shash *tfm, argument
218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
250 struct crypto_ahash *tfm local
267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
306 ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
318 ghash_async_init_tfm(struct crypto_tfm *tfm) argument
334 ghash_async_exit_tfm(struct crypto_tfm *tfm) argument
382 gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) argument
416 gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
673 rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) argument
688 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
[all...]
/linux-master/drivers/crypto/qce/
H A Dsha.c185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
329 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, cons argument
393 qce_ahash_cra_init(struct crypto_tfm *tfm) argument
[all...]
H A Daead.c188 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
332 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
504 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
565 qce_aead_ccm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
595 qce_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
651 qce_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
667 qce_aead_init(struct crypto_aead *tfm) argument
683 qce_aead_exit(struct crypto_aead *tfm) argument
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_hash.c287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1110 cc_get_hash_len(struct crypto_tfm *tfm) argument
1120 cc_cra_init(struct crypto_tfm *tfm) argument
1141 cc_cra_exit(struct crypto_tfm *tfm) argument
1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1423 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2077 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
[all...]

Completed in 214 milliseconds

<<111213141516