Lines Matching refs:auth_hdr
4207 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4214 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4215 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4216 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4221 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4227 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4239 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4250 digest = auth_hdr->hmac; in sctp_sf_authenticate()
4284 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4303 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
4312 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
4334 if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) { in sctp_sf_eat_auth()
4337 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()