Searched refs:whitening (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-crypt.c | 127 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 *)§or, 8); in crypt_iv_tcw_whitening() 652 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)§or, 8); in crypt_iv_tcw_whitening()
|
/openbmc/linux/crypto/ |
H A D | Kconfig | 1295 This RNG does not perform any cryptographic whitening of the generated
|