Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-crypt.c107 u8 *whitening; member
621 kzfree(tcw->whitening); in crypt_iv_tcw_dtr()
622 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
646 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr()
647 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
662 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init()
673 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe()
689 memcpy(buf, tcw->whitening, TCW_WHITENING_SIZE); in crypt_iv_tcw_whitening()
/linux-4.4.14/crypto/
DKconfig1599 perform any cryptographic whitening of the generated