Home
last modified time | relevance | path

Searched refs:num_hmacs (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_auth.c636 sctp_alloc_hmaclist(uint8_t num_hmacs) in sctp_alloc_hmaclist() argument
641 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) argument
786 for (i = 0; i < num_hmacs; i++) {
1467 int num_hmacs; local
1479 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 …]
Dsctp_auth.h152 extern sctp_hmaclist_t *sctp_alloc_hmaclist(uint8_t num_hmacs);
161 uint32_t num_hmacs);
Dsctp_pcb.c7531 int num_hmacs; local
7547 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++) {