Searched refs:whitening (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/md/ |
D | dm-crypt.c | 120 u8 *whitening; member 693 kzfree(tcw->whitening); in crypt_iv_tcw_dtr() 694 tcw->whitening = NULL; in crypt_iv_tcw_dtr() 723 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr() 724 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr() 739 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init() 750 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe() 766 crypto_xor_cpy(buf, tcw->whitening, (u8 *)§or, 8); in crypt_iv_tcw_whitening() 767 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)§or, 8); in crypt_iv_tcw_whitening()
|
/Linux-v4.19/crypto/ |
D | Kconfig | 1833 perform any cryptographic whitening of the generated
|