9fans archive / 1995 / 11 / 77 / prev next From: G. David Butler gdb@dbS... Subject: /sys/src/libc/port/crypt.c Date: Sat, 11 Nov 1995 10:44:56 -0500 Because of export restrictions, I assume, the source to the encrypt() and decrypt() functions (/sys/src/libc/port/crypt.c) are not on the CD-ROM. I have used the code base that Pace Willisson <pace@bli...> made available for authenication on UNIX to recreate crypt.c. Even though I was more careful using unsigned declarations throughout the code, I am concerned about character size problems. From what I can tell, the caller of encrypt/decrypt will handle the conversion of whatever to blocks of bytes for encryption, but is this sufficient? An added bonus is general purpose encryption in libc.a. This provides functionality to enable fast encrypted data streams. My idea is to encrypt all data on the wire. Am I being unreasonable? For a sanity check, are there any restrictions for routines in libc.a? One last question, is it possible to get the original code from Bell Labs if you are a US citizen? Thanks for your attention. David Butler gdb@dbS...