Home
last modified time | relevance | path

Searched refs:journal_crypt (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Ddm-integrity.c193 struct crypto_skcipher *journal_crypt; member
999 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in crypt_journal()
4277 …ic->journal_crypt = crypto_alloc_skcipher(ic->journal_crypt_alg.alg_string, 0, CRYPTO_ALG_ALLOCATE… in create_journal()
4278 if (IS_ERR(ic->journal_crypt)) { in create_journal()
4280 r = PTR_ERR(ic->journal_crypt); in create_journal()
4281 ic->journal_crypt = NULL; in create_journal()
4284 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in create_journal()
4285 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); in create_journal()
4288 r = crypto_skcipher_setkey(ic->journal_crypt, ic->journal_crypt_alg.key, in create_journal()
4308 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-integrity.rst148 journal_crypt:algorithm(:key) (the key is optional)