Searched refs:num_hmacs (Results 1 – 3 of 3) sorted by relevance
636 sctp_alloc_hmaclist(uint8_t num_hmacs) in sctp_alloc_hmaclist() argument641 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist()648 new_list->max_algo = num_hmacs; in sctp_alloc_hmaclist()782 sctp_verify_hmac_param (struct sctp_auth_hmac_algo *hmacs, uint32_t num_hmacs) argument786 for (i = 0; i < num_hmacs; i++) {1467 int num_hmacs; local1479 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]);1482 stcb->asoc.local_hmacs = sctp_alloc_hmaclist(num_hmacs);1484 for (i = 0; i < num_hmacs; i++) {1899 int num_hmacs; local[all …]
152 extern sctp_hmaclist_t *sctp_alloc_hmaclist(uint8_t num_hmacs);161 uint32_t num_hmacs);
7531 int num_hmacs; local7547 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]);7549 if (sctp_verify_hmac_param(hmacs, num_hmacs)) {7554 stcb->asoc.peer_hmacs = sctp_alloc_hmaclist(num_hmacs);7556 for (i = 0; i < num_hmacs; i++) {