Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-crypt.c107 u8 *whitening; member
620 kzfree(tcw->whitening); in crypt_iv_tcw_dtr()
621 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
645 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr()
646 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
661 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init()
672 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe()
688 memcpy(buf, tcw->whitening, TCW_WHITENING_SIZE); in crypt_iv_tcw_whitening()