Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_replay.c197 unsigned int bitnr, nr; in xfrm_replay_check_bmp() local
220 bitnr = (pos - diff) % replay_esn->replay_window; in xfrm_replay_check_bmp()
222 bitnr = replay_esn->replay_window - (diff - pos); in xfrm_replay_check_bmp()
224 nr = bitnr >> 5; in xfrm_replay_check_bmp()
225 bitnr = bitnr & 0x1F; in xfrm_replay_check_bmp()
226 if (replay_esn->bmp[nr] & (1U << bitnr)) in xfrm_replay_check_bmp()
240 unsigned int bitnr, nr, i; in xfrm_replay_advance_bmp() local
256 bitnr = (pos + i) % replay_esn->replay_window; in xfrm_replay_advance_bmp()
257 nr = bitnr >> 5; in xfrm_replay_advance_bmp()
258 bitnr = bitnr & 0x1F; in xfrm_replay_advance_bmp()
[all …]