| /OK3568_Linux_fs/kernel/drivers/crypto/stm32/ |
| H A D | stm32-crc32.c | 72 static int stm32_crc32_cra_init(struct crypto_tfm *tfm) in stm32_crc32_cra_init() 81 static int stm32_crc32c_cra_init(struct crypto_tfm *tfm) in stm32_crc32c_cra_init() 90 static int stm32_crc_setkey(struct crypto_shash *tfm, const u8 *key, in stm32_crc_setkey()
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | pcrypt.c | 37 struct crypto_aead *tfm) in pcrypt_tfm_ictx() 171 static int pcrypt_aead_init_tfm(struct crypto_aead *tfm) in pcrypt_aead_init_tfm() 199 static void pcrypt_aead_exit_tfm(struct crypto_aead *tfm) in pcrypt_aead_exit_tfm()
|
| H A D | gcm.c | 146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize() 521 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm() 559 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) in crypto_gcm_exit_tfm() 789 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) in crypto_rfc4106_init_tfm() 814 static void crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4106_exit_tfm() 987 static int crypto_rfc4543_init_tfm(struct crypto_aead *tfm) in crypto_rfc4543_init_tfm() 1025 static void crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4543_exit_tfm()
|
| H A D | algif_hash.c | 297 struct crypto_ahash *tfm; in hash_check_key() local 421 struct crypto_ahash *tfm = private; in hash_accept_parent_nokey() local 448 struct crypto_ahash *tfm = private; in hash_accept_parent() local
|
| H A D | tcrypt.c | 54 #define get_driver_name(tfm_type, tfm) crypto_tfm_alg_driver_name(tfm_type ## _tfm(tfm)) argument 257 struct crypto_aead *tfm; in test_mb_aead_speed() local 525 struct crypto_aead *tfm; in test_aead_speed() local 816 struct crypto_ahash *tfm; in test_mb_ahash_speed() local 1061 struct crypto_ahash *tfm; in test_ahash_speed_common() local 1254 struct crypto_skcipher *tfm; in test_mb_skcipher_speed() local 1499 struct crypto_skcipher *tfm; in test_skcipher_speed() local
|
| H A D | fips140-selftests.c | 228 struct crypto_skcipher *tfm; in fips_test_skcipher() local 304 struct crypto_aead *tfm; in fips_test_aead() local 408 struct crypto_shash *tfm; in fips_test_hash() local
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | zswap.c | 132 struct crypto_comp * __percpu *tfm; member 418 struct crypto_comp *tfm; in zswap_cpu_comp_prepare() local 436 struct crypto_comp *tfm; in zswap_cpu_comp_dead() local 879 struct crypto_comp *tfm; in zswap_writeback_entry() local 1007 struct crypto_comp *tfm; in zswap_frontswap_store() local 1151 struct crypto_comp *tfm; in zswap_frontswap_load() local
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | chacha-glue.c | 144 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_chacha() local 162 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_xchacha() local
|
| /OK3568_Linux_fs/kernel/include/crypto/internal/ |
| H A D | aead.h | 37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() 158 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) in crypto_aead_chunksize()
|
| /OK3568_Linux_fs/kernel/drivers/target/iscsi/ |
| H A D | iscsi_target_auth.c | 75 struct crypto_shash *tfm; in chap_test_algorithm() local 227 struct crypto_shash *tfm = NULL; in chap_server_compute_hash() local
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | sec_ccmp.c | 52 struct crypto_cipher *tfm; member 62 static inline void lib80211_ccmp_aes_encrypt(struct crypto_cipher *tfm, in lib80211_ccmp_aes_encrypt() 161 static void ccmp_init_blocks(struct crypto_cipher *tfm, in ccmp_init_blocks() 444 struct crypto_cipher *tfm = data->tfm; in lib80211_ccmp_set_key() local
|
| /OK3568_Linux_fs/kernel/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 1235 static int artpec6_crypto_aead_init(struct crypto_aead *tfm) in artpec6_crypto_aead_init() 1247 static int artpec6_crypto_aead_set_key(struct crypto_aead *tfm, const u8 *key, in artpec6_crypto_aead_set_key() 1533 static int artpec6_crypto_aes_ecb_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ecb_init() 1543 static int artpec6_crypto_aes_ctr_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ctr_init() 1559 static int artpec6_crypto_aes_cbc_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_cbc_init() 1569 static int artpec6_crypto_aes_xts_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_xts_init() 1579 static void artpec6_crypto_aes_exit(struct crypto_skcipher *tfm) in artpec6_crypto_aes_exit() 1586 static void artpec6_crypto_aes_ctr_exit(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ctr_exit() 2224 artpec6_crypto_hash_set_key(struct crypto_ahash *tfm, in artpec6_crypto_hash_set_key() 2387 static int artpec6_crypto_ahash_init_common(struct crypto_tfm *tfm, in artpec6_crypto_ahash_init_common() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qce/ |
| H A D | sha.c | 237 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update() local 362 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey() 426 static int qce_ahash_cra_init(struct crypto_tfm *tfm) in qce_ahash_cra_init()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/ |
| H A D | hash.c | 434 static inline int mv_cesa_ahash_cra_init(struct crypto_tfm *tfm) in mv_cesa_ahash_cra_init() 1188 struct crypto_ahash *tfm; in mv_cesa_ahmac_setkey() local 1236 static int mv_cesa_ahmac_cra_init(struct crypto_tfm *tfm) in mv_cesa_ahmac_cra_init() 1260 static int mv_cesa_ahmac_md5_setkey(struct crypto_ahash *tfm, const u8 *key, in mv_cesa_ahmac_md5_setkey() 1331 static int mv_cesa_ahmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in mv_cesa_ahmac_sha1_setkey() 1389 static int mv_cesa_ahmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in mv_cesa_ahmac_sha256_setkey()
|
| H A D | cipher.c | 231 static void mv_cesa_skcipher_cra_exit(struct crypto_tfm *tfm) in mv_cesa_skcipher_cra_exit() 238 static int mv_cesa_skcipher_cra_init(struct crypto_tfm *tfm) in mv_cesa_skcipher_cra_init() 253 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_aes_setkey() local 416 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in mv_cesa_skcipher_req_init() local
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | ghash-ce-glue.c | 186 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 229 static int gcm_setkey(struct crypto_aead *tfm, const u8 *inkey, in gcm_setkey() 261 static int gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_setauthsize()
|
| H A D | aes-ce-ccm-glue.c | 46 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, in ccm_setkey() 54 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | crypto.h | 16 struct crypto_sync_skcipher *tfm; member
|
| /OK3568_Linux_fs/kernel/security/keys/ |
| H A D | dh.c | 89 struct crypto_shash *tfm; in kdf_alloc() local 239 struct crypto_kpp *tfm; in __keyctl_dh_compute() local
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | cryptlib.c | 148 struct crypto_tfm *tfm; in cryptodev_cipher_init() local 451 struct crypto_tfm *tfm; in cryptodev_hash_copy() local
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | libcrc32c.c | 36 static struct crypto_shash *tfm; variable
|
| /OK3568_Linux_fs/kernel/drivers/block/zram/ |
| H A D | zcomp.h | 15 struct crypto_comp *tfm; member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/amcc/ |
| H A D | crypto4xx_core.c | 978 static int crypto4xx_aead_init(struct crypto_aead *tfm) in crypto4xx_aead_init() 998 static void crypto4xx_aead_exit(struct crypto_aead *tfm) in crypto4xx_aead_exit() 1164 static int crypto4xx_prng_generate(struct crypto_rng *tfm, in crypto4xx_prng_generate() 1183 static int crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed, in crypto4xx_prng_seed()
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | curve25519-x86_64.c | 1404 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret() 1421 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_generate_public_key() local 1443 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_shared_secret() local 1471 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | sahara.c | 601 static int sahara_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sahara_aes_setkey() 733 static int sahara_aes_init_tfm(struct crypto_skcipher *tfm) in sahara_aes_init_tfm() 751 static void sahara_aes_exit_tfm(struct crypto_skcipher *tfm) in sahara_aes_exit_tfm() 913 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sahara_sha_prepare_request() local 1105 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sahara_sha_init() local 1170 static int sahara_sha_cra_init(struct crypto_tfm *tfm) in sahara_sha_cra_init()
|