Lines Matching defs:replay
124 if (sav->tdb_authalgxform != NULL && sav->replay)
340 if (esph != NULL && sav->replay != NULL && sav->replay->wsize != 0) {
343 DPRINTF(("%s: packet replay check for %s\n", __func__,
383 (sav->replay != NULL) && (sav->replay->wsize != 0)) {
411 sav->replay != NULL && sav->replay->wsize != 0)
582 * Update replay sequence number, if appropriate.
584 if (sav->replay) {
592 DPRINTF(("%s: packet replay check for %s\n", __func__,
808 if (sav->replay) {
809 uint32_t replay;
811 SECREPLAY_LOCK(sav->replay);
813 /* Emulate replay attack when ipsec_replay is TRUE. */
816 sav->replay->count++;
817 replay = htonl((uint32_t)sav->replay->count);
819 bcopy((caddr_t) &replay, mtod(mo, caddr_t) + roff +
822 seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT));
823 SECREPLAY_UNLOCK(sav->replay);
936 sav->replay != NULL) {
963 if (csp->csp_flags & CSP_F_ESN && sav->replay != NULL)