Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-integrity.c3480 struct skcipher_request *section_req; in create_journal() local
3500 section_req = skcipher_request_alloc(ic->journal_crypt, GFP_KERNEL); in create_journal()
3501 if (!section_req) { in create_journal()
3506 section_req->iv = kmalloc_array(ivsize, 2, in create_journal()
3508 if (!section_req->iv) { in create_journal()
3509 skcipher_request_free(section_req); in create_journal()
3514 memcpy(section_req->iv + ivsize, crypt_data, ivsize); in create_journal()
3515 section_req->cryptlen = (size_t)ic->journal_section_sectors << SECTOR_SHIFT; in create_journal()
3516 ic->sk_requests[i] = section_req; in create_journal()