X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/userv-utils/blobdiff_plain/45fa312ed19a30259ba0ec3fb04d769c1f8f0263..75de0d4d3f7fa62c348fc613bedf296afa63530c:/ipif/mech-blowfish.c 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 */