summaryrefslogtreecommitdiffstats
path: root/secure/lib/libdes/des.doc
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-07-29 17:54:40 +0000
committermarkm <markm@FreeBSD.org>1996-07-29 17:54:40 +0000
commit9b57620710eb8677622acdaca23dd45010404927 (patch)
tree2d136cb35955c7f4632ea93831136151d882923e /secure/lib/libdes/des.doc
parent5313ba6bbed76bbe085937a5a042d87f2a5e601f (diff)
downloadFreeBSD-src-9b57620710eb8677622acdaca23dd45010404927.zip
FreeBSD-src-9b57620710eb8677622acdaca23dd45010404927.tar.gz
Rats. Just when a piece of code is nice and stable, the author has to
release an upgrade.
Diffstat (limited to 'secure/lib/libdes/des.doc')
-rw-r--r--secure/lib/libdes/des.doc14
1 files changed, 14 insertions, 0 deletions
diff --git a/secure/lib/libdes/des.doc b/secure/lib/libdes/des.doc
index ec3a4c1..e83907e 100644
--- a/secure/lib/libdes/des.doc
+++ b/secure/lib/libdes/des.doc
@@ -146,6 +146,20 @@ int enc);
des_cbc_encrypt accept that ivec is updates with the correct value
to pass in subsequent calls to des_ncbc_encrypt(). I advise using
des_ncbc_encrypt() instead of des_cbc_encrypt();
+
+void des_xcbc_encrypt(
+des_cblock *input,
+des_cblock *output,
+long length,
+des_key_schedule sk,
+des_cblock *ivec,
+des_cblock *inw,
+des_cblock *outw,
+int enc);
+ This is RSA's DESX mode of DES. It uses inw and outw to
+ 'whiten' the encryption. inw and outw are secret (unlike the iv)
+ and are as such, part of the key. So the key is sort of 24 bytes.
+ This is much better than cbc des.
void des_3cbc_encrypt(
des_cblock *input,
OpenPOWER on IntegriCloud