Searched refs:whitening (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/drivers/md/ |
| D | dm-crypt.c | 119 u8 *whitening; member 568 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr() 569 tcw->whitening = NULL; in crypt_iv_tcw_dtr() 599 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr() 600 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr() 615 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init() 626 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe() 642 crypto_xor_cpy(buf, tcw->whitening, (u8 *)§or, 8); in crypt_iv_tcw_whitening() 643 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)§or, 8); in crypt_iv_tcw_whitening()
|
| /Linux-v5.15/crypto/ |
| D | Kconfig | 1844 perform any cryptographic whitening of the generated
|