Searched refs:whitening (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | dm-crypt.c | 115 u8 *whitening; member 541 kzfree(tcw->whitening); in crypt_iv_tcw_dtr() 542 tcw->whitening = NULL; in crypt_iv_tcw_dtr() 571 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr() 572 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr() 587 memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size], in crypt_iv_tcw_init() 598 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe() 614 crypto_xor_cpy(buf, tcw->whitening, (u8 *)§or, 8); in crypt_iv_tcw_whitening() 615 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)§or, 8); in crypt_iv_tcw_whitening()
|
/Linux-v5.4/crypto/ |
D | Kconfig | 1787 perform any cryptographic whitening of the generated
|