Searched refs:crypto_cipher_tfm (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | crypto.h | 1653 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function 1664 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher() 1688 return &crypto_cipher_tfm(tfm)->crt_cipher; in crypto_cipher_crt() 1703 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize() 1708 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask() 1713 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags() 1719 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags() 1725 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags() 1747 return crypto_cipher_crt(tfm)->cit_setkey(crypto_cipher_tfm(tfm), in crypto_cipher_setkey() 1763 crypto_cipher_crt(tfm)->cit_encrypt_one(crypto_cipher_tfm(tfm), in crypto_cipher_encrypt_one() [all …]
|
| /Linux-v5.4/crypto/ |
| D | ecb.c | 31 fn(crypto_cipher_tfm(cipher), dst, src); in crypto_ecb_crypt()
|
| D | ctr.c | 58 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment() 86 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
|
| D | testmgr.c | 2351 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
|
| /Linux-v5.4/include/crypto/ |
| D | algapi.h | 319 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
|