Searched refs:auth_hdr (Results 1 – 5 of 5) sorted by relevance
724 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac()725 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac()750 digest = auth->auth_hdr.hmac; in sctp_auth_calculate_hmac()
3994 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local4002 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() local4089 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()4098 &auth_hdr->hmac_id, in sctp_sf_eat_auth()[all …]
1265 struct sctp_authhdr auth_hdr; in sctp_make_auth() local1278 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()1279 auth_hdr.shkey_id = htons(asoc->active_key_id); in sctp_make_auth()1281 retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(sctp_authhdr_t), in sctp_make_auth()1282 &auth_hdr); in sctp_make_auth()
705 sctp_authhdr_t auth_hdr; member
592 struct sctp_authhdr *auth_hdr; member