Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Dauth.c630 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac()
631 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac()
645 digest = (u8 *)(&auth->auth_hdr + 1); in sctp_auth_calculate_hmac()
H A Dsm_statefuns.c4371 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate()
4378 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4379 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4380 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4385 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4391 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4403 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4414 digest = (u8 *)(auth_hdr + 1); in sctp_sf_authenticate()
4448 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth()
4366 struct sctp_authhdr *auth_hdr; sctp_sf_authenticate() local
4443 struct sctp_authhdr *auth_hdr; sctp_sf_eat_auth() local
[all...]
H A Dsm_make_chunk.c1321 struct sctp_authhdr auth_hdr; in sctp_make_auth() local
1331 hmac_desc->hmac_len + sizeof(auth_hdr), in sctp_make_auth()
1336 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()
1337 auth_hdr.shkey_id = htons(key_id); in sctp_make_auth()
1339 retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr), in sctp_make_auth()
1340 &auth_hdr); in sctp_make_auth()
/linux/include/linux/
H A Dsctp.h733 struct sctp_authhdr auth_hdr; member