Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/sctp/
A Dauth.c722 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac()
723 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac()
741 digest = auth->auth_hdr.hmac; in sctp_auth_calculate_hmac()
A Dsm_statefuns.c4353 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4360 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4361 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4362 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4373 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4385 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4396 digest = auth_hdr->hmac; in sctp_sf_authenticate()
4430 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4449 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
4458 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
[all …]
A Dsm_make_chunk.c1329 struct sctp_authhdr auth_hdr; in sctp_make_auth() local
1339 hmac_desc->hmac_len + sizeof(auth_hdr), in sctp_make_auth()
1344 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()
1345 auth_hdr.shkey_id = htons(key_id); in sctp_make_auth()
1347 retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr), in sctp_make_auth()
1348 &auth_hdr); in sctp_make_auth()
/linux-6.3-rc2/include/linux/
A Dsctp.h735 struct sctp_authhdr auth_hdr; member
/linux-6.3-rc2/include/net/sctp/
A Dstructs.h604 struct sctp_authhdr *auth_hdr; member

Completed in 29 milliseconds