Searched refs:num_hmacs (Results 1 – 3 of 3) sorted by relevance
637 sctp_alloc_hmaclist(uint16_t num_hmacs) in sctp_alloc_hmaclist() argument642 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist()649 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++) {1434 uint16_t num_hmacs; local1446 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]);1449 stcb->asoc.local_hmacs = sctp_alloc_hmaclist(num_hmacs);1451 for (i = 0; i < num_hmacs; i++) {1872 int num_hmacs; local[all …]
154 extern sctp_hmaclist_t *sctp_alloc_hmaclist(uint16_t num_hmacs);163 uint32_t num_hmacs);
7480 uint16_t num_hmacs; local7496 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]);7498 if (sctp_verify_hmac_param(hmacs, num_hmacs)) {7503 stcb->asoc.peer_hmacs = sctp_alloc_hmaclist(num_hmacs);7505 for (i = 0; i < num_hmacs; i++) {