Lines Matching refs:auth_hdr
4362 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4369 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4370 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4371 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4376 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4382 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4394 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4405 digest = (u8 *)(auth_hdr + 1); in sctp_sf_authenticate()
4439 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4458 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
4467 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
4489 if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) { in sctp_sf_eat_auth()
4492 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()