Searched refs:iv_size (Results 1 – 1 of 1) sorted by relevance
/drivers/md/ |
D | dm-crypt.c | 147 unsigned int iv_size; member 239 memset(iv, 0, cc->iv_size); in crypt_iv_plain_gen() 248 memset(iv, 0, cc->iv_size); in crypt_iv_plain64_gen() 415 memset(iv, 0, cc->iv_size); in crypt_iv_essiv_gen() 455 memset(iv, 0, cc->iv_size - sizeof(u64)); /* rest is cleared below */ in crypt_iv_benbi_gen() 458 put_unaligned(val, (__be64 *)(iv + cc->iv_size - sizeof(u64))); in crypt_iv_benbi_gen() 466 memset(iv, 0, cc->iv_size); in crypt_iv_null_gen() 580 memcpy(iv, &md5state.hash, cc->iv_size); in crypt_iv_lmk_one() 596 memset(iv, 0, cc->iv_size); in crypt_iv_lmk_gen() 615 crypto_xor(dst + dmreq->sg_out.offset, iv, cc->iv_size); in crypt_iv_lmk_post() [all …]
|