Lines Matching refs:body_size
1229 size_t body_size; in parse_tag_1_packet() local
1271 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_1_packet()
1278 if (unlikely(body_size < (ECRYPTFS_SIG_SIZE + 2))) { in parse_tag_1_packet()
1279 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_1_packet()
1284 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1302 body_size - (ECRYPTFS_SIG_SIZE + 2); in parse_tag_1_packet()
1311 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); in parse_tag_1_packet()
1361 size_t body_size; in parse_tag_3_packet() local
1405 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_3_packet()
1412 if (unlikely(body_size < (ECRYPTFS_SALT_SIZE + 5))) { in parse_tag_3_packet()
1413 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_3_packet()
1418 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_3_packet()
1424 (body_size - (ECRYPTFS_SALT_SIZE + 5)); in parse_tag_3_packet()
1534 size_t body_size; in parse_tag_11_packet() local
1564 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_11_packet()
1570 if (body_size < 14) { in parse_tag_11_packet()
1571 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_11_packet()
1576 (*tag_11_contents_size) = (body_size - 14); in parse_tag_11_packet()
1577 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { in parse_tag_11_packet()