Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 09:39:48 -0800
From:      "Ptacek" <ptacek@dashmail.net>
To:        "Kris Kennaway" <kris@hub.freebsd.org>
Cc:        <freebsd-questions@FreeBSD.ORG>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: DES routines?
Message-ID:  <037901bf4d6c$b5db0620$502124d8@Ptacek>
References:  <Pine.BSF.4.21.9912230749110.76185-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes.  I have to interface to an existing system that is encrypting its data
using the
ECB format.  Thanks for the info, by the way I found the ecb_crypt by doing
a
man des_crypt.

  Thanks,
    Chris
----- Original Message -----
From: Kris Kennaway <kris@hub.freebsd.org>
To: Ptacek <ptacek@dashmail.net>
Cc: <freebsd-questions@FreeBSD.ORG>; <freebsd-hackers@FreeBSD.ORG>
Sent: Thursday, December 23, 1999 8:00 AM
Subject: Re: DES routines?


> On Sun, 19 Dec 1999, Ptacek wrote:
>
> > I am looking for some routines to perform DES encryption in electronic
code
> > book mode.
>
> I assume you have some reason for wanting ECB, and not the usual (more
> secure) CBC mode..
>
> > I have found the ecb_cyrpt function, however when I try and use it the
> > buffer is not encrypted.
> > Am I missing something, do these functions not work, and is there a
better
> > way of doing this?
>
> Hmm..I can't find any documentation (manpages) on ecb_crypt, which
> suggests it's a deprecated interface. You should use the des_ecb_encrypt
> function and related calls as described in that manpage, as these are the
> "standard FreeBSD API". Note the different calling syntax.
>
> Kris
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037901bf4d6c$b5db0620$502124d8>