Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-crypt.c127 u8 *whitening; member
577 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr()
578 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
608 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr()
609 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
624 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init()
635 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe()
651 crypto_xor_cpy(buf, tcw->whitening, (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
652 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
/openbmc/linux/crypto/
H A DKconfig1295 This RNG does not perform any cryptographic whitening of the generated