Lines Matching refs:journal_crypt
184 struct crypto_skcipher *journal_crypt; member
1010 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in crypt_journal()
3698 …ic->journal_crypt = crypto_alloc_skcipher(ic->journal_crypt_alg.alg_string, 0, CRYPTO_ALG_ALLOCATE… in create_journal()
3699 if (IS_ERR(ic->journal_crypt)) { in create_journal()
3701 r = PTR_ERR(ic->journal_crypt); in create_journal()
3702 ic->journal_crypt = NULL; in create_journal()
3705 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in create_journal()
3706 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); in create_journal()
3709 r = crypto_skcipher_setkey(ic->journal_crypt, ic->journal_crypt_alg.key, in create_journal()
3729 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
3780 crypto_free_skcipher(ic->journal_crypt); in create_journal()
3781 ic->journal_crypt = NULL; in create_journal()
3785 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
3848 section_req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
4569 if (ic->journal_crypt) in dm_integrity_dtr()
4570 crypto_free_skcipher(ic->journal_crypt); in dm_integrity_dtr()