Home
last modified time | relevance | path

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

/openbsd/src/sys/netinet/
Dip_esp.c349 uint32_t btsx, esn; in esp_input() local
388 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 0)) { in esp_input()
465 esn = htonl(esn); in esp_input()
466 memcpy(crda->crd_esn, &esn, 4); in esp_input()
544 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 1)) { in esp_input()
932 u_int32_t esn; in esp_output() local
934 esn = htonl((u_int32_t)(replay64 >> 32)); in esp_output()
935 memcpy(crda->crd_esn, &esn, 4); in esp_output()
987 int idx, esn = tdb->tdb_flags & TDBF_ESN; in checkreplaywindow() local
993 if ((esn && seq == 0 && tl <= AH_HMAC_INITIAL_RPL && th == 0) || in checkreplaywindow()
[all …]
Dip_ah.c537 uint32_t btsx, esn; in ah_input() local
558 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 0)) { in ah_input()
654 esn = htonl(esn); in ah_input()
655 memcpy(crda->crd_esn, &esn, 4); in ah_input()
732 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 1)) { in ah_input()
1048 u_int32_t esn; in ah_output() local
1050 esn = htonl((u_int32_t)(replay64 >> 32)); in ah_output()
1051 memcpy(crda->crd_esn, &esn, 4); in ah_output()
/openbsd/src/sys/crypto/
Dcryptodev.h120 u_int8_t esn[4]; /* high-order ESN */ member
123 #define cri_esn u.esn
/openbsd/src/sbin/iked/
Dikev2.c6170 int esn, skip, ret = -1; in ikev2_childsa_negotiate() local
6312 if (ikev2_valid_proposal(prop, &encrxf, &integrxf, &esn) != 0) in ikev2_childsa_negotiate()
6325 csa->csa_esn = esn; in ikev2_childsa_negotiate()
6492 int esn = 0; in ikev2_childsa_enable() local
6571 esn = csa->csa_esn; in ikev2_childsa_enable()
6657 esn ? " esn" : ""); in ikev2_childsa_enable()
6733 struct iked_transform **exf, struct iked_transform **ixf, int *esn) in ikev2_valid_proposal() argument
6773 if (esn) in ikev2_valid_proposal()
6774 *esn = doesn; in ikev2_valid_proposal()