Can you share the code that you found, a link to it, or at least a hint as
to which search engine you found it on?

On Feb 5, 2008 8:01 PM, David Schwartz <[EMAIL PROTECTED]> wrote:

>
>
> > The source for incremental_send isn't in the book anywhere
> > that I've seen.
>
> Well then that explains the problem. You are calling a function that does
> not exist.
>
> > I'm using the first edition (June 2002).
> > My code does call incremental_send,
> > and the code I'm trying to compile is the example code provided in the
> > book itself (in chapter 6 - see example 6-4).
>
> I don't have your book, but I found similar example code online that calls
> "incremental_send" and it always includes the actual code for
> "incremental_send".
>
> > The book provides the code for incremental_encrypt as well as
> > incremental_finish, so my assumption is that it is a method
> > included in the bowels of the libraries provided.
>
> If that were true, it would show that you are going the wrong way. You
> should be using OpenSSL's documented interface, not functions deep in its
> bowels.
>
> > Are you saying that this is a method that I must construct myself?
>
> Yes.
>
> > The book doesn't say that, so my assumption is that it is provided.
>
> I don't have the book you have, but every example I was able to find
> online
> that called "incremental_send" included an implementation of it. This is
> one
> example:
>
> http://www.cs.odu.edu/~cs772/sourcecode/NSwO/compiled/encdec.c<http://www.cs.odu.edu/%7Ecs772/sourcecode/NSwO/compiled/encdec.c>
>
> I think the correct assumption is that the example *assumes* you have
> coded
> an "incremental_send" function and is intended to demonstrate the plumbing
> between OpenSSL's encryption/decryption engine and an incremental transmit
> function.
>
> This is strongly implied by the excerpt of the book I was able to find on
> Amazon. This is intended to demonstrate an encryption/decryption
> implementation as a stream filter. It assumes the data comes from
> someplace,
> gets encrypted or decrypted, and then goes someplace else. The
> "incremental_send" function is intended to be the "goes someplace else"
> function.
>
> DS
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>

Reply via email to