"Rafael R. Sevilla" <[EMAIL PROTECTED]> writes:

> I've been trying to hack lsh so as to add support for several more
> encryption algorithms: Rijndael and Serpent, but I'm not sure how this is
> supposed to be done.  I've already added the functions and headers to
> src/symmetric and am trying to create a driver inside src/, patterning it
> after the twofish driver.  But something's not right.  It's not recognized
> by the new lsh executable that appears.  What am I missing?

Sorry I didn't notice this message earlier. At least it seems that you
have sorted it out by now.

The idea is to keep the low-level implementation code in
src/symmetric, which should be fairly independent from lsh (when I
started lsh, I copied most of this subdirectory from
pike/src/modules/_Crypto/lib, and it should be doable to package it up
as a separate library to be used by lsh, pike, or any other
environment that needs it).

Above this, there are lsh object wrappers in src/, like src/des.c.

And finally, the objects have to be instantiated and used by the lsh
programs. The list of default algorithms etc is located in
algorithms.c.

> I then tried doing 'make maintainer-clean', so I could rebuild everything
> using make_am, aclocal, autoconf, autoheader, and automake -a.  autoconf
> comes up with a lot of baffling errors which I don't understand.

That's strange; you're environment sounds sane to me. config.log might
provide some clues with problems like this. I would guess that the
configure script fails to figure out how to call your C compiler
properly; that should cause all kinds of errors in later tests.

/Niels

Reply via email to