Home
last modified time | relevance | path

Searched refs:seqno (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/tests/sys/kern/
H A Dktls_test.c546 int auth_alg, int minor, uint64_t seqno, struct tls_enable *en) in build_tls_enable() argument
601 be64enc(en->rec_seq, seqno); in build_tls_enable()
602 debug(tc, "seqno: %ju\n", (uintmax_t)seqno); in build_tls_enable()
738 const struct tls_record_layer *hdr, uint64_t seqno, struct tls_mac_data *ad) in tls_mte_aad() argument
740 ad->seq = htobe64(seqno); in tls_mte_aad()
749 const struct tls_record_layer *hdr, uint64_t seqno, in tls_12_aead_aad() argument
752 ad->seq = htobe64(seqno); in tls_12_aead_aad()
761 uint64_t seqno, struct tls_aead_data_13 *ad) in tls_13_aad() argument
778 tls_13_nonce(struct tls_enable *en, uint64_t seqno, cha argument
793 decrypt_tls_aes_cbc_mte(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,uint8_t * record_type) decrypt_tls_aes_cbc_mte() argument
859 decrypt_tls_12_aead(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,const void * src,size_t len,void * dst,uint8_t * record_type) decrypt_tls_12_aead() argument
894 decrypt_tls_13_aead(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,const void * src,size_t len,void * dst,uint8_t * record_type) decrypt_tls_13_aead() argument
944 decrypt_tls_aead(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,uint8_t * record_type) decrypt_tls_aead() argument
969 decrypt_tls_record(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,uint8_t * record_type) decrypt_tls_record() argument
989 encrypt_tls_aes_cbc_mte(const atf_tc_t * tc,struct tls_enable * en,uint8_t record_type,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,size_t padding) encrypt_tls_aes_cbc_mte() argument
1051 encrypt_tls_12_aead(const atf_tc_t * tc,struct tls_enable * en,uint8_t record_type,uint64_t seqno,const void * src,size_t len,void * dst) encrypt_tls_12_aead() argument
1091 encrypt_tls_13_aead(const atf_tc_t * tc,struct tls_enable * en,uint8_t record_type,uint64_t seqno,const void * src,size_t len,void * dst,size_t padding) encrypt_tls_13_aead() argument
1139 encrypt_tls_aead(const atf_tc_t * tc,struct tls_enable * en,uint8_t record_type,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,size_t padding) encrypt_tls_aead() argument
1162 encrypt_tls_record(const atf_tc_t * tc,struct tls_enable * en,uint8_t record_type,uint64_t seqno,const void * src,size_t len,void * dst,size_t avail,size_t padding) encrypt_tls_record() argument
1175 test_ktls_transmit_app_data(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_transmit_app_data() argument
1326 test_ktls_transmit_control(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,uint8_t type,size_t len) test_ktls_transmit_control() argument
1386 test_ktls_transmit_empty_fragment(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno) test_ktls_transmit_empty_fragment() argument
1495 test_ktls_receive_app_data(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len,size_t padding) test_ktls_receive_app_data() argument
1616 test_ktls_receive_corrupted_record(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len,ssize_t offset) test_ktls_receive_corrupted_record() argument
1659 test_ktls_receive_corrupted_iv(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_corrupted_iv() argument
1670 test_ktls_receive_corrupted_data(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_corrupted_data() argument
1681 test_ktls_receive_corrupted_mac(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_corrupted_mac() argument
1695 test_ktls_receive_corrupted_padding(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_corrupted_padding() argument
1705 test_ktls_receive_truncated_record(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_truncated_record() argument
1745 test_ktls_receive_bad_major(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_bad_major() argument
1787 test_ktls_receive_bad_minor(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_bad_minor() argument
1829 test_ktls_receive_bad_type(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_bad_type() argument
1872 test_ktls_receive_bad_size(const atf_tc_t * tc,struct tls_enable * en,uint64_t seqno,size_t len) test_ktls_receive_bad_size() argument
[all...]
/freebsd/crypto/heimdal/lib/krb5/
H A Dgenerate_seq_number.c39 uint32_t *seqno) in krb5_generate_seq_number() argument
41 if (RAND_bytes((void *)seqno, sizeof(*seqno)) <= 0) in krb5_generate_seq_number()
44 *seqno &= 0x3fffffff; in krb5_generate_seq_number()
45 if (*seqno == 0) in krb5_generate_seq_number()
46 *seqno = 1; in krb5_generate_seq_number()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dagg-rx.c84 mt76_rx_aggr_release_frames(tid, frames, status->seqno); in mt76_rx_aggr_check_release()
126 u16 seqno; in mt76_rx_aggr_check_ctl() local
135 seqno = IEEE80211_SEQ_TO_SN(le16_to_cpu(bar->start_seq_num)); in mt76_rx_aggr_check_ctl()
142 mt76_rx_aggr_release_frames(tid, frames, seqno); in mt76_rx_aggr_check_ctl()
155 u16 seqno, head, size, idx; in mt76_rx_aggr_reorder() local
187 seqno = status->seqno; in mt76_rx_aggr_reorder()
189 sn_less = ieee80211_sn_less(seqno, head); in mt76_rx_aggr_reorder()
204 if (seqno == head) { in mt76_rx_aggr_reorder()
217 if (!ieee80211_sn_less(seqno, head + size)) { in mt76_rx_aggr_reorder()
218 head = ieee80211_sn_inc(ieee80211_sn_sub(seqno, size)); in mt76_rx_aggr_reorder()
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_spec.c72 _thread_keytable[i].seqno++; in _thr_key_create()
125 if (curthread->specific[key].seqno == in _thread_cleanupspecific()
126 _thread_keytable[key].seqno) { in _thread_cleanupspecific()
193 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific()
212 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
/freebsd/usr.sbin/ppp/
H A Ddeflate.c44 u_short seqno; member
60 state->seqno = 0; in DeflateResetOutput()
98 *wp++ = state->seqno >> 8; in DeflateOutput()
99 *wp++ = state->seqno & 0377; in DeflateOutput()
100 log_Printf(LogDEBUG, "DeflateOutput: Seq %d\n", state->seqno); in DeflateOutput()
101 state->seqno++; in DeflateOutput()
119 state->seqno--; in DeflateOutput()
192 state->seqno = 0; in DeflateResetInput()
215 if (seq != state->seqno) { in DeflateInput()
222 state->seqno = seq; in DeflateInput()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-babel.c445 u_short seqno, interval, unicast; in babel_print_v2_tlvs() local
452 seqno = GET_BE_U_2(message + 4); in babel_print_v2_tlvs()
456 ND_PRINT("seqno %u ", seqno); in babel_print_v2_tlvs()
535 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
551 seqno = GET_BE_U_2(message + 8); in babel_print_v2_tlvs()
558 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs()
597 u_short seqno; in babel_print_v2_tlvs() local
602 seqno = GET_BE_U_2(message + 4); in babel_print_v2_tlvs()
611 seqno, format_id(ndo, message + 8)); in babel_print_v2_tlvs()
646 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
[all …]
H A Dprint-dccp.c225 uint64_t seqno; in dccp_seqno() local
229 seqno = GET_BE_U_6(dhx->dccph_seq); in dccp_seqno()
231 seqno = GET_BE_U_3(dh->dccph_seq); in dccp_seqno()
234 return seqno; in dccp_seqno()
/freebsd/crypto/openssh/
H A Dmac.c164 mac_compute(struct sshmac *mac, u_int32_t seqno, in mac_compute() argument
180 put_u32(b, seqno); in mac_compute()
189 POKE_U64(nonce, seqno); in mac_compute()
194 put_u64(nonce, seqno); in mac_compute()
210 mac_check(struct sshmac *mac, u_int32_t seqno, in mac_check() argument
219 if ((r = mac_compute(mac, seqno, data, dlen, in mac_check()
/freebsd/contrib/ofed/librdmacm/examples/
H A Dudpong.c71 uint8_t seqno; member
358 static uint8_t seqno; in client_send_recv() local
361 msg->seqno = seqno; in client_send_recv()
368 } while (ret <= 0 || msg->seqno != seqno); in client_send_recv()
370 seqno++; in client_send_recv()
/freebsd/sys/opencrypto/
H A Dktls_ocf.c57 uint64_t seqno);
62 uint64_t seqno, int *trailer_len);
438 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls_cbc_decrypt() argument
521 ad.seq = htobe64(seqno); in ktls_ocf_tls_cbc_decrypt()
631 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls12_aead_decrypt() argument
662 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls12_aead_decrypt()
671 ad.seq = htobe64(seqno); in ktls_ocf_tls12_aead_decrypt()
729 uint64_t seqno) in ktls_ocf_tls12_aead_recrypt() argument
861 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls13_aead_decrypt() argument
884 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls13_aead_decrypt()
916 ktls_ocf_tls13_aead_recrypt(struct ktls_session * tls,const struct tls_record_layer * hdr,struct mbuf * m,uint64_t seqno) ktls_ocf_tls13_aead_recrypt() argument
1172 ktls_ocf_decrypt(struct ktls_session * tls,const struct tls_record_layer * hdr,struct mbuf * m,uint64_t seqno,int * trailer_len) ktls_ocf_decrypt() argument
1179 ktls_ocf_recrypt(struct ktls_session * tls,const struct tls_record_layer * hdr,struct mbuf * m,uint64_t seqno) ktls_ocf_recrypt() argument
[all...]
H A Dktls.h56 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno,
59 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno);
/freebsd/sys/powerpc/pseries/
H A Dphyp_console.c355 uint16_t seqno; in uart_phyp_put() local
375 seqno = sc->outseqno++; in uart_phyp_put()
378 cbuf.bytes[2] = (seqno >> 8) & 0xff; in uart_phyp_put()
379 cbuf.bytes[3] = seqno & 0xff; in uart_phyp_put()
/freebsd/sys/net/
H A Ddebugnet.c214 debugnet_ack_output(struct debugnet_pcb *pcb, uint32_t seqno /* net endian */) in debugnet_ack_output() argument
219 DNETDEBUG("Acking with seqno %u\n", ntohl(seqno)); in debugnet_ack_output()
230 dn_ack->da_seqno = seqno; in debugnet_ack_output()
383 uint32_t seqno; in debugnet_handle_rx_msg() local
428 seqno = dnh->mh_seqno; /* net endian */ in debugnet_handle_rx_msg()
438 error = debugnet_ack_output(pcb, seqno); in debugnet_handle_rx_msg()
440 DNETDEBUG("Couldn't ACK rx packet %u; %d\n", ntohl(seqno), error); in debugnet_handle_rx_msg()
H A Ddebugnet.h194 int debugnet_ack_output(struct debugnet_pcb *, uint32_t seqno /*net endian*/);
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_tx.c334 uint16_t seqno; in r12a_fill_tx_desc() local
337 seqno = ni->ni_txseqs[tid]; in r12a_fill_tx_desc()
340 seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE; in r12a_fill_tx_desc()
343 txd->txdw9 |= htole32(SM(R12A_TXDW9_SEQ, seqno)); in r12a_fill_tx_desc()
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c333 uint16_t seqno; in r92c_fill_tx_desc() local
336 seqno = ni->ni_txseqs[tid] % IEEE80211_SEQ_RANGE; in r92c_fill_tx_desc()
339 seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE; in r92c_fill_tx_desc()
342 txd->txdseq = htole16(seqno); in r92c_fill_tx_desc()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tls.c384 struct tls_hdr *tls_hdr, unsigned int plen, uint64_t seqno) in write_tlstx_cpl() argument
401 cpl->scmd1 = htobe64(seqno); in write_tlstx_cpl()
1083 tls_update_tcb(struct adapter *sc, struct toepcb *toep, uint64_t seqno) in mk_set_tcb_field_ulp()
1128 * contain seqno and are set when enabling TLS in tls_update_tcb()
1145 CTR3(KTR_CXGBE, "%s: tid %d enable TLS seqno %lu", __func__, in tls_update_tcb()
1146 toep->tid, seqno); in tls_update_tcb()
1148 V_TCB_TLS_SEQ(M_TCB_TLS_SEQ), V_TCB_TLS_SEQ(seqno)); in tls_update_tcb()
1177 uint64_t seqno; in tls_update_tcb()
1184 have_header = ktls_pending_rx_info(sb, &seqno, &resid); in tls_update_tcb()
1185 CTR5(KTR_CXGBE, "%s: tid %d have_header %d seqno in tls_update_tcb()
1118 tls_update_tcb(struct adapter * sc,struct toepcb * toep,uint64_t seqno) tls_update_tcb() argument
1213 uint64_t seqno; tls_check_rx_sockbuf() local
[all...]
/freebsd/sys/powerpc/powernv/
H A Dopal_console.c400 uint16_t seqno; in uart_opal_put() local
420 seqno = sc->outseqno++; in uart_opal_put()
423 cbuf[2] = (seqno >> 8) & 0xff; in uart_opal_put()
424 cbuf[3] = seqno & 0xff; in uart_opal_put()
/freebsd/crypto/heimdal/appl/gssmask/
H A Dgssmask.c567 int32_t hContext, flags, seqno; in HandleOP() local
574 ret32(c, seqno); in HandleOP()
606 int32_t hContext, flags, seqno; in HandleOP() local
619 ret32(c, seqno); in HandleOP()
737 int32_t hContext, flags, seqno; in HandleOP() local
745 ret32(c, seqno); in HandleOP()
778 int32_t hContext, flags, seqno; in HandleOP() local
787 ret32(c, seqno); in HandleOP()
/freebsd/crypto/heimdal/kdc/
H A Drx.h65 uint32_t seqno; member
/freebsd/sys/net80211/
H A Dieee80211_output.c895 ieee80211_seq seqno; in ieee80211_send_setup() local
986 seqno = ni->ni_txseqs[IEEE80211_NONQOS_TID]++; in ieee80211_send_setup()
988 seqno = ni->ni_txseqs[tid]++; in ieee80211_send_setup()
991 seqno = 0; in ieee80211_send_setup()
994 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT); in ieee80211_send_setup()
995 M_SEQNO_SET(m, seqno); in ieee80211_send_setup()
1486 ieee80211_seq seqno; in ieee80211_encap() local
1844 seqno = ni->ni_txseqs[IEEE80211_NONQOS_TID]++; in ieee80211_encap()
1846 seqno = ni->ni_txseqs[tid]++; in ieee80211_encap()
1861 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT); in ieee80211_encap()
[all …]
/freebsd/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h44 unsigned short seqno(struct ieee80211_frame *wh);
/freebsd/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c120 static uint16_t seqno; variable
326 if (++seqno == 0) in ntpd_request()
327 seqno++; in ntpd_request()
328 *ptr++ = seqno >> 8; in ntpd_request()
329 *ptr++ = seqno; in ntpd_request()
469 if (n != seqno) { in ntpd_read()
470 syslog(LOG_ERR, "expecting seqno %u, got %u", seqno, n); in ntpd_read()
/freebsd/sys/kern/
H A Duipc_ktls.c1236 uint64_t seqno; in ktls_pending_rx_info() local
1242 seqno = sb->sb_tls_seqno; in ktls_pending_rx_info()
1248 *seqnop = seqno; in ktls_pending_rx_info()
1254 seqno++; in ktls_pending_rx_info()
1257 *seqnop = seqno; in ktls_pending_rx_info()
1266 *seqnop = seqno; in ktls_pending_rx_info()
2520 uint64_t seqno; in ktls_decrypt() local
2584 seqno = sb->sb_tls_seqno; in ktls_decrypt()
2594 error = ktls_ocf_recrypt(tls, hdr, data, seqno); in ktls_decrypt()
2599 error = ktls_ocf_decrypt(tls, hdr, data, seqno, in ktls_decrypt()
[all …]
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm527 my $seqno = 0;
530 __PACKAGE__ . '::GEN' . $seqno++;

123