summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/tcfs/tcfs_cipher_conf.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2000-06-17 17:16:04 +0000
committerprovos <provos@openbsd.org>2000-06-17 17:16:04 +0000
commite992cbe461beb200ab4a608f15221ab77469ac6f (patch)
tree396d8bca32faf371a2a7330a5b07e23144b8f5d4 /sys/miscfs/tcfs/tcfs_cipher_conf.c
parentsome silly error repairs (diff)
downloadwireguard-openbsd-e992cbe461beb200ab4a608f15221ab77469ac6f.tar.xz
wireguard-openbsd-e992cbe461beb200ab4a608f15221ab77469ac6f.zip
initial import of tcfs.
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_cipher_conf.c')
-rw-r--r--sys/miscfs/tcfs/tcfs_cipher_conf.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/miscfs/tcfs/tcfs_cipher_conf.c b/sys/miscfs/tcfs/tcfs_cipher_conf.c
new file mode 100644
index 00000000000..bd86f8b2c00
--- /dev/null
+++ b/sys/miscfs/tcfs/tcfs_cipher_conf.c
@@ -0,0 +1,21 @@
+#include "tcfs_cipher.h"
+
+struct tcfs_cipher tcfs_cipher_vect[]={
+ {"3des",0,TDES_KEYSIZE,TDES_init_key,TDES_cleanup_key,
+ TDES_encrypt,TDES_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+ {"bfish",0,BLOWFISH_KEYSIZE,BLOWFISH_init_key,BLOWFISH_cleanup_key,
+ BLOWFISH_encrypt,BLOWFISH_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+ {"none",0,0,cnone_init_key,cnone_cleanup_key,
+ cnone_encrypt,cnone_decrypt},
+};
+