X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=ipif%2Fmech-blowfish.c;fp=ipif%2Fmech-blowfish.c;h=40d1de24fcc39fa8d69ed7b71c98381a0419ed95;hb=5124214b2f9f6c40ac43ca9044a6b82eedd48b71;hp=b1cb19222ef245780c81803aa841e984ff419529;hpb=5edd18879555ca5e6c7017703f777fd7c9f1300b;p=userv-utils.git 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 */