[botan-devel] Missing extern C function definitions

William K. Foster wkf at alum.mit.edu
Fri Apr 26 18:41:19 EDT 2013

Hello Jack,

We ran configure.py with --os=linux.

I see three directories:

   - serpent
   - serpent_simd
   - serpent_x86_32

Are these alternate implementations for different architectures?

If so, how can we force configure.py to use the plain 'serpent' since the
ASM definitions don't appear to be present at link time and I see no
assembly in that directory so I think it is likely to just work.



On Mon, Apr 22, 2013 at 9:21 AM, William K. Foster <wkf at alum.mit.edu> wrote:

> We are running inside Gentoo inside Interix, so Unix should be okay.
> On Mon, Apr 22, 2013 at 7:38 AM, Jack Lloyd <lloyd at randombit.net> wrote:
>> On Sun, Apr 21, 2013 at 01:18:37PM -0400, William K. Foster wrote:
>> ...
>> > void botan_serpent_x86_32_key_schedule(u32bit ks[140]);
>> > }
>> >
>> > But searching the code, I do not see where they should be defined.
>> >
>> > Where should these symbols be getting defined?  Is it in generated code?
>> These functions are written in x86 asm and are in
>> block/serpent_x86_32/serp_x86_32_imp.S which should be included in the
>> build if the rest of the sources in that directory are.
>> I'm not sure if you'd actually want to use this on Interix as it
>> assumes Unix C calling conventions. The asm sources are used only on
>> Linux, BSD, or Solaris targets for that reason. How did you run
>> configure.py?
>> Regards,
>>   Jack
>> _______________________________________________
>> botan-devel mailing list
>> botan-devel at randombit.net
>> http://lists.randombit.net/mailman/listinfo/botan-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20130426/763a21a7/attachment.html>

More information about the botan-devel mailing list