summaryrefslogtreecommitdiff
path: root/src/experimental/cipher.h (follow)
AgeCommit message (Collapse)Author
2012-08-28Loads of win32 compilation issues fixed. Most are fairly minor unsigned/signedMike Buland
mismatches because of socket handles, but there were also some order-of-definition issues that were fixed in the FD_SETSIZE definition code. Fixed a few things that just never worked on windows, like Bu::Thread::yield().
2012-06-20Whew, the cipher was writing blocks at close when no data had been written yet.Mike Buland
It only caused a problem when you stopped part way through reading something.
2012-06-16Minor tweak to blowfish, it now flushes correctly on close, which makes stackingMike Buland
work better.
2012-06-16Cipher will fill with zeros when flushed. There seems to be some oddMike Buland
interaction still, here and there. I'll see if I can track it down.
2012-05-04Minor changes, mostly comments.Mike Buland
2012-05-03The cipher base class does nice buffering now based on the blocksize. ThisMike Buland
means that you can write odd numbers of bytes or read odd numbers of bytes from/to the ciphers and it'll just buffer until it gets a full block. Next up is adding padding support. Right now it doesn't flush the buffers with padding if you don't fill the last block. For that matter, it doesn't do any padding at all.
2012-04-10Rearranged the Cipher system, and added four modes of operation. It's prettyMike Buland
slick, really, and we actually support four of the most common modes. Blowfish is still a template, but it doesn't really need to be anymore...
2012-04-09Halfway through crypto-template conversion.Mike Buland
2012-04-09Blowfish works in it's new split form, which will make it much easier to addMike Buland
other types of ciphers down the road, should we choose to.