Searched refs:hmacs (Results 1 – 4 of 4) sorted by relevance
/third_party/gstreamer/gstplugins_bad/ext/sctp/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) { 1402 struct sctp_auth_hmac_algo *hmacs = NULL; local 1444 hmacs = (struct sctp_auth_hmac_algo *)phdr; 1445 hmacs_len = plen - sizeof(*hmacs); 1446 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); 1453 ntohs(hmacs->hmac_ids[i])); 1485 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; 1505 if (hmacs != NULL) { 1506 memcpy(new_key->key + keylen, hmacs, [all …]
|
D | sctp_auth.h | 162 extern int sctp_verify_hmac_param(struct sctp_auth_hmac_algo *hmacs,
|
D | sctp_pcb.c | 7017 struct sctp_auth_hmac_algo *hmacs = NULL; local 7494 hmacs = (struct sctp_auth_hmac_algo *)phdr; 7495 hmacs_len = plen - sizeof(*hmacs); 7496 num_hmacs = hmacs_len / sizeof(hmacs->hmac_ids[0]); 7498 if (sctp_verify_hmac_param(hmacs, num_hmacs)) { 7507 ntohs(hmacs->hmac_ids[i])); 7637 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len; 7657 if (hmacs != NULL) { 7658 memcpy(new_key->key + keylen, hmacs, 7659 sizeof(*hmacs) + hmacs_len);
|
D | sctp_output.c | 5243 struct sctp_auth_hmac_algo *hmacs; local 5250 hmacs = (struct sctp_auth_hmac_algo *)(mtod(m, caddr_t) + chunk_len); 5253 hmacs->ph.param_type = htons(SCTP_HMAC_LIST); 5254 hmacs->ph.param_length = htons(parameter_len); 5255 sctp_serialize_hmaclist(stcb->asoc.local_hmacs, (uint8_t *)hmacs->hmac_ids); 6503 struct sctp_auth_hmac_algo *hmacs; local 6527 hmacs = (struct sctp_auth_hmac_algo *)(mtod(m, caddr_t) + chunk_len); 6530 (uint8_t *)hmacs->hmac_ids); 6531 hmacs->ph.param_type = htons(SCTP_HMAC_LIST); 6532 hmacs->ph.param_length = htons(parameter_len);
|