chiark
/
gitweb
/
~mdw
/
userv-utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -1,8 +1,11 @@
[userv-utils]
/
ipif
/
mech-blowfish.c
diff --git
a/ipif/mech-blowfish.c
b/ipif/mech-blowfish.c
index b1cb19222ef245780c81803aa841e984ff419529..40d1de24fcc39fa8d69ed7b71c98381a0419ed95 100644
(file)
--- a/
ipif/mech-blowfish.c
+++ b/
ipif/mech-blowfish.c
@@
-1,10
+1,12
@@
/*
* Blowfish mechanism for udp tunnel
*
/*
* 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
*
* 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
*/
* encoding: do CBC encryption overwriting message
* encoding for MAC: do CBC and prepend last ciphertext block
*/