Searched refs:seqh (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/netipsec/ |
| H A D | xform_esp.c | 271 uint32_t seqh; in esp_input() local 339 seqh = htonl(seqh); in esp_input() 376 crp->crp_aad_length += sizeof(seqh); in esp_input() 389 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_input() 390 aad_skip += sizeof(seqh); in esp_input() 402 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in esp_input() 690 uint32_t seqh; in esp_output() local 917 crp->crp_aad_length += sizeof(seqh); in esp_output() 930 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_output() 931 aad_skip += sizeof(seqh); in esp_output() [all …]
|
| H A D | ipsec.c | 1254 uint32_t seqh; in ipsec_chkreplay() local 1324 seqh = th - 1; in ipsec_chkreplay() 1335 seqh = th + 1; in ipsec_chkreplay() 1338 if (seqh == 0) { in ipsec_chkreplay() 1369 uint32_t seqh; in ipsec_updatereplay() local 1397 seqh = th; in ipsec_updatereplay() 1406 replay->last = ((uint64_t)seqh << 32) | seq; in ipsec_updatereplay() 1438 seqh = th + 1; in ipsec_updatereplay() 1441 if (seqh == 0) in ipsec_updatereplay() 1444 advance_window(replay, ((uint64_t)seqh << 32) | seq); in ipsec_updatereplay() [all …]
|
| H A D | xform_ah.c | 541 uint32_t seqh; in ah_input() local 565 ipsec_chkreplay(ntohl(ah->ah_seq), &seqh, sav) == 0) { in ah_input() 663 seqh = htonl(seqh); in ah_input() 664 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in ah_input() 847 uint32_t seqh; in ah_output() local 1046 seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT)); in ah_output() 1047 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in ah_output()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_ipsec_anti_replay.h | 173 uint32_t seqh = 0; in cpt_ipsec_antireplay_check() local 186 seqh = rte_be_to_cpu_32(*((uint32_t *)(data + in cpt_ipsec_antireplay_check() 188 seq = ((uint64_t)seqh << 32) | seql; in cpt_ipsec_antireplay_check() 201 sa->esn_hi = rte_cpu_to_be_32(seqh); in cpt_ipsec_antireplay_check()
|