| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | blowfish_generic.c | 36 static void bf_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_encrypt() 70 static void bf_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_decrypt()
|
| H A D | lrw.c | 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in lrw_xor_tweak() local 265 static int lrw_init_tfm(struct crypto_skcipher *tfm) in lrw_init_tfm() 284 static void lrw_exit_tfm(struct crypto_skcipher *tfm) in lrw_exit_tfm()
|
| H A D | salsa20_generic.c | 111 static int salsa20_setkey(struct crypto_skcipher *tfm, const u8 *key, in salsa20_setkey() 155 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in salsa20_crypt() local
|
| H A D | keywrap.c | 126 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_kw_decrypt() local 195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_kw_encrypt() local
|
| H A D | crc32c_generic.c | 72 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey() 122 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
|
| H A D | rng.c | 31 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in crypto_rng_reset() 57 static int crypto_rng_init_tfm(struct crypto_tfm *tfm) in crypto_rng_init_tfm()
|
| H A D | chacha20poly1305.c | 171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() local 362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() local 491 static int chachapoly_setauthsize(struct crypto_aead *tfm, in chachapoly_setauthsize() 500 static int chachapoly_init(struct crypto_aead *tfm) in chachapoly_init() 538 static void chachapoly_exit(struct crypto_aead *tfm) in chachapoly_exit()
|
| H A D | twofish_generic.c | 95 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_encrypt() 132 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_decrypt()
|
| H A D | xts.c | 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_xor_tweak() local 295 static int xts_init_tfm(struct crypto_skcipher *tfm) in xts_init_tfm() 323 static void xts_exit_tfm(struct crypto_skcipher *tfm) in xts_exit_tfm()
|
| H A D | aegis128-core.c | 382 static int crypto_aegis128_setauthsize(struct crypto_aead *tfm, in crypto_aegis128_setauthsize() 394 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt() local 426 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt() local
|
| /OK3568_Linux_fs/kernel/drivers/crypto/nx/ |
| H A D | nx-aes-gcm.c | 23 static int gcm_aes_nx_set_key(struct crypto_aead *tfm, in gcm_aes_nx_set_key() 62 static int gcm4106_aes_nx_set_key(struct crypto_aead *tfm, in gcm4106_aes_nx_set_key() 84 static int gcm4106_aes_nx_setauthsize(struct crypto_aead *tfm, in gcm4106_aes_nx_setauthsize()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_v2_ahash.c | 111 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_crypto_complete() local 306 static int rk_cra_hash_init(struct crypto_tfm *tfm) in rk_cra_hash_init() 350 static void rk_cra_hash_exit(struct crypto_tfm *tfm) in rk_cra_hash_exit()
|
| H A D | rk_crypto_v3_ahash.c | 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_crypto_complete() local 385 static int rk_cra_hash_init(struct crypto_tfm *tfm) in rk_cra_hash_init() 437 static void rk_cra_hash_exit(struct crypto_tfm *tfm) in rk_cra_hash_exit()
|
| /OK3568_Linux_fs/kernel/include/crypto/internal/ |
| H A D | akcipher.h | 42 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() 53 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name()
|
| H A D | skcipher.h | 150 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) in crypto_skcipher_ctx() 195 struct crypto_skcipher *tfm) in crypto_skcipher_walksize() 205 skcipher_cipher_simple(struct crypto_skcipher *tfm) in skcipher_cipher_simple()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | seg6_hmac.c | 123 struct crypto_shash *tfm; in __do_hmac() local 355 struct crypto_shash *tfm; in seg6_hmac_init_algo() local 422 struct crypto_shash *tfm; in seg6_hmac_exit() local
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | chacha-neon-glue.c | 140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_neon() local 148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_neon() local
|
| /OK3568_Linux_fs/kernel/drivers/crypto/amcc/ |
| H A D | crypto4xx_alg.c | 384 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_ccm() local 486 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setauthsize_aead() local 530 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_gcm() local 623 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, in crypto4xx_hash_alg_init() 717 int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) in crypto4xx_sha1_alg_init()
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | chacha_glue.c | 200 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_simd() local 208 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_simd() local
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | selftest.c | 141 static int __init test_ecdh_sample(struct crypto_kpp *tfm, const u8 priv_a[32], in test_ecdh_sample() 201 struct crypto_kpp *tfm; in test_ecdh() local
|
| /OK3568_Linux_fs/kernel/drivers/crypto/stm32/ |
| H A D | stm32-cryp.c | 648 static int stm32_cryp_init_tfm(struct crypto_skcipher *tfm) in stm32_cryp_init_tfm() 664 static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) in stm32_cryp_aes_aead_init() 706 static int stm32_cryp_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_setkey() 717 static int stm32_cryp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey() 727 static int stm32_cryp_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_des_setkey() 734 static int stm32_cryp_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_tdes_setkey() 741 static int stm32_cryp_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in stm32_cryp_aes_aead_setkey() 756 static int stm32_cryp_aes_gcm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_gcm_setauthsize() 775 static int stm32_cryp_aes_ccm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_ccm_setauthsize()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | exynos-rng.c | 194 static int exynos_rng_generate(struct crypto_rng *tfm, in exynos_rng_generate() 225 static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed, in exynos_rng_seed() 245 static int exynos_rng_kcapi_init(struct crypto_tfm *tfm) in exynos_rng_kcapi_init()
|
| H A D | talitos.c | 1704 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash_unmap() local 1791 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() local 1914 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() local 1929 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() local 1982 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_process_req() local 2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_export() local 2158 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_import() local 2185 static int keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, in keyhash() 2216 static int ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey() 3068 static int talitos_cra_init_aead(struct crypto_aead *tfm) in talitos_cra_init_aead() [all …]
|
| /OK3568_Linux_fs/kernel/security/keys/encrypted-keys/ |
| H A D | encrypted.c | 83 struct crypto_skcipher *tfm; in aes_get_sizes() local 329 struct crypto_shash *tfm; in calc_hmac() local 381 struct crypto_skcipher *tfm; in init_skcipher_req() local 452 struct crypto_skcipher *tfm; in derived_key_encrypt() local 554 struct crypto_skcipher *tfm; in derived_key_decrypt() local
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | crc32-ce-glue.c | 36 static int crc32_cra_init(struct crypto_tfm *tfm) in crc32_cra_init() 44 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
|