Searched refs:SCTP_SIGNATURE_SIZE (Results 1 – 6 of 6) sorted by relevance
| /f-stack/tools/compat/include/netinet/ |
| H A D | sctp_constants.h | 299 #define SCTP_SIGNATURE_SIZE SCTP_AUTH_DIGEST_LEN_SHA1 macro 300 #define SCTP_SIGNATURE_ALOC_SIZE SCTP_SIGNATURE_SIZE
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_constants.h | 299 #define SCTP_SIGNATURE_SIZE SCTP_AUTH_DIGEST_LEN_SHA1 macro 300 #define SCTP_SIGNATURE_ALOC_SIZE SCTP_SIGNATURE_SIZE
|
| H A D | sctp_input.c | 2306 uint8_t calc_sig[SCTP_SIGNATURE_SIZE], tmp_sig[SCTP_SIGNATURE_SIZE]; in sctp_handle_cookie_echo() 2336 sizeof(struct sctp_init_ack_chunk) + SCTP_SIGNATURE_SIZE) { in sctp_handle_cookie_echo() 2356 sig_offset = offset + cookie_len - SCTP_SIGNATURE_SIZE; in sctp_handle_cookie_echo() 2395 sig = (uint8_t *)sctp_m_getptr(m_sig, 0, SCTP_SIGNATURE_SIZE, (uint8_t *)&tmp_sig); in sctp_handle_cookie_echo() 2402 if (timingsafe_bcmp(calc_sig, sig, SCTP_SIGNATURE_SIZE) != 0) { in sctp_handle_cookie_echo() 2411 if (timingsafe_bcmp(calc_sig, sig, SCTP_SIGNATURE_SIZE) == 0) in sctp_handle_cookie_echo() 2577 cookie_len -= SCTP_SIGNATURE_SIZE; in sctp_handle_cookie_echo()
|
| H A D | sctp_output.c | 3884 sig = sctp_get_mbuf_for_msg(SCTP_SIGNATURE_SIZE, 0, M_NOWAIT, 1, MT_DATA); in sctp_add_cookie() 3891 SCTP_BUF_LEN(sig) = SCTP_SIGNATURE_SIZE; in sctp_add_cookie() 3892 cookie_sz += SCTP_SIGNATURE_SIZE; in sctp_add_cookie() 3895 memset(*signature, 0, SCTP_SIGNATURE_SIZE); in sctp_add_cookie() 6097 (uint8_t *)signature, SCTP_SIGNATURE_SIZE); in sctp_send_initiate_ack()
|
| H A D | sctp_pcb.c | 2568 m->store_at = SCTP_SIGNATURE_SIZE; in sctp_inpcb_alloc() 2575 m->size_of_a_cookie += SCTP_SIGNATURE_SIZE; in sctp_inpcb_alloc()
|
| H A D | sctputil.c | 1032 if (new_store >= (SCTP_SIGNATURE_SIZE - 3)) { in sctp_select_initial_TSN()
|