| /linux/include/crypto/ |
| H A D | aead.h | 177 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() 200 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() 205 static inline struct crypto_tfm *crypto_sync_aead_tfm(struct crypto_sync_aead *tfm) in crypto_sync_aead_tfm() 216 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() 221 static inline void crypto_free_sync_aead(struct crypto_sync_aead *tfm) in crypto_free_sync_aead() 238 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name() 243 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg() 263 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() 268 static inline unsigned int crypto_sync_aead_ivsize(struct crypto_sync_aead *tfm) in crypto_sync_aead_ivsize() 285 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() [all …]
|
| H A D | kpp.h | 114 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() 124 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() 129 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() 134 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize() 140 struct crypto_kpp *tfm) in kpp_request_set_tfm() 150 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags() 155 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags() 167 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp() 180 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc() 290 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret() [all …]
|
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-cipher.c | 17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local 150 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local 178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local 399 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local 410 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local 422 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local 433 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local 445 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local 456 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local 468 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local [all …]
|
| /linux/include/crypto/internal/ |
| H A D | cipher.h | 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags() 124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags() 130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags() 215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
| H A D | des.h | 26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() 91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key() 99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key() 105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key() 111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() 119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 117 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_init() local 131 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_update() local 146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_final() local 161 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_finup() local 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_digest() local 193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_import() local 207 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_export() local 355 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_init() local 469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_final() local 520 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_one_req() local [all …]
|
| H A D | tegra-se-aes.c | 344 static int tegra_aes_cra_init(struct crypto_skcipher *tfm) in tegra_aes_cra_init() 374 static void tegra_aes_cra_exit(struct crypto_skcipher *tfm) in tegra_aes_cra_exit() 385 static int tegra_aes_setkey(struct crypto_skcipher *tfm, in tegra_aes_setkey() 405 static int tegra_xts_setkey(struct crypto_skcipher *tfm, in tegra_xts_setkey() 483 struct crypto_skcipher *tfm; in tegra_aes_crypt() local 1164 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_ccm_crypt_init() local 1201 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_ccm_do_one_req() local 1278 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_gcm_do_one_req() local 1363 static int tegra_aead_cra_init(struct crypto_aead *tfm) in tegra_aead_cra_init() 1392 static int tegra_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in tegra_ccm_setauthsize() [all …]
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 620 static int safexcel_ahash_exit_inv(struct crypto_tfm *tfm) in safexcel_ahash_exit_inv() 916 static int safexcel_ahash_cra_init(struct crypto_tfm *tfm) in safexcel_ahash_cra_init() 959 static void safexcel_ahash_cra_exit(struct crypto_tfm *tfm) in safexcel_ahash_cra_exit() 1119 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local 1188 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey() 1197 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey() 1350 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey() 1422 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey() 1608 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey() 1680 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha384_setkey() [all …]
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 103 struct crypto_aead *tfm; in validate_hmac_cipher_null() local 239 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() local 394 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_xts_setkey() 423 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey() 439 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_aes_setkey() 465 static int otx_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_aes_setkey() 471 static int otx_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_aes_setkey() 477 static int otx_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_des3_setkey() 483 static int otx_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_des3_setkey() 489 static int otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) in otx_cpt_enc_dec_init() [all …]
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | 88 struct crypto_shash *tfm = ima_shash_tfm; ima_alloc_tfm() local 209 ima_free_tfm(struct crypto_shash * tfm) ima_free_tfm() argument 287 struct crypto_ahash *tfm = ima_ahash_tfm; ima_alloc_atfm() local 307 ima_free_atfm(struct crypto_ahash * tfm) ima_free_atfm() argument 326 ima_calc_file_hash_atfm(struct file * file,struct ima_digest_data * hash,struct crypto_ahash * tfm) ima_calc_file_hash_atfm() argument 437 struct crypto_ahash *tfm; ima_calc_file_ahash() local 453 ima_calc_file_hash_tfm(struct file * file,struct ima_digest_data * hash,struct crypto_shash * tfm) ima_calc_file_hash_tfm() argument 504 struct crypto_shash *tfm; ima_calc_file_shash() local 660 calc_buffer_ahash_atfm(const void * buf,loff_t len,struct ima_digest_data * hash,struct crypto_ahash * tfm) calc_buffer_ahash_atfm() argument 701 struct crypto_ahash *tfm; calc_buffer_ahash() local 717 calc_buffer_shash_tfm(const void * buf,loff_t size,struct ima_digest_data * hash,struct crypto_shash * tfm) calc_buffer_shash_tfm() argument 748 struct crypto_shash *tfm; calc_buffer_shash() local 796 ima_calc_boot_aggregate_tfm(char * digest,u16 alg_id,struct crypto_shash * tfm) ima_calc_boot_aggregate_tfm() argument 841 struct crypto_shash *tfm; ima_calc_boot_aggregate() local [all...] |
| /linux/drivers/crypto/gemini/ |
| H A D | sl3516-ce-cipher.c | 27 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_need_fallback() local 105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher_fallback() local 129 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher() local 280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skdecrypt() local 298 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skencrypt() local 314 int sl3516_ce_cipher_init(struct crypto_tfm *tfm) in sl3516_ce_cipher_init() 353 void sl3516_ce_cipher_exit(struct crypto_tfm *tfm) in sl3516_ce_cipher_exit() 362 int sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sl3516_ce_aes_setkey()
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 95 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm() 133 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm() 147 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() local 163 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() local 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() local 191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() local 218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() local 233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() local 261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() local 347 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() local [all …]
|
| H A D | sun8i-ss-prng.c | 19 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun8i_ss_prng_seed() 40 int sun8i_ss_prng_init(struct crypto_tfm *tfm) in sun8i_ss_prng_init() 48 void sun8i_ss_prng_exit(struct crypto_tfm *tfm) in sun8i_ss_prng_exit() 57 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun8i_ss_prng_generate()
|
| /linux/drivers/crypto/ |
| H A D | geode-aes.c | 110 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_cip() 136 static int geode_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in geode_setkey_skcipher() 164 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_encrypt() 179 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_decrypt() 192 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 208 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 238 static int geode_init_skcipher(struct crypto_skcipher *tfm) in geode_init_skcipher() 256 static void geode_exit_skcipher(struct crypto_skcipher *tfm) in geode_exit_skcipher() 265 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in geode_skcipher_crypt() local
|
| H A D | padlock-aes.c | 97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() 102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) in skcipher_aes_ctx() 107 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 162 static int aes_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *in_key, in aes_set_key_skcipher() 306 static void padlock_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in padlock_aes_encrypt() 315 static void padlock_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in padlock_aes_decrypt() 346 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_encrypt() local 371 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_decrypt() local 411 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_encrypt() local 438 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_decrypt() local
|
| /linux/crypto/ |
| H A D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() 58 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() 79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one() 86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one() 95 struct crypto_tfm *tfm = crypto_cipher_tfm(cipher); in crypto_clone_cipher() local
|
| H A D | chacha.c | 20 static int chacha_setkey(struct crypto_skcipher *tfm, in chacha_setkey() 36 static int chacha20_setkey(struct crypto_skcipher *tfm, in chacha20_setkey() 42 static int chacha12_setkey(struct crypto_skcipher *tfm, in chacha12_setkey() 76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_chacha_crypt() local 84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_xchacha_crypt() local
|
| H A D | algif_aead.c | 43 struct crypto_aead *tfm = pask->private; in aead_sufficient_data() local 59 struct crypto_aead *tfm = pask->private; in aead_sendmsg() local 73 struct crypto_aead *tfm = pask->private; in _aead_recvmsg() local 295 struct crypto_aead *tfm; in aead_check_key() local 394 struct crypto_aead *tfm = pask->private; in aead_sock_destruct() local 407 struct crypto_aead *tfm = private; in aead_accept_parent_nokey() local 436 struct crypto_aead *tfm = private; in aead_accept_parent() local
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-glue.c | 69 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey() 83 static int sm4_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_xts_setkey() 135 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local 185 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local 193 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local 201 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_cts_crypt() local 271 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local 312 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_xts_crypt() local 490 static int sm4_cbcmac_setkey(struct crypto_shash *tfm, const u8 *key, in sm4_cbcmac_setkey() [all …]
|
| H A D | sm4-neon-glue.c | 28 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey() 63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local 71 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local 79 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local 111 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local 139 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local
|
| H A D | aes-neonbs-glue.c | 62 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 124 static int aesbs_cbc_ctr_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_ctr_setkey() 152 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 202 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 246 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey() 275 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __xts_crypt() local
|
| /linux/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl-cipher.c | 60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher_do_fallback() local 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher() local 276 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skdecrypt() local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skencrypt() local 310 int meson_cipher_init(struct crypto_tfm *tfm) in meson_cipher_init() 336 void meson_cipher_exit(struct crypto_tfm *tfm) in meson_cipher_exit() 344 int meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in meson_aes_setkey()
|
| /linux/arch/x86/crypto/ |
| H A D | aria_aesni_avx_glue.c | 64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ecb_encrypt() local 72 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ecb_decrypt() local 78 static int aria_avx_set_key(struct crypto_skcipher *tfm, const u8 *key, in aria_avx_set_key() 87 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ctr_encrypt() local 144 static int aria_avx_init_tfm(struct crypto_skcipher *tfm) in aria_avx_init_tfm()
|
| H A D | aria_aesni_avx2_glue.c | 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ecb_encrypt() local 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ecb_decrypt() local 80 static int aria_avx2_set_key(struct crypto_skcipher *tfm, const u8 *key, in aria_avx2_set_key() 89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ctr_encrypt() local 157 static int aria_avx2_init_tfm(struct crypto_skcipher *tfm) in aria_avx2_init_tfm()
|
| /linux/net/bluetooth/ |
| H A D | ecdh_helper.c | 44 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64], in compute_ecdh_secret() 101 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) in set_ecdh_privkey() 145 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_public_key() 194 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_keys()
|