X-Git-Url: https://git.distorted.org.uk/~mdw/userv-utils/blobdiff_plain/f0e54a9987423f0f5939b961fa10ab4ca7a2c406..99d1b3be1fa96c22212b8940aa2e8607bad1803b:/ipif/mech-blowfish.c?ds=sidebyside diff --git a/ipif/mech-blowfish.c b/ipif/mech-blowfish.c index b1cb192..40d1de2 100644 --- a/ipif/mech-blowfish.c +++ b/ipif/mech-blowfish.c @@ -1,10 +1,12 @@ /* * Blowfish mechanism for udp tunnel * + * mechanisms: blowfish-cbc, blowfish-cbcmac * arguments: key size in bits (must be multiple of 8) * * key values: 8 byte random IV and n byte random key * + * restrictions: plaintext length must be multiple of block size (8 bytes) * encoding: do CBC encryption overwriting message * encoding for MAC: do CBC and prepend last ciphertext block */