Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-integrity.c174 struct crypto_skcipher *journal_crypt; member
899 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in crypt_journal()
3350 ic->journal_crypt = crypto_alloc_skcipher(ic->journal_crypt_alg.alg_string, 0, 0); in create_journal()
3351 if (IS_ERR(ic->journal_crypt)) { in create_journal()
3353 r = PTR_ERR(ic->journal_crypt); in create_journal()
3354 ic->journal_crypt = NULL; in create_journal()
3357 ivsize = crypto_skcipher_ivsize(ic->journal_crypt); in create_journal()
3358 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); in create_journal()
3361 r = crypto_skcipher_setkey(ic->journal_crypt, ic->journal_crypt_alg.key, in create_journal()
3381 req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
[all …]
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Ddm-integrity.rst143 journal_crypt:algorithm(:key) (the key is optional)