Home
last modified time | relevance | path

Searched refs:hmac_desc (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/sctp/
H A Dchunk.c187 struct sctp_hmac *hmac_desc = sctp_auth_asoc_get_hmac(asoc); in sctp_datamsg_from_user() local
189 if (hmac_desc) in sctp_datamsg_from_user()
191 hmac_desc->hmac_len); in sctp_datamsg_from_user()
H A Dsm_make_chunk.c1285 struct sctp_hmac *hmac_desc; in sctp_make_auth() local
1289 hmac_desc = sctp_auth_asoc_get_hmac(asoc); in sctp_make_auth()
1290 if (unlikely(!hmac_desc)) in sctp_make_auth()
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()
1305 skb_put_zero(retval->skb, hmac_desc->hmac_len); in sctp_make_auth()
1309 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
/kernel/linux/linux-6.6/net/sctp/
H A Dchunk.c187 struct sctp_hmac *hmac_desc = sctp_auth_asoc_get_hmac(asoc); in sctp_datamsg_from_user() local
189 if (hmac_desc) in sctp_datamsg_from_user()
191 hmac_desc->hmac_len); in sctp_datamsg_from_user()
H A Dsm_make_chunk.c1330 struct sctp_hmac *hmac_desc; in sctp_make_auth() local
1334 hmac_desc = sctp_auth_asoc_get_hmac(asoc); in sctp_make_auth()
1335 if (unlikely(!hmac_desc)) in sctp_make_auth()
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()
1350 skb_put_zero(retval->skb, hmac_desc->hmac_len); in sctp_make_auth()
1354 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()

Completed in 11 milliseconds