Lines Matching refs:journal_crypt
188 struct crypto_skcipher *journal_crypt; member
1018 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in crypt_journal()
3745 …ic->journal_crypt = crypto_alloc_skcipher(ic->journal_crypt_alg.alg_string, 0, CRYPTO_ALG_ALLOCATE… in create_journal()
3746 if (IS_ERR(ic->journal_crypt)) { in create_journal()
3748 r = PTR_ERR(ic->journal_crypt); in create_journal()
3749 ic->journal_crypt = NULL; in create_journal()
3752 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in create_journal()
3753 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); in create_journal()
3756 r = crypto_skcipher_setkey(ic->journal_crypt, ic->journal_crypt_alg.key, in create_journal()
3776 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
3827 crypto_free_skcipher(ic->journal_crypt); in create_journal()
3828 ic->journal_crypt = NULL; in create_journal()
3832 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
3895 section_req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
4616 if (ic->journal_crypt) in dm_integrity_dtr()
4617 crypto_free_skcipher(ic->journal_crypt); in dm_integrity_dtr()