Lines Matching refs:seqh
279 uint32_t seqh; in esp_input() local
341 if (ipsec_chkreplay(ntohl(esp->esp_seq), &seqh, sav) == 0) { in esp_input()
349 seqh = htonl(seqh); in esp_input()
386 crp->crp_aad_length += sizeof(seqh); in esp_input()
399 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_input()
400 aad_skip += sizeof(seqh); in esp_input()
412 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in esp_input()
710 uint32_t seqh; in esp_output() local
822 seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT)); in esp_output()
939 crp->crp_aad_length += sizeof(seqh); in esp_output()
952 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_output()
953 aad_skip += sizeof(seqh); in esp_output()
964 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in esp_output()