Lines Matching refs:crypto_cipher_tfm
1106 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function
1113 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher()
1127 return &crypto_cipher_tfm(tfm)->crt_cipher; in crypto_cipher_crt()
1132 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize()
1137 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask()
1142 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags()
1148 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags()
1154 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags()
1160 return crypto_cipher_crt(tfm)->cit_setkey(crypto_cipher_tfm(tfm), in crypto_cipher_setkey()
1167 crypto_cipher_crt(tfm)->cit_encrypt_one(crypto_cipher_tfm(tfm), in crypto_cipher_encrypt_one()
1174 crypto_cipher_crt(tfm)->cit_decrypt_one(crypto_cipher_tfm(tfm), in crypto_cipher_decrypt_one()