Home
last modified time | relevance | path

Searched defs:tfm (Results 176 – 200 of 365) sorted by relevance

12345678910>>...15

/OK3568_Linux_fs/kernel/drivers/crypto/
H A Datmel-sha.c427 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init() local
1243 static int atmel_sha_cra_init(struct crypto_tfm *tfm) in atmel_sha_cra_init()
1689 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup() local
1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_prehash_key_done() local
1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_ipad_hash() local
1786 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_opad_hash() local
1802 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup_done() local
1850 static int atmel_sha_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in atmel_sha_hmac_setkey()
1873 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_init_done() local
1890 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_final() local
[all …]
H A Dpicoxcell_crypto.c458 static int spacc_aead_setkey(struct crypto_aead *tfm, const u8 *key, in spacc_aead_setkey()
495 static int spacc_aead_setauthsize(struct crypto_aead *tfm, in spacc_aead_setauthsize()
693 static int spacc_aead_cra_init(struct crypto_aead *tfm) in spacc_aead_cra_init()
722 static void spacc_aead_cra_exit(struct crypto_aead *tfm) in spacc_aead_cra_exit()
776 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in spacc_aes_setkey() local
817 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in spacc_kasumi_f8_setkey() local
836 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(ablk_req); in spacc_ablk_need_fallback() local
867 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(ablk_req); in spacc_ablk_submit() local
926 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in spacc_ablk_setup() local
1001 static int spacc_ablk_init_tfm(struct crypto_skcipher *tfm) in spacc_ablk_init_tfm()
[all …]
H A Domap-sham.c308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_copy_hash_omap4() local
473 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_write_ctrl_omap4() local
963 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in omap_sham_init() local
1299 static int omap_sham_setkey(struct crypto_ahash *tfm, const u8 *key, in omap_sham_setkey()
1336 static int omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in omap_sham_cra_init_alg()
1374 static int omap_sham_cra_init(struct crypto_tfm *tfm) in omap_sham_cra_init()
1379 static int omap_sham_cra_sha1_init(struct crypto_tfm *tfm) in omap_sham_cra_sha1_init()
1384 static int omap_sham_cra_sha224_init(struct crypto_tfm *tfm) in omap_sham_cra_sha224_init()
1389 static int omap_sham_cra_sha256_init(struct crypto_tfm *tfm) in omap_sham_cra_sha256_init()
1394 static int omap_sham_cra_md5_init(struct crypto_tfm *tfm) in omap_sham_cra_md5_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx-aes-cbc.c21 static int cbc_aes_nx_set_key(struct crypto_skcipher *tfm, in cbc_aes_nx_set_key()
56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_nx_crypt() local
H A Dnx-aes-ecb.c21 static int ecb_aes_nx_set_key(struct crypto_skcipher *tfm, in ecb_aes_nx_set_key()
56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_nx_crypt() local
/OK3568_Linux_fs/kernel/crypto/
H A Dfcrypt.c236 static void fcrypt_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_encrypt()
268 static void fcrypt_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_decrypt()
303 static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in fcrypt_setkey()
H A Dchacha_generic.c42 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_chacha_crypt() local
50 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_xchacha_crypt() local
H A Danubis.c462 static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, in anubis_setkey()
660 static void anubis_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_encrypt()
666 static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_decrypt()
H A Dseed.c327 static int seed_set_key(struct crypto_tfm *tfm, const u8 *in_key, in seed_set_key()
364 static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_encrypt()
402 static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_decrypt()
H A Daes_generic.c1136 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_aes_set_key()
1176 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt()
1246 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt()
H A Dcast5_generic.c355 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt()
399 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt()
479 int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in cast5_setkey()
H A Decb.c46 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_ecb_encrypt() local
55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_ecb_decrypt() local
H A Dkpp.c49 static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm) in crypto_kpp_exit_tfm()
57 static int crypto_kpp_init_tfm(struct crypto_tfm *tfm) in crypto_kpp_init_tfm()
H A Dcast6_generic.c146 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey()
206 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt()
245 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt()
H A Dserpent_generic.c446 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in serpent_setkey()
511 static void serpent_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_encrypt()
572 static void serpent_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_decrypt()
579 static int tnepres_setkey(struct crypto_tfm *tfm, const u8 *key, in tnepres_setkey()
591 static void tnepres_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tnepres_encrypt()
611 static void tnepres_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tnepres_decrypt()
H A Dghash-generic.c55 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
143 static void ghash_exit_tfm(struct crypto_tfm *tfm) in ghash_exit_tfm()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-prng.c3 int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun4i_ss_prng_seed()
15 int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun4i_ss_prng_generate()
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A Dstm32-hash.c226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_key() local
254 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_ctrl() local
480 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_hmac_dma_send() local
683 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_init() local
1021 static int stm32_hash_setkey(struct crypto_ahash *tfm, in stm32_hash_setkey()
1036 static int stm32_hash_cra_init_algs(struct crypto_tfm *tfm, in stm32_hash_cra_init_algs()
1055 static int stm32_hash_cra_init(struct crypto_tfm *tfm) in stm32_hash_cra_init()
1060 static int stm32_hash_cra_md5_init(struct crypto_tfm *tfm) in stm32_hash_cra_md5_init()
1065 static int stm32_hash_cra_sha1_init(struct crypto_tfm *tfm) in stm32_hash_cra_sha1_init()
1070 static int stm32_hash_cra_sha224_init(struct crypto_tfm *tfm) in stm32_hash_cra_sha224_init()
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dkey.h92 struct crypto_aead *tfm; member
97 struct crypto_shash *tfm; member
103 struct crypto_aead *tfm; member
114 struct crypto_aead *tfm; member
H A Dfils_aead.c25 static int aes_s2v(struct crypto_shash *tfm, in aes_s2v()
72 struct crypto_shash *tfm; in aes_siv_encrypt() local
149 struct crypto_shash *tfm; in aes_siv_decrypt() local
/OK3568_Linux_fs/kernel/drivers/crypto/virtio/
H A Dvirtio_crypto_algs.c23 struct crypto_skcipher *tfm; member
297 static int virtio_crypto_skcipher_setkey(struct crypto_skcipher *tfm, in virtio_crypto_skcipher_setkey()
343 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __virtio_crypto_skcipher_do_req() local
532 static int virtio_crypto_skcipher_init(struct crypto_skcipher *tfm) in virtio_crypto_skcipher_init()
545 static void virtio_crypto_skcipher_exit(struct crypto_skcipher *tfm) in virtio_crypto_skcipher_exit()
/OK3568_Linux_fs/kernel/arch/mips/crypto/
H A Dchacha-glue.c56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_mips() local
64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_mips() local
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dcrc32-vx.c92 static int crc32_vx_cra_init_invert(struct crypto_tfm *tfm) in crc32_vx_cra_init_invert()
109 static int crc32_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, in crc32_vx_setkey()
120 static int crc32be_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, in crc32be_vx_setkey()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dcamellia_glue.c34 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt()
39 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt()
1253 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *key, in camellia_setkey()
1259 static int camellia_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in camellia_setkey_skcipher()
/OK3568_Linux_fs/kernel/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c241 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setkey() local
273 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setauthsize() local
309 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_init() local
341 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_exit() local

12345678910>>...15