Searched refs:unit_size_map (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c41 static struct ccp_unit_size_map unit_size_map[] = { variable in typeref:struct:ccp_unit_size_map
138 if (req->nbytes <= unit_size_map[0].size) { ccp_aes_xts_crypt()
139 for (unit = 0; unit < ARRAY_SIZE(unit_size_map); unit++) { ccp_aes_xts_crypt()
140 if (!(req->nbytes & (unit_size_map[unit].size - 1))) { ccp_aes_xts_crypt()
141 unit_size = unit_size_map[unit].value; ccp_aes_xts_crypt()

Completed in 125 milliseconds