Tarsnap / spiped

Spiped is a utility for creating symmetrically encrypted and authenticated pipes between socket addresses.
http://www.tarsnap.com/spiped.html
Other
855 stars 56 forks source link

standalone-enc cleanup #345

Closed gperciva closed 2 years ago

cperciva commented 2 years ago

BTW I can't remember if I've mentioned this before, but for static functions I'm generally ok with /* Single line comment */ rather than a full multi-line comment.

gperciva commented 2 years ago

Yeah, that's included in the STYLE. But I wanted to split that file into separate perftests (in the new #346), so having a full comment made it easier to copy&paste.

We also sometimes have multi-line comments for static functions, so I figured there was no harm in introducing them now even if you don't like the other PR.

cperciva commented 2 years ago

Ah, now I see the context. Yeah, splitting these into different files is good (and requires the multi-line comments anyway).