Searched refs:auth_hdr (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/net/sctp/ |
H A D | auth.c | 722 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 D | sm_statefuns.c | 4248 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 [all...] |
H A D | sm_make_chunk.c | 1284 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()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | auth.c | 722 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 = (u8 *)(&auth->auth_hdr + 1); in sctp_auth_calculate_hmac()
|
H A D | sm_statefuns.c | 4351 struct sctp_authhdr *auth_hdr; in sctp_sf_authenticate() local 4358 auth_hdr = (struct sctp_authhdr *)chunk->skb->data; in sctp_sf_authenticate() 4359 chunk->subh.auth_hdr = auth_hdr; in sctp_sf_authenticate() 4360 skb_pull(chunk->skb, sizeof(*auth_hdr)); in sctp_sf_authenticate() 4365 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate() 4371 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate() 4383 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate() 4394 digest = (u8 *)(auth_hdr + 1); in sctp_sf_authenticate() 4428 struct sctp_authhdr *auth_hdr; in sctp_sf_eat_auth() local [all...] |
H A D | sm_make_chunk.c | 1329 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | sctp.h | 726 struct sctp_authhdr auth_hdr; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | sctp.h | 735 struct sctp_authhdr auth_hdr; member
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | structs.h | 598 struct sctp_authhdr *auth_hdr; member
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | structs.h | 604 struct sctp_authhdr *auth_hdr; member
|
Completed in 35 milliseconds