Searched defs:tfm (Results 101 - 125 of 393) sorted by last modified time

1234567891011>>

/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
328 static int cvm_enc_dec_init(struct crypto_skcipher *tfm) argument
/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c108 static int nitrox_skcipher_init(struct crypto_skcipher *tfm) argument
134 static int nitrox_cbc_init(struct crypto_skcipher *tfm) argument
147 static void nitrox_skcipher_exit(struct crypto_skcipher *tfm) argument
169 struct crypto_tfm *tfm local
[all...]
/linux-master/drivers/crypto/bcm/
H A Dcipher.c658 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); local
1905 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1962 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2018 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2091 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2419 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2576 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
2724 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
2819 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
4087 generic_cra_init(struct crypto_tfm *tfm, struct iproc_alg_s *cipher_alg) argument
4116 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); local
4128 ahash_cra_init(struct crypto_tfm *tfm) argument
4153 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
4198 generic_cra_exit(struct crypto_tfm *tfm) argument
4203 skcipher_exit_tfm(struct crypto_skcipher *tfm) argument
4210 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
[all...]
/linux-master/drivers/crypto/axis/
H A Dartpec6_crypto.c1236 static int artpec6_crypto_aead_init(struct crypto_aead *tfm) argument
1248 static int artpec6_crypto_aead_set_key(struct crypto_aead *tfm, const u8 *key, argument
1534 static int artpec6_crypto_aes_ecb_init(struct crypto_skcipher *tfm) argument
1545 static int artpec6_crypto_aes_ctr_init(struct crypto_skcipher *tfm) argument
1562 artpec6_crypto_aes_cbc_init(struct crypto_skcipher *tfm) argument
1573 artpec6_crypto_aes_xts_init(struct crypto_skcipher *tfm) argument
1584 artpec6_crypto_aes_exit(struct crypto_skcipher *tfm) argument
1591 artpec6_crypto_aes_ctr_exit(struct crypto_skcipher *tfm) argument
2229 artpec6_crypto_hash_set_key(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
2392 artpec6_crypto_ahash_init_common(struct crypto_tfm *tfm, const char *base_hash_name) argument
2416 artpec6_crypto_ahash_init(struct crypto_tfm *tfm) argument
2421 artpec6_crypto_ahash_init_hmac_sha256(struct crypto_tfm *tfm) argument
2426 artpec6_crypto_ahash_exit(struct crypto_tfm *tfm) argument
[all...]
/linux-master/drivers/crypto/
H A Datmel-aes.c1107 static int atmel_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
1153 static int atmel_aes_init_tfm(struct crypto_skcipher *tfm) argument
1169 static int atmel_aes_ctr_init_tfm(struct crypto_skcipher *tfm) argument
1315 struct crypto_aead *tfm local
1352 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
1503 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
1543 atmel_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
1559 atmel_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
1575 atmel_aes_gcm_init(struct crypto_aead *tfm) argument
1677 atmel_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
1711 atmel_aes_xts_init_tfm(struct crypto_skcipher *tfm) argument
1734 atmel_aes_xts_exit_tfm(struct crypto_skcipher *tfm) argument
1784 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
1879 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
1903 atmel_aes_authenc_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
1937 atmel_aes_authenc_init_tfm(struct crypto_aead *tfm, unsigned long auth_mode) argument
1960 atmel_aes_authenc_hmac_sha1_init_tfm(struct crypto_aead *tfm) argument
1965 atmel_aes_authenc_hmac_sha224_init_tfm(struct crypto_aead *tfm) argument
1970 atmel_aes_authenc_hmac_sha256_init_tfm(struct crypto_aead *tfm) argument
1975 atmel_aes_authenc_hmac_sha384_init_tfm(struct crypto_aead *tfm) argument
1980 atmel_aes_authenc_hmac_sha512_init_tfm(struct crypto_aead *tfm) argument
1985 atmel_aes_authenc_exit_tfm(struct crypto_aead *tfm) argument
1996 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
[all...]
H A Datmel-tdes.c720 static int atmel_des_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
736 static int atmel_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
772 static int atmel_tdes_init_tfm(struct crypto_skcipher *tfm) argument
/linux-master/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c30 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); local
634 static int aspeed_crypto_cra_init(struct crypto_skcipher *tfm) argument
662 aspeed_crypto_cra_exit(struct crypto_skcipher *tfm) argument
[all...]
/linux-master/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
276 struct crypto_skcipher *tfm local
294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
310 meson_cipher_init(struct crypto_tfm *tfm) argument
336 meson_cipher_exit(struct crypto_tfm *tfm) argument
344 meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
[all...]
/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_core.c976 static int crypto4xx_aead_init(struct crypto_aead *tfm) argument
996 static void crypto4xx_aead_exit(struct crypto_aead *tfm) argument
1162 static int crypto4xx_prng_generate(struct crypto_rng *tfm, argument
1181 crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) argument
[all...]
H A Dcrypto4xx_alg.c370 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
472 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
516 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
609 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, argument
703 crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) argument
[all...]
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c95 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) argument
133 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) argument
147 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
161 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
211 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
255 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
391 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
476 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
[all...]
H A Dsun8i-ss-cipher.c25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
122 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
185 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
347 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
368 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local
387 sun8i_ss_cipher_init(struct crypto_tfm *tfm) argument
427 sun8i_ss_cipher_exit(struct crypto_tfm *tfm) argument
436 sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
465 sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
[all...]
/linux-master/crypto/
H A Dskcipher.c469 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
530 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
581 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
589 skcipher_set_needkey(struct crypto_skcipher *tfm) argument
595 skcipher_setkey_unaligned(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
616 crypto_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
655 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
679 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
703 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
716 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
739 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
750 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
759 crypto_skcipher_exit_tfm(struct crypto_tfm *tfm) argument
767 crypto_skcipher_init_tfm(struct crypto_tfm *tfm) argument
909 struct crypto_skcipher *tfm; local
1048 skcipher_setkey_simple(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
1059 skcipher_init_tfm_simple(struct crypto_skcipher *tfm) argument
1074 skcipher_exit_tfm_simple(struct crypto_skcipher *tfm) argument
[all...]
H A Dshash.c31 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, argument
38 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) argument
44 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, argument
102 struct crypto_shash *tfm = desc->tfm; local
131 struct crypto_shash *tfm = desc->tfm; local
151 crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data, unsigned int len, u8 *out) argument
169 struct crypto_shash *tfm = desc->tfm; local
182 struct crypto_shash *tfm = desc->tfm; local
196 crypto_shash_exit_tfm(struct crypto_tfm *tfm) argument
204 crypto_shash_init_tfm(struct crypto_tfm *tfm) argument
317 struct crypto_tfm *tfm = crypto_shash_tfm(hash); local
[all...]
H A Decb.c34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument
45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument
56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm, argument
68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm) argument
84 lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm) argument
[all...]
H A Ddrbg.c1643 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, argument
1666 struct crypto_shash *tfm; local
1723 struct crypto_cipher *tfm = local
1745 struct crypto_cipher *tfm; local
1805 struct crypto_cipher *tfm = drbg->priv_data; local
1813 struct crypto_cipher *tfm = drbg->priv_data; local
1909 drbg_kcapi_init(struct crypto_tfm *tfm) argument
1918 drbg_kcapi_cleanup(struct crypto_tfm *tfm) argument
1932 drbg_kcapi_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int dlen) argument
1952 drbg_kcapi_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) argument
[all...]
H A Dalgif_skcipher.c44 struct crypto_skcipher *tfm = pask->private; local
53 struct crypto_skcipher *tfm; local
104 struct crypto_skcipher *tfm = pask->private; local
270 struct crypto_skcipher *tfm; local
364 struct crypto_skcipher *tfm = pask->private; local
378 struct crypto_skcipher *tfm = private; local
407 struct crypto_skcipher *tfm = private; local
[all...]
H A Darc4.c19 static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key, argument
27 static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src, argument
41 static int crypto_arc4_init(struct crypto_lskcipher *tfm) argument
H A Dalgapi.c804 struct crypto_tfm *tfm; local
829 struct crypto_tfm *tfm; local
[all...]
/linux-master/arch/x86/crypto/
H A Dsm4_aesni_avx_glue.c31 static int sm4_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
75 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
93 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
127 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
[all...]
H A Dsm4_aesni_avx2_glue.c27 static int sm4_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
/linux-master/arch/s390/crypto/
H A Daes_s390.c72 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, argument
84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument
105 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
116 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument
128 fallback_init_cip(struct crypto_tfm *tfm) argument
145 fallback_exit_cip(struct crypto_tfm *tfm) argument
175 setkey_fallback_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int len) argument
201 ecb_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
254 fallback_init_skcipher(struct crypto_skcipher *tfm) argument
273 fallback_exit_skcipher(struct crypto_skcipher *tfm) argument
297 cbc_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
378 xts_fallback_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int len) argument
390 xts_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
486 xts_fallback_init(struct crypto_skcipher *tfm) argument
504 xts_fallback_exit(struct crypto_skcipher *tfm) argument
529 ctr_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
567 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
631 gcm_aes_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
655 gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
828 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
[all...]
/linux-master/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c169 static int set_authsize(struct crypto_aead *tfm, unsigned int authsize) argument
190 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
203 struct crypto_tfm *tfm = req->base.tfm; local
/linux-master/arch/arm64/crypto/
H A Dsm4-neon-glue.c28 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
82 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
114 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
[all...]
H A Dsm4-ce-glue.c71 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
86 static int sm4_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
192 struct crypto_skcipher *tfm local
200 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
208 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
323 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
507 sm4_cbcmac_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) argument
523 sm4_cmac_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) argument
559 sm4_xcbc_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) argument
[all...]

Completed in 296 milliseconds

1234567891011>>