Lines Matching refs:bodysize
1621 int headersize, bodysize; in sctp_pack_cookie() local
1629 bodysize = sizeof(struct sctp_cookie) in sctp_pack_cookie()
1635 if (bodysize % SCTP_COOKIE_MULTIPLE) in sctp_pack_cookie()
1636 bodysize += SCTP_COOKIE_MULTIPLE in sctp_pack_cookie()
1637 - (bodysize % SCTP_COOKIE_MULTIPLE); in sctp_pack_cookie()
1638 *cookie_len = headersize + bodysize; in sctp_pack_cookie()
1686 crypto_shash_digest(desc, (u8 *)&cookie->c, bodysize, in sctp_pack_cookie()
1710 int headersize, bodysize, fixed_size; in sctp_unpack_cookie() local
1725 bodysize = ntohs(chunk->chunk_hdr->length) - headersize; in sctp_unpack_cookie()
1737 if (bodysize % SCTP_COOKIE_MULTIPLE) in sctp_unpack_cookie()
1757 crypto_shash_digest(desc, (u8 *)bear_cookie, bodysize, in sctp_unpack_cookie()