Searched refs:iv_seed (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-crypt.c | 126 u8 *iv_seed; member 575 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr() 576 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr() 607 tcw->iv_seed = kzalloc(cc->iv_size, GFP_KERNEL); in crypt_iv_tcw_ctr() 609 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr() 623 memcpy(tcw->iv_seed, &cc->key[key_offset], cc->iv_size); in crypt_iv_tcw_init() 634 memset(tcw->iv_seed, 0, cc->iv_size); in crypt_iv_tcw_wipe() 696 crypto_xor_cpy(iv, tcw->iv_seed, (u8 *)§or, 8); in crypt_iv_tcw_gen() 698 crypto_xor_cpy(&iv[8], tcw->iv_seed + 8, (u8 *)§or, in crypt_iv_tcw_gen()
|