summaryrefslogtreecommitdiffstats
path: root/crypto/libdes/DES.pod
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-09-01 19:59:25 +0000
committermarkm <markm@FreeBSD.org>1999-09-01 19:59:25 +0000
commit145a94070b37cf8ad114e597055dce086b57d2f7 (patch)
treee9884e65d49b681471b6abea9516fed73d97951f /crypto/libdes/DES.pod
downloadFreeBSD-src-145a94070b37cf8ad114e597055dce086b57d2f7.zip
FreeBSD-src-145a94070b37cf8ad114e597055dce086b57d2f7.tar.gz
Drat. Import this into the right place. Pass me the pointy hat.
Diffstat (limited to 'crypto/libdes/DES.pod')
-rw-r--r--crypto/libdes/DES.pod16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/libdes/DES.pod b/crypto/libdes/DES.pod
new file mode 100644
index 0000000..8a739e7
--- /dev/null
+++ b/crypto/libdes/DES.pod
@@ -0,0 +1,16 @@
+crypt <= crypt(buf,salt)
+key <= set_odd_parity(key)
+int <= is_weak_key(key)
+keysched<= set_key(key)
+key <= ecb_encrypt(string8,ks,enc)
+key <= ecb3_encrypt(input,ks1,ks2,enc)
+string <= cbc_encrypt(input,ks,ivec,enc) => ivec
+string <= cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,enc) => ivec1&ivec2
+ck1,ck2 <= cbc_cksum(input,ks,ivec) => ivec
+string <= pcbc_encrypt(input,ks,ivec,enc) => ivec
+string <= ofb_encrypt(input,numbits,ks,ivec) => ivec
+string <= cfb_encrypt(input,numbits,ks,ivec,enc) => ivec
+key <= random_key()
+key <= string_to_key(string)
+key1,key2<= string_to_2keys(string)
+
OpenPOWER on IntegriCloud