Searched refs:hmac_desc (Results 1 – 2 of 2) sorted by relevance
187 const struct sctp_hmac *hmac_desc = in sctp_datamsg_from_user() local190 if (hmac_desc) in sctp_datamsg_from_user()192 hmac_desc->hmac_len); in sctp_datamsg_from_user()
1322 const struct sctp_hmac *hmac_desc; in sctp_make_auth() local1326 hmac_desc = sctp_auth_asoc_get_hmac(asoc); in sctp_make_auth()1327 if (unlikely(!hmac_desc)) in sctp_make_auth()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()1342 skb_put_zero(retval->skb, hmac_desc->hmac_len); in sctp_make_auth()1346 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()