summaryrefslogtreecommitdiff
path: root/man/2/keyring-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'man/2/keyring-crypt')
-rw-r--r--man/2/keyring-crypt21
1 files changed, 21 insertions, 0 deletions
diff --git a/man/2/keyring-crypt b/man/2/keyring-crypt
index a083e543..6a5be85e 100644
--- a/man/2/keyring-crypt
+++ b/man/2/keyring-crypt
@@ -15,6 +15,12 @@ aessetup: fn(key: array of byte, ivec: array of byte): ref AESstate;
aescbc: fn(state: ref AESstate, buf: array of byte,
n: int, direction: int);
+BFbsize: con 8;
+
+blowfishsetup: fn(key: array of byte, ivec: array of byte): ref BFstate;
+blowfishcbc: fn(state: ref BFstate, buf: array of byte,
+ n: int, direction: int);
+
DESbsize: con 8;
dessetup: fn(key: array of byte, ivec: array of byte): ref DESstate;
@@ -88,6 +94,21 @@ should be
bytes of random data: random enough to be unlikely to be reused but
not cryptographically strongly unpredictable.
.TP
+.B blowfish
+Bruce Schneier's symmetric block cipher.
+The
+.I key
+is any length from 4 to 56 bytes.
+.I Ivec
+if non-nil is
+.B BFbsize
+bytes of random data.
+For
+.BR blowfishcbc ,
+.I n
+must be a multiple of
+.BR BFbsize .
+.TP
.B des
The older Data Encryption Standard, DES.
.I Key