Lines Matching refs:auth_hdr
4347 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4354 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4355 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4356 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4361 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4367 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4379 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4390 digest = auth_hdr->hmac; in sctp_sf_authenticate()
4424 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4443 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
4452 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
4474 if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) { in sctp_sf_eat_auth()
4477 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()