From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 11 Nov 1995 10:44:56 -0500 From: G. David Butler gdb@dbSystems.com Subject: /sys/src/libc/port/crypt.c Topicbox-Message-UUID: 33c0dbe6-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951111154456.NSQCAVAz5JS7ngKOi0yUnegTWLAimv9zi4GnZ99h3Bc@z> 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 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@dbSystems.com