Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/sctp/
H 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()
H A Dsm_statefuns.c4248 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local
4255 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate()
4256 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate()
4257 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate()
4262 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4268 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4280 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4291 digest = auth_hdr->hmac; in sctp_sf_authenticate()
4325 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local
4344 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_eat_auth()
[all …]
H A Dsm_make_chunk.c1284 struct sctp_authhdr auth_hdr; in sctp_make_auth() local
1294 hmac_desc->hmac_len + sizeof(auth_hdr), in sctp_make_auth()
1299 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()
1300 auth_hdr.shkey_id = htons(key_id); in sctp_make_auth()
1302 retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr), in sctp_make_auth()
1303 &auth_hdr); in sctp_make_auth()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsctp.h726 struct sctp_authhdr auth_hdr; member
/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dstructs.h598 struct sctp_authhdr *auth_hdr; member