Searched refs:num_hmacs (Results 1 – 3 of 3) sorted by relevance
627 sctp_alloc_hmaclist(uint16_t num_hmacs) in sctp_alloc_hmaclist() argument632 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist()639 new_list->max_algo = num_hmacs; in sctp_alloc_hmaclist()763 sctp_verify_hmac_param(struct sctp_auth_hmac_algo *hmacs, uint32_t num_hmacs) in sctp_verify_hmac_param() argument767 for (i = 0; i < num_hmacs; i++) { in sctp_verify_hmac_param()1400 uint16_t num_hmacs; in sctp_auth_get_cookie_params() local1412 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); in sctp_auth_get_cookie_params()1415 stcb->asoc.local_hmacs = sctp_alloc_hmaclist(num_hmacs); in sctp_auth_get_cookie_params()1417 for (i = 0; i < num_hmacs; i++) { in sctp_auth_get_cookie_params()1827 int num_hmacs; in sctp_validate_init_auth_params() local[all …]
153 extern sctp_hmaclist_t *sctp_alloc_hmaclist(uint16_t num_hmacs);164 uint32_t num_hmacs);
6355 uint16_t num_hmacs; in sctp_load_addresses_from_init() local6371 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); in sctp_load_addresses_from_init()6373 if (sctp_verify_hmac_param(hmacs, num_hmacs)) { in sctp_load_addresses_from_init()6378 stcb->asoc.peer_hmacs = sctp_alloc_hmaclist(num_hmacs); in sctp_load_addresses_from_init()6380 for (i = 0; i < num_hmacs; i++) { in sctp_load_addresses_from_init()