Lines Matching refs:auth_hdr
3994 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4002 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4003 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4009 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4015 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4024 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4035 digest = auth_hdr->hmac; in sctp_sf_authenticate()
4069 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4089 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
4098 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
4120 if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) { in sctp_sf_eat_auth()
4123 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()