Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-crypt.c103 #define TCW_WHITENING_SIZE 16 macro
634 if (cc->key_size <= (cc->iv_size + TCW_WHITENING_SIZE)) { in crypt_iv_tcw_ctr()
646 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr()
659 int key_offset = cc->key_size - cc->iv_size - TCW_WHITENING_SIZE; in crypt_iv_tcw_init()
663 TCW_WHITENING_SIZE); in crypt_iv_tcw_init()
673 memset(tcw->whitening, 0, TCW_WHITENING_SIZE); in crypt_iv_tcw_wipe()
684 u8 buf[TCW_WHITENING_SIZE]; in crypt_iv_tcw_whitening()
689 memcpy(buf, tcw->whitening, TCW_WHITENING_SIZE); in crypt_iv_tcw_whitening()
1686 cc->key_extra_size = cc->iv_size + TCW_WHITENING_SIZE; in crypt_ctr_cipher()