Home
last modified time | relevance | path

Searched refs:auth_hdr (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/net/sctp/
Dauth.c724 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()
Dsm_statefuns.c3994 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()
[all …]
Dsm_make_chunk.c1265 struct sctp_authhdr auth_hdr; in sctp_make_auth() local
1278 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()
/linux-4.4.14/include/linux/
Dsctp.h705 sctp_authhdr_t auth_hdr; member
/linux-4.4.14/include/net/sctp/
Dstructs.h592 struct sctp_authhdr *auth_hdr; member