Lines Matching defs:seqno
145 * @seqno: the key seqno (cluster scope)
162 atomic64_t seqno ____cacheline_aligned;
599 atomic64_set(&tmp->seqno, 0);
653 atomic64_set(&aead->seqno, 0);
802 memcpy(iv + 4, (u8 *)&ehdr->seqno, 8);
927 memcpy(iv + 4, (u8 *)&ehdr->seqno, 8);
1041 u64 seqno;
1049 /* Obtain a seqno first:
1050 * Use the key seqno (= cluster wise) if dest is unknown or we're in
1051 * cluster key mode, otherwise it's better for a per-peer seqno!
1054 seqno = atomic64_inc_return(&aead->seqno);
1056 seqno = atomic64_inc_return(&__rx->sndnxt);
1058 /* Revoke the key if seqno is wrapped around */
1059 if (unlikely(!seqno))
1063 ehdr->seqno = cpu_to_be64(seqno);