Searched refs:hmacs (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_auth.c | 782 sctp_verify_hmac_param (struct sctp_auth_hmac_algo *hmacs, uint32_t num_hmacs) argument 787 if (ntohs(hmacs->hmac_ids[i]) == SCTP_AUTH_HMAC_ID_SHA1) { 1436 struct sctp_auth_hmac_algo *hmacs = NULL; local 1477 hmacs = (struct sctp_auth_hmac_algo *)phdr; 1478 hmacs_len = plen - sizeof(*hmacs); 1479 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); 1486 ntohs(hmacs->hmac_ids[i])); 1518 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; 1536 if (hmacs != NULL) { 1537 bcopy(hmacs, new_key->key + keylen, [all …]
|
D | sctp_auth.h | 160 extern int sctp_verify_hmac_param(struct sctp_auth_hmac_algo *hmacs,
|
D | sctp_pcb.c | 7096 struct sctp_auth_hmac_algo *hmacs = NULL; local 7545 hmacs = (struct sctp_auth_hmac_algo *)phdr; 7546 hmacs_len = plen - sizeof(*hmacs); 7547 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); 7549 if (sctp_verify_hmac_param(hmacs, num_hmacs)) { 7558 ntohs(hmacs->hmac_ids[i])); 7684 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; 7702 if (hmacs != NULL) { 7703 bcopy(hmacs, new_key->key + keylen, 7704 sizeof(*hmacs) + hmacs_len);
|
D | sctp_output.c | 5219 struct sctp_auth_hmac_algo *hmacs; local 5226 hmacs = (struct sctp_auth_hmac_algo *)(mtod(m, caddr_t) + chunk_len); 5229 hmacs->ph.param_type = htons(SCTP_HMAC_LIST); 5230 hmacs->ph.param_length = htons(parameter_len); 5231 sctp_serialize_hmaclist(stcb->asoc.local_hmacs, (uint8_t *)hmacs->hmac_ids); 6385 struct sctp_auth_hmac_algo *hmacs; local 6409 hmacs = (struct sctp_auth_hmac_algo *)(mtod(m, caddr_t) + chunk_len); 6412 (uint8_t *)hmacs->hmac_ids); 6413 hmacs->ph.param_type = htons(SCTP_HMAC_LIST); 6414 hmacs->ph.param_length = htons(parameter_len);
|