Searched refs:random_len (Results 1 – 6 of 6) sorted by relevance
1366 uint16_t random_len = 0; in sctp_auth_get_cookie_params() local1398 random_len = plen - sizeof(*p_random); in sctp_auth_get_cookie_params()1451 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; in sctp_auth_get_cookie_params()1459 keylen = sizeof(*p_random) + random_len; in sctp_auth_get_cookie_params()1479 stcb->asoc.authinfo.random_len = random_len; in sctp_auth_get_cookie_params()1912 uint16_t random_len = SCTP_AUTH_RANDOM_SIZE_DEFAULT; in sctp_initialize_auth_params() local1942 keylen = (3 * sizeof(struct sctp_paramhdr)) + random_len + chunks_len + in sctp_initialize_auth_params()1952 plen = sizeof(*ph) + random_len; in sctp_initialize_auth_params()1954 SCTP_READ_RANDOM(new_key->key + sizeof(*ph), random_len); in sctp_initialize_auth_params()1985 stcb->asoc.authinfo.random_len = random_len; in sctp_initialize_auth_params()
86 uint32_t random_len; /* local random number length for param */ member
5874 uint16_t random_len = 0; in sctp_load_addresses_from_init() local6347 random_len = plen - sizeof(*p_random); in sctp_load_addresses_from_init()6349 if (random_len != SCTP_AUTH_RANDOM_SIZE_REQUIRED) { in sctp_load_addresses_from_init()6515 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; in sctp_load_addresses_from_init()6523 keylen = sizeof(*p_random) + random_len; in sctp_load_addresses_from_init()
4786 parameter_len = (uint16_t)sizeof(struct sctp_auth_random) + stcb->asoc.authinfo.random_len; in sctp_send_initiate()
997 unsigned long random_len));